We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
libclang_parser
Can't compile cppast using MS VC++ compiler versions: 19.16, 19.21, 19.22.
Input flags: cmake -B build -S. -GNinja -DCMAKE_BUILD_TYPE=Release -DLIBCLANG_LIBRARY=F:\llvm8\lib\libclang.lib Output:
cmake -B build -S. -GNinja -DCMAKE_BUILD_TYPE=Release -DLIBCLANG_LIBRARY=F:\llvm8\lib\libclang.lib
\cppast\external\type_safe\external\debug_assert\debug_assert.hpp(245) : error C2220: warning treated as error - no 'object' file generated \cppast\external\type_safe\external\debug_assert\debug_assert.hpp(245) : warning C4702: unreachable code
It's not really related to cppast, but flag /WX affected cppast compilation.
/WX
The text was updated successfully, but these errors were encountered:
Same problem here. CMAKE_BUILD_TYPE Debug seems to work for me but the others fail.
Sorry, something went wrong.
Had the same problem recently, it's a speculation, but I think it is due to a lack of -DDEBUG_ASSERT_DISABLE in release builds. Hope that's useful.
-DDEBUG_ASSERT_DISABLE
Same problem
Fixed with /WX- options
No branches or pull requests
libclang_parser
Can't compile cppast using MS VC++ compiler versions: 19.16, 19.21, 19.22.
Input flags:
cmake -B build -S. -GNinja -DCMAKE_BUILD_TYPE=Release -DLIBCLANG_LIBRARY=F:\llvm8\lib\libclang.lib
Output:
It's not really related to cppast, but flag
/WX
affected cppast compilation.The text was updated successfully, but these errors were encountered: