Hello people, 

I saw this kind of errors quite often lately around. But this times I’m hitting 
this with a local project, not a port in Macports. A project that used to build 
correctly with Xcode 10, now it seems to miss stuff in <cmath> header.

ninja -j 1
[1/48] Building CXX object src/libs/CMakeFiles/Mercurve.dir/BlockMerger.cxx.o
FAILED: src/libs/CMakeFiles/Mercurve.dir/BlockMerger.cxx.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
  -DMercurve_EXPORTS -I../src/libs -isystem /opt/local/include/vtk-8.1 -isystem 
/opt/local/include -isystem /opt/local/include/mpich-mp -isystem 
/opt/local/include/libxml2 -g -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
 -mmacosx-version-min=10.14 -fPIC   -Wall -Wno-long-long -pedantic 
-fcolor-diagnostics -std=gnu++11 -MD -MT 
src/libs/CMakeFiles/Mercurve.dir/BlockMerger.cxx.o -MF 
src/libs/CMakeFiles/Mercurve.dir/BlockMerger.cxx.o.d -o 
src/libs/CMakeFiles/Mercurve.dir/BlockMerger.cxx.o -c 
../src/libs/BlockMerger.cxx
In file included from ../src/libs/BlockMerger.cxx:21:
In file included from ../src/libs/BlockMerger.h:28:
In file included from ../src/libs/types.h:25:
In file included from 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/unordered_set:363:
In file included from 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__hash_table:19:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:314:9:
 error: no member named 'signbit' in the global namespace
[…]

I read a bit the tickets of other ports, but they don’t fit exactly with what I 
have. Any fast hint? Do I need to downgrade Xcode?

          _   
-.     .´  |∞∞∞∞
  ',  ;    |∞∞∞∞∞∞
    ˜˜     |∞∞∞∞∞∞∞∞∞ RdB
    ,.,    |∞∞∞∞∞∞
  .'   '.  |∞∞∞∞
-'       `’

https://rdb.is

Attachment: signature.asc
Description: Message signed with OpenPGP using AMPGpg

Reply via email to