XCode 11 on Mojave problem, again
Ruben Di Battista
rubendibattista at gmail.com
Fri Nov 8 14:27:52 UTC 2019
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20191108/54ef7963/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP using AMPGpg
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20191108/54ef7963/attachment.sig>
More information about the macports-users
mailing list