why MinGW and vs2017 failed, but vs2022 success
baiqinglun opened this issue · 0 comments
baiqinglun commented
Bug category
- [ x ] bug - compilation error
- bug - compilation warning
- bug - runtime error
- bug - runtime warning
- bug - logic error
Describe the bug
I succeeded when I compiled with vs2022, but failed with vs2017 and mingw.
Steps to Reproduce
# Your steps go here
vscode build tool
click [gcc/vs2017 Release/ vs2022 Release]
click [CMake Release]
[Build]
[run]
cmake .. <options> -DCMAKE_BUILD_TYPE=Release
Output
# The output you got
vs2017 Error
![image](https://user-images.githubusercontent.com/72600300/236357400-ef2102cb-b63a-4e24-bd76-0bf5ee9e5b3a.png)
mingw(gcc12.2) error
![image](https://user-images.githubusercontent.com/72600300/236357529-08f7c81c-4da2-40d5-bea8-f377bc441812.png)
Platform
- cross-platform issue - linux
- [ x ] cross-platform issue - windows
- cross-platform issue - macos
Environment Details:
- OS:
- OS Version:
- Compiler:
- Compiler version:
Additional context