Hello,

when DEBUG is set in /etc/make.conf:

CFLAGS+= -DDEBUG

the port failes to build with:

# make 
...
rm -f fserve.o
cc -c -O2 -pipe -DDEBUG  -Wno-return-type -fstack-protector 
-fno-strict-aliasing -ansi -pedantic -Dasm=__asm  -I../../.././/include/fonts 
-I../include  -I../../.././ -I../../.././/exports/include  -DCSRG_BASED -DSHAPE 
                                                                                
                                          -DGCCUSESGAS -DSTATIC_COLOR 
-DAVOID_GLYPHBLT -DPIXPRIV   -D_XSERVER64 -DNDEBUG   -DFUNCPROTO=15 
-DNARROWPROTO    fserve.c
fserve.c:412:5: warning: declaration of built-in function 'fprintf' requires 
inclusion of the header
      <stdio.h> [-Wbuiltin-requires-header]
    fprintf(stderr, "failed to connect to FS \"%s\"\n", name);
    ^
fserve.c:412:13: error: use of undeclared identifier 'stderr'
    fprintf(stderr, "failed to connect to FS \"%s\"\n", name);

        matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to