-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cmake warning #37
Comments
I think it is necessary to define the same macros as in the if and else if branches. Even if you don’t use another compiler than Visual Studio, gcc or clang today, it would be a shame to halt the compilation on another compiler just because you didn’t define the macros for it. Or perhaps you don’t want your code to run on a compiler you don’t officially support. In any case, if this is what you want then a better option is to write somewhere else some specific macro-code to prevent the code from compile on non-supported compilers. #if defined(_MSC_VER)
#elif defined(GNUC) || defined(clang)
// other warnings you want to deactivate... #else #endif |
Hi! Who are you? And how are these macros related to removing an undefined symbol? Thanks! |
@hermantrym Smeagle uses Dyninst, and Dyninst doesn't work on 64-bit Windows. There's no need to support MSVC here. @vsoch |
Fixed with #38 |
Just noticed a cmake warning that we have an un-used variable:
Should be pretty easy to fix.
The text was updated successfully, but these errors were encountered: