[Bug 193598] devel/gdb fails to build with clang
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Sep 22 15:24:44 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193598
--- Comment #4 from luca.pizzamiglio at gmail.com ---
It seems that something in the preprocessing phase of your build gets wrong,
but I still cannot reproduce your error (I cannot revers my CURRENT)
The macro ATTRIBUTE_RETURNS_NONNULL should be defined as an empty string.
You could find that definition in include/ansidecl.h
I suggest:
* clang-cpp'ing this http://paste.kde.org/p02trki1d
* update the CURRENT to r271779 (llvm/clang receives again some love)
* MAKE_JOBS_UNSAFE=yes (I don't expect any luck, only if you have time)
The first point is the most important one. It tests the clang-cpp (the clang
preprocessor) against the GCC_VERSION macro.
The macro ATTRIBUTE_RETURNS_NONNULL has to be an empty string. On my system I
get:
warning: ATTRIBUTE_RETURNS_NONNULL not defined
warning: GCC_VERSION smaller than 4009
as expected.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list