id summary reporter owner description type status priority milestone component version resolution keywords cc port 42763 Coin 3d fix patch for clang l1q1d@… cssdev "To fix this issue: {{{ In file included from base/SbTime.cpp:42: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:676:86: error: use of undeclared identifier 'NO_SINGLEPREC' inline _LIBCPP_INLINE_VISIBILITY float acos(float __x) _NOEXCEPT {return acosf(__x);} ^ ../include/Inventor/C/base/math-undefs.h:54:18: note: expanded from macro 'acosf' #define acosf(x) NO_SINGLEPREC ^ In file included from base/all-base-cpp.cpp:57: In file included from base/SbTime.cpp:42: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:691:86: error: use of undeclared identifier 'NO_SINGLEPREC' inline _LIBCPP_INLINE_VISIBILITY float asin(float __x) _NOEXCEPT {return asinf(__x);} ^ ../include/Inventor/C/base/math-undefs.h:56:18: note: expanded from macro 'asinf' #define asinf(x) NO_SINGLEPREC ^ In file included from base/all-base-cpp.cpp:57: In file included from base/SbTime.cpp:42: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:706:86: error: use of undeclared identifier 'NO_SINGLEPREC' inline _LIBCPP_INLINE_VISIBILITY float atan(float __x) _NOEXCEPT {return atanf(__x);} ^ ../include/Inventor/C/base/math-undefs.h:58:18: note: expanded from macro 'atanf' #define atanf(x) NO_SINGLEPREC ^ In file included from base/all-base-cpp.cpp:57: In file included from base/SbTime.cpp:42: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:721:116: error: too many arguments provided to function-like macro invocation inline _LIBCPP_INLINE_VISIBILITY float atan2(float __y, float __x) _NOEXCEPT {return atan2f(__y, __x);} ^ ../include/Inventor/C/base/math-undefs.h:60:9: note: macro 'atan2f' defined here #define atan2f(x) NO_SINGLEPREC ^ In file included from base/all-base-cpp.cpp:57: In file included from base/SbTime.cpp:42: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:721:104: error: cannot initialize return object of type 'float' with an lvalue of type 'float (float, float)' inline _LIBCPP_INLINE_VISIBILITY float atan2(float __y, float __x) _NOEXCEPT {return atan2f(__y, __x);} ^~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:762:85: error: use of undeclared identifier 'NO_SINGLEPREC' inline _LIBCPP_INLINE_VISIBILITY float cos(float __x) _NOEXCEPT {return cosf(__x);} ^ ../include/Inventor/C/base/math-undefs.h:44:17: note: expanded from macro 'cosf' #define cosf(x) NO_SINGLEPREC /* whatever that'll give us a compile error... */ ^ In file included from base/all-base-cpp.cpp:57: In file included from base/SbTime.cpp:42: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:946:112: error: too many arguments provided to function-like macro invocation inline _LIBCPP_INLINE_VISIBILITY float pow(float __x, float __y) _NOEXCEPT {return powf(__x, __y);} ^ ../include/Inventor/C/base/math-undefs.h:50:9: note: macro 'powf' defined here #define powf(x) NO_SINGLEPREC ^ In file included from base/all-base-cpp.cpp:57: In file included from base/SbTime.cpp:42: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:946:102: error: cannot initialize return object of type 'float' with an lvalue of type 'float (float, float)' inline _LIBCPP_INLINE_VISIBILITY float pow(float __x, float __y) _NOEXCEPT {return powf(__x, __y);} ^~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:973:85: error: use of undeclared identifier 'NO_SINGLEPREC' inline _LIBCPP_INLINE_VISIBILITY float sin(float __x) _NOEXCEPT {return sinf(__x);} ^ ../include/Inventor/C/base/math-undefs.h:46:17: note: expanded from macro 'sinf' #define sinf(x) NO_SINGLEPREC ^ In file included from base/all-base-cpp.cpp:57: In file included from base/SbTime.cpp:42: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:1005:86: error: use of undeclared identifier 'NO_SINGLEPREC' inline _LIBCPP_INLINE_VISIBILITY float sqrt(float __x) _NOEXCEPT {return sqrtf(__x);} ^ ../include/Inventor/C/base/math-undefs.h:52:18: note: expanded from macro 'sqrtf' #define sqrtf(x) NO_SINGLEPREC ^ In file included from base/all-base-cpp.cpp:57: In file included from base/SbTime.cpp:42: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:1021:85: error: use of undeclared identifier 'NO_SINGLEPREC' inline _LIBCPP_INLINE_VISIBILITY float tan(float __x) _NOEXCEPT {return tanf(__x);} ^ ../include/Inventor/C/base/math-undefs.h:48:17: note: expanded from macro 'tanf' #define tanf(x) NO_SINGLEPREC ^ In file included from engines/all-engines-cpp.cpp:34: In file included from engines/SoConvertAll.cpp:48: ../src/misc/SbHash.h:370:39: warning: unused parameter 'obj' [-Wunused-parameter] void operator()(Key & key, Type & obj, SbList * list) { ^ In file included from base/all-base-cpp.cpp:96: base/string.cpp:108:12: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] me->bufsize, me->pointer, me->buffer, newsize); ^~~~~~~~~~~ base/string.cpp:108:50: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] me->bufsize, me->pointer, me->buffer, newsize); ^~~~~~~ 2 warnings and 11 errors generated. make[4]: *** [all-base-cpp.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... }}} I created the submitted patch" defect closed Normal ports 2.2.1 duplicate haspatch Coin