Replies: 1 comment 2 replies
-
Hi @marlowa! Thanks for posting this, it will be fixed in the next release! The commit just after the 0.3.1 tag fixes this, 56b50d2, if you'd like to get the fix sooner :) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think that a recent change for MVC has introduced compiler warnings when that compiler is not in use, e.g. on linux.
Here is the output I see:
/home/marlowa/mystuff/cpptrace-stuff/cpptrace-0.3.1/src/symbols/../binary/../utils/utils.hpp:368:13: warning: "_MSC_VER" is not defined, evaluates to 0 [-Wundef]
368 | #if _MSC_VER != 1938
| ^~~~~~~~
/home/marlowa/mystuff/cpptrace-stuff/cpptrace-0.3.1/src/symbols/../binary/../utils/utils.hpp:418:13: warning: "_MSC_VER" is not defined, evaluates to 0 [-Wundef]
418 | #if _MSC_VER != 1938
| ^~~~~~~~
[ 89%] Building CXX object CMakeFiles/cpptrace-lib.dir/src/symbols/symbols_with_nothing.cpp.o
[ 90%] Building CXX object CMakeFiles/cpptrace-lib.dir/src/symbols/symbols_core.cpp.o
In file included from /home/marlowa/mystuff/cpptrace-stuff/cpptrace-0.3.1/src/symbols/../binary/object.hpp:5,
from /home/marlowa/mystuff/cpptrace-stuff/cpptrace-0.3.1/src/symbols/symbols.hpp:9,
from /home/marlowa/mystuff/cpptrace-stuff/cpptrace-0.3.1/src/symbols/symbols_core.cpp:1:
/home/marlowa/mystuff/cpptrace-stuff/cpptrace-0.3.1/src/symbols/../binary/../utils/utils.hpp:368:13: warning: "_MSC_VER" is not defined, evaluates to 0 [-Wundef]
368 | #if _MSC_VER != 1938
| ^~~~~~~~
/home/marlowa/mystuff/cpptrace-stuff/cpptrace-0.3.1/src/symbols/../binary/../utils/utils.hpp:418:13: warning: "_MSC_VER" is not defined, evaluates to 0 [-Wundef]
418 | #if _MSC_VER != 1938
| ^~~~~~~~
Beta Was this translation helpful? Give feedback.
All reactions