Fix: --- libc++.diff begins here --- How-To-Repeat: $ make [...] CXX gstrtod.lo clang++: warning: argument unused during compilation: '-fno-check-new' In file included from gstrtod.cc:27: /usr/include/c++/v1/cstdlib:96:9: error: no member named 'lldiv_t' in the global namespace using ::lldiv_t; ~~^ /usr/include/c++/v1/cstdlib:100:9: error: no member named 'atoll' in the global namespace using ::atoll; ~~^ /usr/include/c++/v1/cstdlib:105:9: error: no member named 'strtoll' in the global namespace using ::strtoll; ~~^ /usr/include/c++/v1/cstdlib:107:9: error: no member named 'strtoull' in the global namespace using ::strtoull; ~~^ /usr/include/c++/v1/cstdlib:124:9: error: no member named 'llabs' in the global namespace using ::llabs; ~~^ /usr/include/c++/v1/cstdlib:127:9: error: no member named 'lldiv' in the global namespace using ::lldiv; ~~^ /usr/include/c++/v1/cstdlib:136:71: error: use of undeclared identifier 'llabs'; did you mean 'labs'? inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) {return llabs(__x);} ^~~~~ labs /usr/include/stdlib.h:92:7: note: 'labs' declared here long labs(long) __pure2; ^ In file included from gstrtod.cc:27: /usr/include/c++/v1/cstdlib:139:34: error: unknown type name 'lldiv_t'; did you mean 'ldiv_t'? inline _LIBCPP_INLINE_VISIBILITY lldiv_t div(long long __x, long long __y) {return lldiv(__x, __y);} ^~~~~~~ ldiv_t /usr/include/stdlib.h:67:3: note: 'ldiv_t' declared here } ldiv_t; ^ In file included from gstrtod.cc:27: /usr/include/c++/v1/cstdlib:139:84: error: use of undeclared identifier 'lldiv'; did you mean 'ldiv'? inline _LIBCPP_INLINE_VISIBILITY lldiv_t div(long long __x, long long __y) {return lldiv(__x, __y);} ^~~~~ ldiv /usr/include/stdlib.h:93:9: note: 'ldiv' declared here ldiv_t ldiv(long, long) __pure2; ^ 9 errors generated. gmake[2]: *** [gstrtod.lo] Error 1 gmake[2]: Leaving directory `/usr/ports/graphics/poppler/work/poppler-0.18.0/goo' gmake[1]: *** [all-recursive] Error 1
Responsible Changed From-To: freebsd-ports-bugs->gnome Over to maintainer (via the GNATS Auto Assign Tool)
mezz 2012-03-14 15:27:44 UTC FreeBSD ports repository Modified files: graphics/poppler Makefile Log: Fix the build with clang. PR: ports/163443 Submitted by: Jan Beich <jbeich@tormail.net> Feature safe: yes Revision Changes Path 1.67 +3 -0 ports/graphics/poppler/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks!