port net/tightvnc failes to build with DEBUG
Matthias Apitz
guru at unixarea.de
Wed May 3 10:30:06 UTC 2017
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, ✉ guru at unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045
More information about the freebsd-ports
mailing list