Catalina C : "No Member Named 'signbit' in Global Namespace" Error
When compiling a C program using
error: no member named 'signbit' in the global namespace
This issue arises when the compiler cannot locate the correct
To resolve this problem, one must ensure that the compiler is pointed to the appropriate SDKheaders.
Solution
set(CMAKE_CXX_FLAGS "[...] -isysroot /sdk/path")
where /sdk/path is the SDK path obtained from xcrun.
Additionally, disabling System Integrity Protection (SIP) may also resolve the issue.
The above is the detailed content of Why Am I Getting the 'No Member Named 'signbit' in Global Namespace' Error in Catalina C ?. For more information, please follow other related articles on the PHP Chinese website!