-
Notifications
You must be signed in to change notification settings - Fork 203
add feature detection macros MP_DEFINED and MP_HAS #214
New issue
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
Conversation
additionally, make bn_mp_mul private
@karel-m can you please try this out on your various compilers? |
and most importantly, please also try it out with the following patch
compiling it with and check that the libraries created are different @minad |
1/ gcc 7.4.0 - Target: x86_64-pc-cygwin (the following warning does not appear with
|
2/ HP-UX + C compiler by HP
|
3/ AIX + IBM XL C compiler
|
4/ pretty old gcc 3.4.4
|
5/ Visual Studio 2017
|
All from me for now. |
Hmm, I think this requires C99. One could also try the GCC variadic argument extension |
Enable together with Wconversion warnings in #204 with -Wno-system-headers!
@sjaeckel What is your opinion about this? |
additionally, make bn_mp_mul private