On 24 Mar 2014, at 22:32, Mark R V Murray <ma...@freebsd.org> wrote:
> 
> On 24 Mar 2014, at 15:34, pizzamig <luca.pizzamig...@gmail.com> wrote:
>> I've already got a report about that, but I'm on holiday, without a CURRENT 
>> system, I cannot work on it right now...
>> I guess CURRENT has a new clang version…
> 
> Yup! It’s Clang v3.4. I’ve done a local dirty fix of ‘CFLAGS+=-Wno-error’ in 
> the Port Makefile. I suspect it will need rather more than this to cover all 
> the CLANG and GCC versions that are around.

IMHO it is fairly ridiculous the port is compiled with -Werror.  If we
were gdb developers, I could understand, but for contributed software it
does not make much sense.  Maybe the maintainer can apply the following
patch, which I have literally had for years in my ports tree now.

Index: devel/gdb/Makefile
===================================================================
--- devel/gdb/Makefile  (revision 348737)
+++ devel/gdb/Makefile  (working copy)
@@ -21,7 +21,8 @@
                --with-separate-debug-dir=/usr/lib/debug \
                ${ICONV_CONFIGURE_ARG} \
                --without-libunwind-ia64 \
-               --enable-targets=all
+               --enable-targets=all \
+               --disable-werror
 CFLAGS:=       ${CFLAGS:C/ +$//}       # blanks at EOL creep in sometimes
 CFLAGS+=       -DRL_NO_COMPAT
 EXCLUDE=       dejagnu expect sim texinfo intl

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

Reply via email to