-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fixed #14158 - Disable the use of getloadavg()
, my_fpe()
, feenableexcept()
and -rdynamic
in AIX
#7856
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
Thanks for your contribution. Could you also verify that a |
getloadavg()
, my_fpe()
, feenableexcept()
and -rdynamic
in AIX
Side note for future cleanup: there is https://cmake.org/cmake/help/latest/module/CheckLinkerFlag.html which allows us to check if a linker option is available - but it was only added in CMake 3.18. |
Oh, and please add the name you want to be credited with to the |
getloadavg()
, my_fpe()
, feenableexcept()
and -rdynamic
in AIXgetloadavg()
, my_fpe()
, feenableexcept()
and -rdynamic
in AIX
I have made the requested changes. |
|
It looks good to me but I would like approval from @firewave also |
What error are you referring to? |
The compilation fails with the error |
Strange. I did some tests and |
The shortcoming is being addressed by an external submission: #7877 |
#7877 has been merged.. does |
In AIX, getloadavg, feenableexcept and my_fpe are not available. In addition, -rdynamic flag is not supported. This results in compilation errors in AIX and this patch fixes it.
For more information please refer the discussion : https://sourceforge.net/p/cppcheck/discussion/development/thread/f7bad36f1f/