-
Notifications
You must be signed in to change notification settings - Fork 1.5k
added CMake option USE_INT128
and support built-in __int128
/ some compilation fixes
#7840
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
base: main
Are you sure you want to change the base?
Conversation
See also #7833 (comment). Using |
if(USE_INT128 AND USE_BOOST_INT128) | ||
add_definitions(-DHAVE_BOOST_INT128) | ||
endif() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the logic around USE_BOOST_INT128
is flawed . On
is supposed to force the usage of Boost and Auto
should provide a fallback to Boost if no built-in type exists but Boost is enabled (i.e. Visual Studio).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm.. how about:
VALUEFLOW_INT128=no
VALUEFLOW_INT128=gcc
VALUEFLOW_INT128=boost
?
8cea4f1
to
9e1502e
Compare
|
I filed https://trac.cppcheck.net/ticket/14154 about that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.