=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for xnc-5.0.4nb12 ./newcomp 5.0.4 cd intl && make clang -c -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include intl-compat.c clang -c -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include bindtextdom.c clang -c -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include dcgettext.c clang -c -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include dgettext.c clang -c -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include gettext.c clang -c -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include finddomain.c clang -c -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include loadmsgcat.c clang -c -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include localealias.c clang -c -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include textdomain.c clang -c -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include l10nflist.c clang -c -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include explodename.c clang -c -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include dcigettext.c clang -c -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include dcngettext.c clang -c -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include dngettext.c clang -c -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include ngettext.c clang -c -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include plural.c clang -c -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include plural-exp.c clang -c -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include localcharset.c clang -c -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include localename.c clang -c -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include osdep.c rm -f libintl.a ar cru libintl.a intl-compat.o bindtextdom.o dcgettext.o dgettext.o gettext.o finddomain.o loadmsgcat.o localealias.o textdomain.o l10nflist.o explodename.o dcigettext.o dcngettext.o dngettext.o ngettext.o plural.o plural-exp.o localcharset.o localename.o osdep.o ranlib libintl.a cp ./libgnuintl.h libintl.h /bin/sh ./config.charset 'x86_64-unknown-freebsd11' > t-charset.alias mv t-charset.alias charset.alias sed -e '/^#/d' -e 's/@''PACKAGE''@/xnc/g' ref-add.sin > t-ref-add.sed mv t-ref-add.sed ref-add.sed sed -e '/^#/d' -e 's/@''PACKAGE''@/xnc/g' ref-del.sin > t-ref-del.sed mv t-ref-del.sed ref-del.sed for i in src/helpers iconset src; do cd $i && make compile; cd /var/pkgsrc/work/sysutils/xnc/work/xnc-5.0.4; done clang++ -o ../../bin/users.xnc users.cxx -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 clang++ -o ../../bin/groups.xnc groups.cxx -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 clang++ -o ../../bin/zips.xnc zips.cxx -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 zips.cxx:36:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *months[]={"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug", ^ zips.cxx:36:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *months[]={"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug", ^ zips.cxx:36:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *months[]={"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug", ^ zips.cxx:36:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *months[]={"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug", ^ zips.cxx:36:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *months[]={"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug", ^ zips.cxx:36:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *months[]={"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug", ^ zips.cxx:36:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *months[]={"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug", ^ zips.cxx:36:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *months[]={"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug", ^ zips.cxx:37:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Sep","Oct","Nov","Dec"}; ^ zips.cxx:37:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Sep","Oct","Nov","Dec"}; ^ zips.cxx:37:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Sep","Oct","Nov","Dec"}; ^ zips.cxx:37:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Sep","Oct","Nov","Dec"}; ^ 12 warnings generated. clang++ -o ../../bin/data2c data2c.cxx -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 data2c.cxx:27:37: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] " * Convertor: data2c version "PROGRAM_VERSION"\n" ^ 1 error generated. *** Error code 1 Stop. make[1]: stopped in /var/pkgsrc/work/sysutils/xnc/work/xnc-5.0.4/src/helpers clang -c -O2 -I/usr/pkg/include -I/usr/include -I../intl -I../src/include -I../src/lib/northgui -I../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H iconset1.c -o iconset1.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../intl -I../src/include -I../src/lib/northgui -I../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H iconset2.c -o iconset2.o /bin/rm -f ../lib/libxnciconset.a ar rc ../lib/libxnciconset.a iconset1.o iconset2.o ranlib ../lib/libxnciconset.a for i in lib ives xsetup launch xjroot; do cd $i && make compile; cd ..; done for i in image2 northgui vfs filedir xbitmaps rxvt2 tool; do cd $i && make compile; cd ..; done clang++ -c -I../../../src/lib/manage -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H image.cxx -o image.o clang++ -c -I../../../src/lib/manage -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H convert.cxx -o convert.o convert.cxx:278:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register boxptr boxp; ^~~~~~~~~ convert.cxx:279:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int i; ^~~~~~~~~ convert.cxx:280:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register long maxc = 0; ^~~~~~~~~ convert.cxx:295:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register boxptr boxp; ^~~~~~~~~ convert.cxx:296:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int i; ^~~~~~~~~ convert.cxx:297:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register INT32 maxv = 0; ^~~~~~~~~ convert.cxx:412:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register boxptr b1,b2; ^~~~~~~~~ convert.cxx:412:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register boxptr b1,b2; ^~~~~~~~~ convert.cxx:647:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register INT32 * bptr; /* pointer into bestdist[] array */ ^~~~~~~~~ convert.cxx:650:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register INT32 dist2; /* current distance in inner loop */ ^~~~~~~~~ convert.cxx:652:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register INT32 xx2; ^~~~~~~~~ convert.cxx:715:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register JSAMPLE * cptr; /* pointer into bestcolor[] array */ ^~~~~~~~~ convert.cxx:716:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register histptr cachep; /* pointer into main cache array */ ^~~~~~~~~ convert.cxx:754:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register LOCFSERROR cur0, cur1, cur2; /* current error or pixel value */ ^~~~~~~~~ convert.cxx:754:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register LOCFSERROR cur0, cur1, cur2; /* current error or pixel value */ ^~~~~~~~~ convert.cxx:754:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register LOCFSERROR cur0, cur1, cur2; /* current error or pixel value */ ^~~~~~~~~ convert.cxx:757:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register FSERRPTR errorptr; /* => fserrors[] at column before current */ ^~~~~~~~~ convert.cxx:819:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] { register int pixcode = *cachep - 1; ^~~~~~~~~ convert.cxx:830:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] { register LOCFSERROR bnexterr, delta; ^~~~~~~~~ convert.cxx:830:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] { register LOCFSERROR bnexterr, delta; ^~~~~~~~~ 20 warnings generated. clang -c -O2 -I/usr/pkg/include -I/usr/include -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H accel.c -o accel.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H libpcd/file.c -o libpcd/file.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H libpcd/huff.c -o libpcd/huff.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H libpcd/inter.c -o libpcd/inter.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H libpcd/pcdr.c -o libpcd/pcdr.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H libpcd/yuv2rgb.c -o libpcd/yuv2rgb.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H sdl_image/SDL_surface.c -o sdl_image/SDL_surface.o sdl_image/SDL_surface.c:94:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(format->palette->colors); ^ sdl_image/SDL_surface.c:96:7: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(format->palette); ^ sdl_image/SDL_surface.c:98:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(format); ^ sdl_image/SDL_surface.c:113:29: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] format = (SDL_PixelFormat*)malloc(sizeof(*format)); ^ sdl_image/SDL_surface.c:113:29: note: include the header or explicitly provide a declaration for 'malloc' sdl_image/SDL_surface.c:118:2: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration] memset(format, 0, sizeof(*format)); ^ sdl_image/SDL_surface.c:118:2: note: include the header or explicitly provide a declaration for 'memset' sdl_image/SDL_surface.c:315:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(surface->pixels); ^ sdl_image/SDL_surface.c:317:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(surface); ^ sdl_image/SDL_surface.c:346:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(surface); ^ 8 warnings generated. clang -c -O2 -I/usr/pkg/include -I/usr/include -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H sdl_image/SDL_rwops.c -o sdl_image/SDL_rwops.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H sdl_image/SDL_error.c -o sdl_image/SDL_error.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H sdl_image/SDL_endian.c -o sdl_image/SDL_endian.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H sdl_image/SDL_to_picinfo.c -o sdl_image/SDL_to_picinfo.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H sdl_image/SDL_bmp.c -o sdl_image/SDL_bmp.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H sdl_image/IMG_gif.c -o sdl_image/IMG_gif.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H sdl_image/IMG_jpg.c -o sdl_image/IMG_jpg.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H sdl_image/IMG_xpm.c -o sdl_image/IMG_xpm.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H sdl_image/IMG_pcx.c -o sdl_image/IMG_pcx.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H sdl_image/IMG_tga.c -o sdl_image/IMG_tga.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H sdl_image/IMG_lbm.c -o sdl_image/IMG_lbm.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H sdl_image/IMG_png.c -o sdl_image/IMG_png.o sdl_image/IMG_png.c:238:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (row_pointers == NULL) ) { ~~~~~~~~~~~~~^~~~~~~ sdl_image/IMG_png.c:238:21: note: remove extraneous parentheses around the comparison to silence this warning if ( (row_pointers == NULL) ) { ~ ^ ~ sdl_image/IMG_png.c:238:21: note: use '=' to turn this equality comparison into an assignment if ( (row_pointers == NULL) ) { ^~ = 1 warning generated. clang -c -O2 -I/usr/pkg/include -I/usr/include -DLOAD_JPG -DLOAD_PNG -DLOAD_TIF -I. -I./sdl_image -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H sdl_image/IMG_tif.c -o sdl_image/IMG_tif.o /bin/rm -f ../../../lib/libie.a ar rc ../../../lib/libie.a image.o convert.o accel.o libpcd/file.o libpcd/huff.o libpcd/inter.o libpcd/pcdr.o libpcd/yuv2rgb.o sdl_image/SDL_surface.o sdl_image/SDL_rwops.o sdl_image/SDL_error.o sdl_image/SDL_endian.o sdl_image/SDL_to_picinfo.o sdl_image/SDL_bmp.o sdl_image/IMG_gif.o sdl_image/IMG_jpg.o sdl_image/IMG_xpm.o sdl_image/IMG_pcx.o sdl_image/IMG_tga.o sdl_image/IMG_lbm.o sdl_image/IMG_png.o sdl_image/IMG_tif.o ranlib ../../../lib/libie.a clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include gui.cxx -o gui.o gui.cxx:65:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *sym = "0123456789ABCDEF"; ^ 1 warning generated. clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include guilocale.cxx -o guilocale.o clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include gui_key.cxx -o gui_key.o gui_key.cxx:321:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] void (*ifunc) ()):KEY(ix,iy,il,ih,"ICONKEY",0,ifunc) ^ 1 warning generated. clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include gui_menu.cxx -o gui_menu.o gui_menu.cxx:286:11: warning: 4 enumeration values not handled in switch: 'menu_none', 'menu_function', 'menu_ch_set'... [-Wswitch] switch (items[ncur].menu_state) ^ 1 warning generated. clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include gui_input.cxx -o gui_input.o gui_input.cxx:76:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] dndwin->add_type("text/plain"); ^ 1 warning generated. clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include gui_switch.cxx -o gui_switch.o clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include gui_text.cxx -o gui_text.o clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include gui_win.cxx -o gui_win.o clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include exwin.cxx -o exwin.o clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include filebrowser.cxx -o filebrowser.o filebrowser.cxx:34:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] t1 = new Text(10, 25, "File name:", 5); ^ filebrowser.cxx:35:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] t2 = new Text(10, h - 56, "Filter:", 5); ^ filebrowser.cxx:36:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] kok = new KEY(10, -10, 100, 25, "OK", 1, NULL); ^ filebrowser.cxx:37:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] kcan = new KEY(-10, -10, 100, 25, "Cancel", 2, NULL); ^ filebrowser.cxx:38:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] inp->set_histid("FILE"); ^ filebrowser.cxx:40:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] flt->set_histid("FILTER"); ^ filebrowser.cxx:83:26: warning: format specifies type 'int' but the argument has type 'off_t' (aka 'long') [-Wformat] sprintf(tmp, "%d", st.st_size); ~~ ^~~~~~~~~~ %ld filebrowser.cxx:210:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pan->find_and_set(">.."); ^ filebrowser.cxx:281:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pan->find_and_set(">.."); ^ filebrowser.cxx:312:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pan->find_and_set(">.."); ^ filebrowser.cxx:235:11: warning: 27 enumeration values not handled in switch: 'GUI_UNREG', 'GUI_WIN', 'GUI_SEP'... [-Wswitch] switch (o->guitype) ^ filebrowser.cxx:368:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (next->next) ^ 12 warnings generated. clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include imload.cxx -o imload.o clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include pager.cxx -o pager.o clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include pan.cxx -o pan.o clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include qhelp.cxx -o qhelp.o clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include scroll.cxx -o scroll.o scroll.cxx:155:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ scroll.cxx:169:21: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 2 warnings generated. clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include northcolors.cxx -o northcolors.o northcolors.cxx:105:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 0 */ { "northgui.color.background", "#d5d2de"}, ^ northcolors.cxx:105:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 0 */ { "northgui.color.background", "#d5d2de"}, ^ northcolors.cxx:106:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 1 */ { "northgui.color.shadow", "#000000"}, ^ northcolors.cxx:106:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 1 */ { "northgui.color.shadow", "#000000"}, ^ northcolors.cxx:107:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 2 */ { "northgui.color.text", "#000000"}, ^ northcolors.cxx:107:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 2 */ { "northgui.color.text", "#000000"}, ^ northcolors.cxx:108:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 3 */ { "northgui.color.text_warn", "#ff0000"}, ^ northcolors.cxx:108:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 3 */ { "northgui.color.text_warn", "#ff0000"}, ^ northcolors.cxx:109:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 4 */ { "northgui.color.text2", "#333333"}, ^ northcolors.cxx:109:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 4 */ { "northgui.color.text2", "#333333"}, ^ northcolors.cxx:110:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 5 */ { "northgui.color.cursor", "#bbb4f0"}, ^ northcolors.cxx:110:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 5 */ { "northgui.color.cursor", "#bbb4f0"}, ^ northcolors.cxx:111:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 6 */ { "xnc.panel_color.info", "#111100"}, ^ northcolors.cxx:111:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 6 */ { "xnc.panel_color.info", "#111100"}, ^ northcolors.cxx:112:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 7 */ { "xnc.panel_color.selected_file", "#ffff00"}, ^ northcolors.cxx:112:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 7 */ { "xnc.panel_color.selected_file", "#ffff00"}, ^ northcolors.cxx:113:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 8 */ { "xnc.panel_color.normal_file", "#000000"}, ^ northcolors.cxx:113:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 8 */ { "xnc.panel_color.normal_file", "#000000"}, ^ northcolors.cxx:114:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 9 */ { "xnc.panel_color.directory_file", "#1312f8"}, ^ northcolors.cxx:114:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 9 */ { "xnc.panel_color.directory_file", "#1312f8"}, ^ northcolors.cxx:115:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /*10 */ { "xnc.panel_color.execution_file", "#00ff34"}, ^ northcolors.cxx:115:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /*10 */ { "xnc.panel_color.execution_file", "#00ff34"}, ^ northcolors.cxx:116:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /*11 */ { "xnc.panel_color.link_file", "#00fff2"}, ^ northcolors.cxx:116:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /*11 */ { "xnc.panel_color.link_file", "#00fff2"}, ^ northcolors.cxx:117:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /*12 */ { "xnc.panel_color.afs_file", "#fb5056"}, ^ northcolors.cxx:117:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /*12 */ { "xnc.panel_color.afs_file", "#fb5056"}, ^ northcolors.cxx:118:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /*13 */ { "xnc.panel_color.image_file", "#ff1111"}, ^ northcolors.cxx:118:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /*13 */ { "xnc.panel_color.image_file", "#ff1111"}, ^ northcolors.cxx:119:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /*14 */ { "xnc.panel_color.extension_file", "#003399"} ^ northcolors.cxx:119:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /*14 */ { "xnc.panel_color.extension_file", "#003399"} ^ 30 warnings generated. clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include list_utils.cxx -o list_utils.o clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include ../manage/baseguiplugin.cxx -o ../manage/baseguiplugin.o ../manage/baseguiplugin.cxx:89:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] baseguiplugin=new BaseGuiPlugin("base_internal","0.6.0"); ^ ../manage/baseguiplugin.cxx:89:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] baseguiplugin=new BaseGuiPlugin("base_internal","0.6.0"); ^ 2 warnings generated. clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include ../manage/dircacheman.cxx -o ../manage/dircacheman.o clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include ../manage/configman.cxx -o ../manage/configman.o clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include ../manage/guiplugin.cxx -o ../manage/guiplugin.o In file included from ../manage/guiplugin.cxx:16: In file included from ../../../src/lib/manage/guiplugin.h:6: In file included from ../../../src/include/xnc/bookmark.h:3: In file included from ../../../src/include/xnc/panel.h:4: In file included from ../../../src/include/xnc/base_cap.h:5: ../../../src/lib/vfs/vfs.h:81:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] VFS(int fst = VFS_TYPE, char *pref = "VFS", int need_prefix = 1) ^ ../../../src/lib/vfs/vfs.h:210:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] FTP() : VFS(FTP_TYPE, "FTP") ^ ../../../src/lib/vfs/vfs.h:297:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] AFS() : VFS(AFS_TYPE, "ARC") ^ ../../../src/lib/vfs/vfs.h:364:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DFS() : VFS(DFS_TYPE, "DFS", 0) {}; ^ 4 warnings generated. clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include ../manage/iconman.cxx -o ../manage/iconman.o clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include ../manage/ivesclient.cxx -o ../manage/ivesclient.o clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include ../manage/mouse_actions.cxx -o ../manage/mouse_actions.o clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include ../manage/pluginman.cxx -o ../manage/pluginman.o In file included from ../manage/pluginman.cxx:16: In file included from ../../../src/lib/manage/pluginman.h:4: In file included from ../../../src/lib/manage/guiplugin.h:6: In file included from ../../../src/include/xnc/bookmark.h:3: In file included from ../../../src/include/xnc/panel.h:4: In file included from ../../../src/include/xnc/base_cap.h:5: ../../../src/lib/vfs/vfs.h:81:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] VFS(int fst = VFS_TYPE, char *pref = "VFS", int need_prefix = 1) ^ ../../../src/lib/vfs/vfs.h:210:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] FTP() : VFS(FTP_TYPE, "FTP") ^ ../../../src/lib/vfs/vfs.h:297:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] AFS() : VFS(AFS_TYPE, "ARC") ^ ../../../src/lib/vfs/vfs.h:364:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DFS() : VFS(DFS_TYPE, "DFS", 0) {}; ^ ../manage/pluginman.cxx:107:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] baseguiplugin=guiplugin=new GuiPlugin("internal","0.1.0"); ^ ../manage/pluginman.cxx:107:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] baseguiplugin=guiplugin=new GuiPlugin("internal","0.1.0"); ^ ../manage/pluginman.cxx:143:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pdata=new PlugInitData("xnc",libname,GUI_Plugin); ^ ../manage/pluginman.cxx:169:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] baseguiplugin=guiplugin=new GuiPlugin("internal","0.1.0"); ^ ../manage/pluginman.cxx:169:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] baseguiplugin=guiplugin=new GuiPlugin("internal","0.1.0"); ^ 9 warnings generated. clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include ../manage/xdndclass.cxx -o ../manage/xdndclass.o clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/lib/xbitmaps -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include ../manage/xshrloader.cxx -o ../manage/xshrloader.o /bin/rm -f ../../../lib/libnorthgui.a ar rc ../../../lib/libnorthgui.a gui.o guilocale.o gui_key.o gui_menu.o gui_input.o gui_switch.o gui_text.o gui_win.o exwin.o filebrowser.o imload.o pager.o pan.o qhelp.o scroll.o northcolors.o list_utils.o ../manage/baseguiplugin.o ../manage/dircacheman.o ../manage/configman.o ../manage/guiplugin.o ../manage/iconman.o ../manage/ivesclient.o ../manage/mouse_actions.o ../manage/pluginman.o ../manage/xdndclass.o ../manage/xshrloader.o ranlib ../../../lib/libnorthgui.a clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include afs.cxx -o afs.o In file included from afs.cxx:18: ../../../src/lib/vfs/vfs.h:81:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] VFS(int fst = VFS_TYPE, char *pref = "VFS", int need_prefix = 1) ^ ../../../src/lib/vfs/vfs.h:210:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] FTP() : VFS(FTP_TYPE, "FTP") ^ ../../../src/lib/vfs/vfs.h:297:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] AFS() : VFS(AFS_TYPE, "ARC") ^ ../../../src/lib/vfs/vfs.h:364:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DFS() : VFS(DFS_TYPE, "DFS", 0) {}; ^ afs.cxx:212:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(o=find_content(vfsname)) ~^~~~~~~~~~~~~~~~~~~~~~ afs.cxx:212:7: note: place parentheses around the assignment to silence this warning if(o=find_content(vfsname)) ^ ( ) afs.cxx:212:7: note: use '==' to turn this assignment into an equality comparison if(o=find_content(vfsname)) ^ == afs.cxx:266:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ afs.cxx:300:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("AFS", _("Can't copy to destination VFS")); ^ afs.cxx:318:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ afs.cxx:383:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ afs.cxx:441:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ afs.cxx:613:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ afs.cxx:663:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("AFS", _("No support for this file")); ^ afs.cxx:676:62: warning: format specifies type 'int' but the argument has type 'AFS *' [-Wformat] sprintf(listpath, "%s/AFS/afs.%d.%08d", syspath, getpid(), this); ~~~~ ^~~~ afs.cxx:677:66: warning: format specifies type 'int' but the argument has type 'AFS *' [-Wformat] sprintf(tmppath, "%s/.%d.%s.%08d", syspath, getpid(), arcname, this); ~~~~ ^~~~ afs.cxx:683:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("AFS", _("Can't create AFSTMP directory!")); ^ afs.cxx:803:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (o=find_content(d)) ~^~~~~~~~~~~~~~~~ afs.cxx:803:8: note: place parentheses around the assignment to silence this warning if (o=find_content(d)) ^ ( ) afs.cxx:803:8: note: use '==' to turn this assignment into an equality comparison if (o=find_content(d)) ^ == afs.cxx:1043:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *mon[] = { "jan", "feb", "mar", "apr", "may", "jun", ^ afs.cxx:1043:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *mon[] = { "jan", "feb", "mar", "apr", "may", "jun", ^ afs.cxx:1043:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *mon[] = { "jan", "feb", "mar", "apr", "may", "jun", ^ afs.cxx:1043:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *mon[] = { "jan", "feb", "mar", "apr", "may", "jun", ^ afs.cxx:1043:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *mon[] = { "jan", "feb", "mar", "apr", "may", "jun", ^ afs.cxx:1043:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *mon[] = { "jan", "feb", "mar", "apr", "may", "jun", ^ afs.cxx:1044:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "jul", "aug", "sep", "oct", "nov", "dec" }; ^ afs.cxx:1044:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "jul", "aug", "sep", "oct", "nov", "dec" }; ^ afs.cxx:1044:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "jul", "aug", "sep", "oct", "nov", "dec" }; ^ afs.cxx:1044:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "jul", "aug", "sep", "oct", "nov", "dec" }; ^ afs.cxx:1044:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "jul", "aug", "sep", "oct", "nov", "dec" }; ^ afs.cxx:1044:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "jul", "aug", "sep", "oct", "nov", "dec" }; ^ afs.cxx:1181:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("AFS", _("Can't access TMP dir")); ^ afs.cxx:1268:70: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] fprintf(fp2, "%d %X %d %d %s\n", sl, mode, fsiz, t, fname); ~~ ^ %ld afs.cxx:1290:84: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] fprintf(fp2, "%d %X %d %d %s -> %s\n", sl, n->val1 | S_IFLNK, 0, t, n->name, n2->name); ~~ ^ %ld afs.cxx:1327:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("AFS", _("Can't follow directory (outside archive)!")); ^ afs.cxx:1371:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("AFS", _("Can't access TMP dir")); ^ afs.cxx:1467:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ol->init("..", (0777 | S_IFDIR), 0, getuid(), getgid(), 0); ^ afs.cxx:1470:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ol->init(".", (0777 | S_IFDIR), 0, getuid(), getgid(), 0); ^ 35 warnings generated. clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include dfs.cxx -o dfs.o In file included from dfs.cxx:19: ../../../src/lib/vfs/vfs.h:81:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] VFS(int fst = VFS_TYPE, char *pref = "VFS", int need_prefix = 1) ^ ../../../src/lib/vfs/vfs.h:210:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] FTP() : VFS(FTP_TYPE, "FTP") ^ ../../../src/lib/vfs/vfs.h:297:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] AFS() : VFS(AFS_TYPE, "ARC") ^ ../../../src/lib/vfs/vfs.h:364:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DFS() : VFS(DFS_TYPE, "DFS", 0) {}; ^ dfs.cxx:409:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ol->init("..", st.st_mode, st.st_size, st.st_uid, st.st_gid, st.st_mtime, &st); ^ dfs.cxx:413:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ol->init(".", S_IFDIR, 0, st.st_uid, st.st_gid, st.st_mtime); ^ dfs.cxx:517:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return psystem2("cp", "-rsf", buf1, buf2, NULL); ^ dfs.cxx:519:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return psystem2("cp", "-rf", buf1, buf2, NULL); ^ dfs.cxx:576:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ret = psystem2("rm", "-rf", buf1, NULL); ^ dfs.cxx:1041:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ol->init("..", st.st_mode, st.st_size, st.st_uid, st.st_gid, st.st_mtime, &st); ^ dfs.cxx:1045:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ol->init(".", S_IFDIR, 0, st.st_uid, st.st_gid, st.st_mtime); ^ 11 warnings generated. clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include ftpfs.cxx -o ftpfs.o In file included from ftpfs.cxx:21: In file included from ../../../src/include/xnc/panel.h:4: In file included from ../../../src/include/xnc/base_cap.h:5: ../../../src/lib/vfs/vfs.h:81:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] VFS(int fst = VFS_TYPE, char *pref = "VFS", int need_prefix = 1) ^ ../../../src/lib/vfs/vfs.h:210:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] FTP() : VFS(FTP_TYPE, "FTP") ^ ../../../src/lib/vfs/vfs.h:297:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] AFS() : VFS(AFS_TYPE, "ARC") ^ ../../../src/lib/vfs/vfs.h:364:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DFS() : VFS(DFS_TYPE, "DFS", 0) {}; ^ ftpfs.cxx:231:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(str_casecmp(hostname, FTP_HOST_UNIX_CHR)==0) ^ ../../../src/lib/vfs/ftplib/ftp_communication.h:33:34: note: expanded from macro 'FTP_HOST_UNIX_CHR' #define FTP_HOST_UNIX_CHR "unix" ^ ftpfs.cxx:233:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(str_casecmp(hostname, FTP_HOST_SUNOS_CHR)==0) ^ ../../../src/lib/vfs/ftplib/ftp_communication.h:34:35: note: expanded from macro 'FTP_HOST_SUNOS_CHR' #define FTP_HOST_SUNOS_CHR "sunos" ^ ftpfs.cxx:235:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(str_casecmp(hostname, FTP_HOST_VMS_CHR)==0) ^ ../../../src/lib/vfs/ftplib/ftp_communication.h:37:34: note: expanded from macro 'FTP_HOST_VMS_CHR' #define FTP_HOST_VMS_CHR "vms" ^ ftpfs.cxx:237:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(str_casecmp(hostname, FTP_HOST_NT_CHR)==0) ^ ../../../src/lib/vfs/ftplib/ftp_communication.h:40:34: note: expanded from macro 'FTP_HOST_NT_CHR' #define FTP_HOST_NT_CHR "windows_nt" ^ ftpfs.cxx:239:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(str_casecmp(hostname, FTP_HOST_WIN32_CHR)==0) ^ ../../../src/lib/vfs/ftplib/ftp_communication.h:41:35: note: expanded from macro 'FTP_HOST_WIN32_CHR' #define FTP_HOST_WIN32_CHR "win32" ^ ftpfs.cxx:757:57: warning: format specifies type 'int' but the argument has type 'FTP *' [-Wformat] sprintf(ftptmpstr,"%s/%s.%d.ls", syspath, "FTPMGET",this); ~~ ^~~~ ftpfs.cxx:850:57: warning: format specifies type 'int' but the argument has type 'FTP *' [-Wformat] sprintf(ftptmpstr,"%s/%s.%d.ls", syspath, "FTPMDEL",this); ~~ ^~~~ ftpfs.cxx:1077:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] simple_mes("FTP",_("Operation not complete!")); ^ ftpfs.cxx:1119:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",com.reason); ^ ftpfs.cxx:1146:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",com.reason); ^ ftpfs.cxx:1171:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",com.reason); ^ ftpfs.cxx:1185:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",com.reason); ^ ftpfs.cxx:1197:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",com.reason); ^ ftpfs.cxx:1215:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",com.reason); ^ ftpfs.cxx:1230:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",com.reason); ^ ftpfs.cxx:1244:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",com.reason); ^ ftpfs.cxx:1288:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",com.reason); ^ ftpfs.cxx:1304:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",com.reason); ^ ftpfs.cxx:1359:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] create_ftp_infowin("FTP"); ^ ftpfs.cxx:1375:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP FATAL",com.reason); ^ ftpfs.cxx:1438:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",_("Too many active connections")); ^ ftpfs.cxx:1464:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",_("Forking Child")); ^ ftpfs.cxx:1477:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",com.reason); ^ ftpfs.cxx:1485:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",_("Child process failed")); ^ ftpfs.cxx:1550:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",com.reason); ^ ftpfs.cxx:1578:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",com.reason); ^ ftpfs.cxx:1601:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",com.reason); ^ ftpfs.cxx:1632:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",com.reason); ^ ftpfs.cxx:1646:69: warning: format specifies type 'int' but the argument has type 'FTP *' [-Wformat] sprintf(com.tmppath,"%s/FTPFS/%s/TMPLIST.%d",syspath,host,this); ~~ ^~~~ ftpfs.cxx:1650:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",_("Can't create temporary list file!")); ^ ftpfs.cxx:1806:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",com.reason); ^ ftpfs.cxx:1824:69: warning: format specifies type 'int' but the argument has type 'FTP *' [-Wformat] sprintf(com.tmppath,"%s/FTPFS/%s/TMPLIST.%d",syspath,host,this); ~~ ^~~~ ftpfs.cxx:1828:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",_("Can't create temporary list file!")); ^ ftpfs.cxx:1892:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",com.reason); ^ ftpfs.cxx:1958:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",com.reason); ^ ftpfs.cxx:1965:69: warning: format specifies type 'int' but the argument has type 'FTP *' [-Wformat] sprintf(com.tmppath,"%s/FTPFS/%s/TMPLIST.%d",syspath,host,this); ~~ ^~~~ ftpfs.cxx:1969:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",_("Can't create temporary list file!")); ^ ftpfs.cxx:2023:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",com.reason); ^ ftpfs.cxx:2058:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP",com.reason); ^ ftpfs.cxx:2089:40: warning: format specifies type 'int *' but the argument has type 'off_t *' (aka 'long *') [-Wformat] sscanf(s, "%d %o %X %s %s %[^\n]\n", &st->st_size, &st->st_mode, ~~ ^~~~~~~~~~~~ %ld ftpfs.cxx:2089:54: warning: format specifies type 'unsigned int *' but the argument has type 'mode_t *' (aka 'unsigned short *') [-Wformat] sscanf(s, "%d %o %X %s %s %[^\n]\n", &st->st_size, &st->st_mode, ~~ ^~~~~~~~~~~~ %ho ftpfs.cxx:2090:10: warning: format specifies type 'unsigned int *' but the argument has type 'time_t *' (aka 'long *') [-Wformat] &st->st_mtime, user, group, strbuf); ^~~~~~~~~~~~~ ftpfs.cxx:2198:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] hd->init("..", st.st_mode, st.st_size, st.st_uid, st.st_gid, st.st_mtime); ^ ftpfs.cxx:2274:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] hd->init("..", S_IFDIR | 0755, 0, st.st_uid, st.st_gid, st.st_mtime); ^ ftpfs.cxx:2278:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ol->init(".", S_IFDIR | 0755, 0, st.st_uid, st.st_gid, st.st_mtime); ^ ftpfs.cxx:2290:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ol->init("..", S_IFDIR, 0, 0, 0, 5000); ^ 50 warnings generated. clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H ftplib/ftplib.c -o ftplib/ftplib.o ftplib/ftplib.c:619:52: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(nControl->handle, &sin.sa, (int*) &l) < 0) ^~~~~~~~~ /usr/include/sys/socket.h:624:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ ftplib/ftplib.c:669:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(sData, &sin.sa,(int*) &l) < 0) ^~~~~~~~~ /usr/include/sys/socket.h:624:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ ftplib/ftplib.c:757:50: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] sData = accept(nData->handle, &addr, (int*) &l); ^~~~~~~~~ /usr/include/sys/socket.h:615:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ ftplib/ftplib.c:1595:55: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(local,"%d %o %X %s %s %s\n",fsiz,fmode,tim,owner,group,buf2); ~~ ^~~~ %ld ftplib/ftplib.c:1595:66: warning: format specifies type 'unsigned int' but the argument has type 'time_t' (aka 'long') [-Wformat] fprintf(local,"%d %o %X %s %s %s\n",fsiz,fmode,tim,owner,group,buf2); ~~ ^~~ %lX ftplib/ftplib.c:1632:55: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(local,"%d %o %X %s %s %s\n",fsiz,fmode,tim,owner,group,buf2); ~~ ^~~~ %ld ftplib/ftplib.c:1632:66: warning: format specifies type 'unsigned int' but the argument has type 'time_t' (aka 'long') [-Wformat] fprintf(local,"%d %o %X %s %s %s\n",fsiz,fmode,tim,owner,group,buf2); ~~ ^~~ %lX 7 warnings generated. clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include ftplib/ftpdiving.cxx -o ftplib/ftpdiving.o clang++ -c -I../../../src/include/xnc -I../../../src/lib/manage -I../../../src/au -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include vfs.cxx -o vfs.o In file included from vfs.cxx:16: ../../../src/lib/vfs/vfs.h:81:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] VFS(int fst = VFS_TYPE, char *pref = "VFS", int need_prefix = 1) ^ ../../../src/lib/vfs/vfs.h:210:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] FTP() : VFS(FTP_TYPE, "FTP") ^ ../../../src/lib/vfs/vfs.h:297:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] AFS() : VFS(AFS_TYPE, "ARC") ^ ../../../src/lib/vfs/vfs.h:364:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DFS() : VFS(DFS_TYPE, "DFS", 0) {}; ^ vfs.cxx:40:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (str_ncasecmp(d, "dfs", 3) != 0) ^ vfs.cxx:42:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (str_ncasecmp(d,"ftp",3) == 0 && panel->panel2->vfs->fstype==FTP_TYPE) ^ vfs.cxx:51:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (str_ncasecmp(d, "afs", 3) != 0 && str_ncasecmp(d,"arc",3)!=0) ^ vfs.cxx:51:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (str_ncasecmp(d, "afs", 3) != 0 && str_ncasecmp(d,"arc",3)!=0) ^ vfs.cxx:53:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("VFS", "Wrong VFS type!"); ^ vfs.cxx:53:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("VFS", "Wrong VFS type!"); ^ vfs.cxx:60:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("VFS", "Second panel must be inside Archive!"); ^ vfs.cxx:60:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("VFS", "Second panel must be inside Archive!"); ^ vfs.cxx:86:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (str_casecmp(type, "dfs") == 0) ^ vfs.cxx:93:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else if ((str_casecmp(type, "arc") == 0) || (str_casecmp(type,"afs")==0)) ^ vfs.cxx:93:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else if ((str_casecmp(type, "arc") == 0) || (str_casecmp(type,"afs")==0)) ^ 15 warnings generated. /bin/rm -f ../../../lib/libxncvfs.a ar rc ../../../lib/libxncvfs.a afs.o dfs.o ftpfs.o ftplib/ftplib.o ftplib/ftpdiving.o vfs.o ranlib ../../../lib/libxncvfs.a clang -c -O2 -I/usr/pkg/include -I/usr/include -DMAGIC='"/usr/share/misc/magic"' -DMAGIC_FOR_XNC -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H file.c -o file.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DMAGIC='"/usr/share/misc/magic"' -DMAGIC_FOR_XNC -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H apprentice.c -o apprentice.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DMAGIC='"/usr/share/misc/magic"' -DMAGIC_FOR_XNC -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H fsmagic.c -o fsmagic.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DMAGIC='"/usr/share/misc/magic"' -DMAGIC_FOR_XNC -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H softmagic.c -o softmagic.o softmagic.c:113:40: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] if ((tmpoff = (long *) malloc(tmplen = 20)) == NULL) ^ softmagic.c:113:40: note: include the header or explicitly provide a declaration for 'malloc' softmagic.c:139:48: warning: implicitly declaring library function 'realloc' with type 'void *(void *, unsigned long)' [-Wimplicit-function-declaration] if ((tmpoff = (long *) realloc(tmpoff, ^ softmagic.c:139:48: note: include the header or explicitly provide a declaration for 'realloc' 2 warnings generated. clang -c -O2 -I/usr/pkg/include -I/usr/include -DMAGIC='"/usr/share/misc/magic"' -DMAGIC_FOR_XNC -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H ascmagic.c -o ascmagic.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DMAGIC='"/usr/share/misc/magic"' -DMAGIC_FOR_XNC -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H compress.c -o compress.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DMAGIC='"/usr/share/misc/magic"' -DMAGIC_FOR_XNC -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H is_tar.c -o is_tar.o clang -c -O2 -I/usr/pkg/include -I/usr/include -DMAGIC='"/usr/share/misc/magic"' -DMAGIC_FOR_XNC -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H print.c -o print.o /bin/rm -f ../../../lib/libxncfiledir.a ar rc ../../../lib/libxncfiledir.a file.o apprentice.o fsmagic.o softmagic.o ascmagic.o compress.o is_tar.o print.o ranlib ../../../lib/libxncfiledir.a clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H xncintro.c -o xncintro.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H flag1.c -o flag1.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H flag2.c -o flag2.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H flag3.c -o flag3.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H flag4.c -o flag4.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H flag5.c -o flag5.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H flag6.c -o flag6.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H flag7.c -o flag7.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H recycle.c -o recycle.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H recycle2.c -o recycle2.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H recycle3.c -o recycle3.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H recycle4.c -o recycle4.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H arc.c -o arc.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H assoc.c -o assoc.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H folder.c -o folder.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H exec.c -o exec.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H norm.c -o norm.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H link.c -o link.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H xncafs.c -o xncafs.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H xncafsaix.c -o xncafsaix.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H xncafsopenbsd.c -o xncafsopenbsd.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H xncafstar.c -o xncafstar.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H xncini.c -o xncini.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H xnccfg.c -o xnccfg.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H xncext.c -o xncext.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H xncmenu.c -o xncmenu.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H xnckeys.c -o xnckeys.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H ivesini.c -o ivesini.o /bin/rm -f ../../../lib/libxncbitmaps.a ar rc ../../../lib/libxncbitmaps.a xncintro.o flag1.o flag2.o flag3.o flag4.o flag5.o flag6.o flag7.o recycle.o recycle2.o recycle3.o recycle4.o arc.o assoc.o folder.o exec.o norm.o link.o xncafs.o xncafsaix.o xncafsopenbsd.o xncafstar.o xncini.o xnccfg.o xncext.o xncmenu.o xnckeys.o ivesini.o ranlib ../../../lib/libxncbitmaps.a clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../src/include/xnc -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H command.c -o command.o command.c:1826:63: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = XmbLookupString (Input_Context, &ev->xkey, kbuf, ^~~~ /var/pkgsrc/work/sysutils/xnc/work/.buildlink/include/X11/Xlib.h:3901:31: note: passing argument to parameter here char* /* buffer_return */, ^ command.c:1832:46: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = XLookupString (&ev->xkey, kbuf, ^~~~ /var/pkgsrc/work/sysutils/xnc/work/.buildlink/include/X11/Xutil.h:536:31: note: passing argument to parameter here char* /* buffer_return */, ^ command.c:1976:59: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] case XK_Tab: if (shft) { len = 3; strcpy (kbuf,"\033[Z"); } break; ^~~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ command.c:1978:61: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] case XK_Home: len = strlen (strcpy (kbuf,KS_HOME)); break; ^~~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ command.c:1983:29: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = 3; strcpy (kbuf,"\033[@"); ^~~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ command.c:1993:57: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] case XK_Prior: len = 4; strcpy (kbuf,"\033[5~"); break; ^~~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ command.c:1994:56: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] case XK_Next: len = 4; strcpy (kbuf,"\033[6~"); break; ^~~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ command.c:1995:60: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] case XK_End: len = strlen (strcpy (kbuf,KS_END)); break; ^~~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ command.c:1997:50: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] case XK_Select: len = 4; strcpy (kbuf,"\033[4~"); break; ^~~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ command.c:1998:51: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] case XK_Execute: len = 4; strcpy (kbuf,"\033[3~"); break; ^~~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ command.c:1999:50: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] case XK_Insert: len = 4; strcpy (kbuf,"\033[2~"); break; ^~~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ command.c:2001:56: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] case XK_Menu: len = 5; strcpy (kbuf,"\033[29~"); break; ^~~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ command.c:2002:56: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] case XK_Find: len = 4; strcpy (kbuf,"\033[1~"); break; ^~~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ command.c:2003:56: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] case XK_Help: len = 5; strcpy (kbuf,"\033[28~"); break; ^~~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ command.c:2009:34: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = 3; strcpy (kbuf,"\033OM"); ^~~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ command.c:2021:29: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = 3; strcpy (kbuf,"\033OP"); ^~~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ command.c:2044:34: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = 3; strcpy (kbuf,"\033Oj"); ^~~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ command.c:2061:12: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] FKEY (11, XK_F1); break; ^~~~~~~~~~~~~~~~ command.c:2054:10: note: expanded from macro 'FKEY' sprintf (kbuf,"\033[%02d~", (int)((n) + (keysym - fkey))) ^~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ command.c:2068:12: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] FKEY (17, XK_F6); break; ^~~~~~~~~~~~~~~~ command.c:2054:10: note: expanded from macro 'FKEY' sprintf (kbuf,"\033[%02d~", (int)((n) + (keysym - fkey))) ^~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ command.c:2074:12: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] FKEY (23, XK_F11); break; ^~~~~~~~~~~~~~~~~ command.c:2054:10: note: expanded from macro 'FKEY' sprintf (kbuf,"\033[%02d~", (int)((n) + (keysym - fkey))) ^~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ command.c:2078:12: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] FKEY (28, XK_F15); break; ^~~~~~~~~~~~~~~~~ command.c:2054:10: note: expanded from macro 'FKEY' sprintf (kbuf,"\033[%02d~", (int)((n) + (keysym - fkey))) ^~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ command.c:2099:12: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] FKEY (31, XK_F17); break; ^~~~~~~~~~~~~~~~~ command.c:2054:10: note: expanded from macro 'FKEY' sprintf (kbuf,"\033[%02d~", (int)((n) + (keysym - fkey))) ^~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ command.c:2102:55: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] case XK_Delete: len = strlen (strcpy (kbuf,KS_DELETE)); break; ^~~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ command.c:2566:30: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] tt_printf ("\033[A"); ^~~~~~~~ ./command.h:41:43: note: passing argument to parameter here tt_printf (const unsigned char * /* fmt */, ...); ^ command.c:2568:30: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] tt_printf ("\033[B"); ^~~~~~~~ ./command.h:41:43: note: passing argument to parameter here tt_printf (const unsigned char * /* fmt */, ...); ^ command.c:2571:45: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] case Button2: tt_printf ("\014"); break; ^~~~~~ ./command.h:41:43: note: passing argument to parameter here tt_printf (const unsigned char * /* fmt */, ...); ^ command.c:2572:45: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] case Button1: tt_printf ("\033[6~"); break; ^~~~~~~~~ ./command.h:41:43: note: passing argument to parameter here tt_printf (const unsigned char * /* fmt */, ...); ^ command.c:2573:45: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] case Button3: tt_printf ("\033[5~"); break; ^~~~~~~~~ ./command.h:41:43: note: passing argument to parameter here tt_printf (const unsigned char * /* fmt */, ...); ^ command.c:2814:14: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] vsprintf (buf, fmt, arg_ptr); ^~~ /usr/include/stdio.h:293:32: note: passing argument to parameter here int vsprintf(char * __restrict, const char * __restrict, ^ command.c:2814:19: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] vsprintf (buf, fmt, arg_ptr); ^~~ /usr/include/stdio.h:293:57: note: passing argument to parameter here int vsprintf(char * __restrict, const char * __restrict, ^ command.c:2816:27: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] tt_write (buf, strlen (buf)); ^~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ command.c:2899:37: warning: passing 'char [3]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] case 'E': scr_add_lines ("\n\r", 1, 2); break; ^~~~~~ ./screen.h:105:47: note: passing argument to parameter here scr_add_lines (const unsigned char * /* str */, ^ command.c:2905:33: warning: passing 'char [8]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] case 'Z': tt_printf (ESCZ_ANSWER); break; /* steal obsolete ESC [ c */ ^~~~~~~~~~~ command.c:314:29: note: expanded from macro 'ESCZ_ANSWER' # define ESCZ_ANSWER VT100_ANS /* obsolete ANSI ESC[c */ ^~~~~~~~~ command.c:312:26: note: expanded from macro 'VT100_ANS' #define VT100_ANS "\033[?1;2c" /* vt100 answerback */ ^~~~~~~~~~~~ command.c:2808:34: note: passing argument to parameter 'fmt' here tt_printf (const unsigned char * fmt, ...) ^ command.c:3012:33: warning: passing 'char [8]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] case 'c': tt_printf (VT100_ANS); break; ^~~~~~~~~ command.c:312:26: note: expanded from macro 'VT100_ANS' #define VT100_ANS "\033[?1;2c" /* vt100 answerback */ ^~~~~~~~~~~~ command.c:2808:34: note: passing argument to parameter 'fmt' here tt_printf (const unsigned char * fmt, ...) ^ command.c:3016:27: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] case 5: tt_printf ("\033[0n"); break; /* ready */ ^~~~~~~~~ command.c:2808:34: note: passing argument to parameter 'fmt' here tt_printf (const unsigned char * fmt, ...) ^ command.c:3084:25: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] xterm_seq (arg, string); ^~~~~~ ./main.h:236:28: note: passing argument to parameter here char * /* str */); ^ command.c:3291:20: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] tt_printf ("\033G0\n"); /* no graphics */ ^~~~~~~~~~ command.c:2808:34: note: passing argument to parameter 'fmt' here tt_printf (const unsigned char * fmt, ...) ^ command.c:3383:34: warning: passing 'char [8]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] case 005: tt_printf (VT100_ANS); break; /* terminal Status */ ^~~~~~~~~ command.c:312:26: note: expanded from macro 'VT100_ANS' #define VT100_ANS "\033[?1;2c" /* vt100 answerback */ ^~~~~~~~~~~~ command.c:2808:34: note: passing argument to parameter 'fmt' here tt_printf (const unsigned char * fmt, ...) ^ command.c:3346:34: warning: while loop has empty body [-Wempty-body] while ((ch = cmd_getc ()) == 0); /* wait for something */ ^ command.c:3346:34: note: put the semicolon on a separate line to silence this warning command.c:3439:34: warning: passing 'char [8]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] case 005: tt_printf (VT100_ANS); break; /* terminal Status */ ^~~~~~~~~ command.c:312:26: note: expanded from macro 'VT100_ANS' #define VT100_ANS "\033[?1;2c" /* vt100 answerback */ ^~~~~~~~~~~~ command.c:2808:34: note: passing argument to parameter 'fmt' here tt_printf (const unsigned char * fmt, ...) ^ 40 warnings generated. clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../src/include/xnc -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H debug.c -o debug.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../src/include/xnc -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H graphics.c -o graphics.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../src/include/xnc -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H grkelot.c -o grkelot.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../src/include/xnc -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H rmain.c -o rmain.o rmain.c:159:4: warning: implicit declaration of function 'clean_exit' is invalid in C99 [-Wimplicit-function-declaration] clean_exit(); ^ 1 warning generated. clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../src/include/xnc -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H menubar.c -o menubar.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../src/include/xnc -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H misc.c -o misc.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../src/include/xnc -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H netdisp.c -o netdisp.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../src/include/xnc -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H screen.c -o screen.o screen.c:1675:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] selection.len = strlen (selection.text); ^~~~~~~~~~~~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ screen.c:1722:27: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] (char *)target_list, ^~~~~~~~~~~~~~~~~~~ /var/pkgsrc/work/sysutils/xnc/work/.buildlink/include/X11/Xlib.h:2075:38: note: passing argument to parameter here _Xconst unsigned char* /* data */, ^ screen.c:1783:34: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign] &nitems, &bytes_after, ^~~~~~~ /var/pkgsrc/work/sysutils/xnc/work/.buildlink/include/X11/Xlib.h:2686:39: note: passing argument to parameter here unsigned long* /* nitems_return */, ^ screen.c:1783:43: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign] &nitems, &bytes_after, ^~~~~~~~~~~~ /var/pkgsrc/work/sysutils/xnc/work/.buildlink/include/X11/Xlib.h:2687:44: note: passing argument to parameter here unsigned long* /* bytes_after_return */, ^ screen.c:2182:15: warning: passing 'char [9]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] tt_printf ("\033[%d;%dR", screen.row + 1, screen.col + 1); ^~~~~~~~~~~~~ ./command.h:41:43: note: passing argument to parameter here tt_printf (const unsigned char * /* fmt */, ...); ^ screen.c:2716:26: warning: passing 'text_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] drawString (XDrawImageString); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:2661:60: note: expanded from macro 'drawString' strFunc (Xdisplay, drawBuffer, TermWin.gc, xpixel, ypixel, linebuf, count) ^~~~~~~ /var/pkgsrc/work/sysutils/xnc/work/.buildlink/include/X11/Xlib.h:2328:31: note: passing argument to parameter here _Xconst char* /* string */, ^ screen.c:2973:15: warning: passing 'char [10]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] tt_printf ("\033[M%c%c%c", ^~~~~~~~~~~~~~ ./command.h:41:43: note: passing argument to parameter here tt_printf (const unsigned char * /* fmt */, ...); ^ 7 warnings generated. clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../src/include/xnc -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H scrollbar.c -o scrollbar.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../src/include/xnc -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H utmp.c -o utmp.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I../../../src/intl -I/usr/pkg/include -I/usr/include -I../../../src/include/xnc -I. -O2 -I/usr/pkg/include -I/usr/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H xdefaults.c -o xdefaults.o xdefaults.c:365:41: warning: field width should have type 'int', but argument has type 'unsigned long' [-Wformat] fprintf (stderr, " %s%s %-*s%s%s\n", ~~~^ xdefaults.c:383:39: warning: field width should have type 'int', but argument has type 'unsigned long' [-Wformat] fprintf (stderr, " %s: %*s\n", ~~^ xdefaults.c:389:49: warning: field width should have type 'int', but argument has type 'unsigned long' [-Wformat] fprintf (stderr, " " "keysym.sym" ": %*s\n", ~~^ xdefaults.c:621:41: warning: assigning to 'const unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] KeySym_map [sym] = p; ^ ~ 4 warnings generated. /bin/rm -f ../../../lib/libxncrxvt.a ar rc ../../../lib/libxncrxvt.a command.o debug.o graphics.o grkelot.o rmain.o menubar.o misc.o netdisp.o screen.o scrollbar.o utmp.o xdefaults.o ranlib ../../../lib/libxncrxvt.a clang++ -c -I../../../src/include/xnc -I../../../src/au -I../../../src/lib/manage -I../../../src/lib/vfs -I../../../src/lib/vfs/ftplib -I../../../intl -I../../../src/include -I../../../src/lib/northgui -I../../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include commonfuncs.cxx -o commonfuncs.o commonfuncs.cxx:122:15: error: cannot initialize a variable of type 'char *' with an rvalue of type 'const char *' char *b=strchr(curdir,'/'); ^ ~~~~~~~~~~~~~~~~~~ commonfuncs.cxx:265:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *f=""; ^ commonfuncs.cxx:383:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *hex="0123456789ABCDEF"; ^ 2 warnings and 1 error generated. *** Error code 1 Stop. make[3]: stopped in /var/pkgsrc/work/sysutils/xnc/work/xnc-5.0.4/src/lib/tool make ../../bin/iview clang++ -c -I. -I../../src/lib/manage -I../../src/lib/xbitmaps -I../../src/au -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include vs.cxx -o vs.o clang++ -o ../../bin/iview vs.o ../../lib/libnorthgui.a ../../intl/libintl.a -ldl -lm -lSM -lICE -lX11 -lXext -export-dynamic -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib /usr/bin/ld: warning: cannot find entry symbol xport-dynamic; defaulting to 0000000000400d60 make ../../bin/iedit clang++ -c -I. -I../../src/lib/manage -I../../src/lib/xbitmaps -I../../src/au -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include es.cxx -o es.o clang++ -o ../../bin/iedit es.o ../../lib/libnorthgui.a ../../intl/libintl.a -ldl -lm -lSM -lICE -lX11 -lXext -export-dynamic -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib /usr/bin/ld: warning: cannot find entry symbol xport-dynamic; defaulting to 0000000000400d60 make ../../bin/ives clang++ -c -I. -I../../src/lib/manage -I../../src/lib/xbitmaps -I../../src/au -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include editor.cxx -o editor.o editor.cxx:315:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vdin->set_histid("GOTO"); ^ editor.cxx:318:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vdin->set_histid("CFIND"); ^ editor.cxx:322:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vdin->set_histid("CFLIST"); ^ editor.cxx:327:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vdin->set_histid("SAVE"); ^ editor.cxx:381:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vdin->set_histid("FIND"); ^ editor.cxx:433:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vdin->set_histid("SAVE"); ^ editor.cxx:1772:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if(endfunc) ^ 7 warnings generated. clang++ -c -I. -I../../src/lib/manage -I../../src/lib/xbitmaps -I../../src/au -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include viewer.cxx -o viewer.o viewer.cxx:89:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vdin->set_histid("FIND"); ^ viewer.cxx:91:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vdin->set_histid("SAVE"); ^ viewer.cxx:280:6: warning: expression result unused [-Wunused-value] *b++;base++; ^~~~ viewer.cxx:489:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *tbl="0123456789ABCDEF"; ^ viewer.cxx:785:34: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat] fprintf(stderr,"Error:%d\n",strerror(errno)); ~~ ^~~~~~~~~~~~~~~ %s viewer.cxx:804:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] } else vmes("Error","Wrong address!!!",this); ^ viewer.cxx:804:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] } else vmes("Error","Wrong address!!!",this); ^ 7 warnings generated. clang++ -c -I. -I../../src/lib/manage -I../../src/lib/xbitmaps -I../../src/au -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include ives.cxx -o ives.o In file included from ives.cxx:21: ../../src/lib/xbitmaps/bv1.xbm:37:63: error: constant expression evaluates to 128 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, ^~~~ ../../src/lib/xbitmaps/bv1.xbm:37:63: note: insert an explicit cast to silence this issue 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, ^~~~ static_cast( ) ../../src/lib/xbitmaps/bv1.xbm:41:3: error: constant expression evaluates to 128 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ ../../src/lib/xbitmaps/bv1.xbm:41:3: note: insert an explicit cast to silence this issue 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ static_cast( ) ../../src/lib/xbitmaps/bv1.xbm:44:15: error: constant expression evaluates to 128 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ ../../src/lib/xbitmaps/bv1.xbm:44:15: note: insert an explicit cast to silence this issue 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ static_cast( ) ../../src/lib/xbitmaps/bv1.xbm:47:27: error: constant expression evaluates to 128 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ ../../src/lib/xbitmaps/bv1.xbm:47:27: note: insert an explicit cast to silence this issue 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ static_cast( ) ../../src/lib/xbitmaps/bv1.xbm:50:39: error: constant expression evaluates to 128 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ ../../src/lib/xbitmaps/bv1.xbm:50:39: note: insert an explicit cast to silence this issue 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ static_cast( ) ../../src/lib/xbitmaps/bv1.xbm:53:51: error: constant expression evaluates to 128 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x1c, 0x00, 0x00, ^~~~ ../../src/lib/xbitmaps/bv1.xbm:53:51: note: insert an explicit cast to silence this issue 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x1c, 0x00, 0x00, ^~~~ static_cast( ) ../../src/lib/xbitmaps/bv1.xbm:56:63: error: constant expression evaluates to 128 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x18, ^~~~ ../../src/lib/xbitmaps/bv1.xbm:56:63: note: insert an explicit cast to silence this issue 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x18, ^~~~ static_cast( ) ../../src/lib/xbitmaps/bv1.xbm:60:3: error: constant expression evaluates to 128 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x80, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ ../../src/lib/xbitmaps/bv1.xbm:60:3: note: insert an explicit cast to silence this issue 0x80, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ static_cast( ) ../../src/lib/xbitmaps/bv1.xbm:63:15: error: constant expression evaluates to 128 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00, 0x00, 0x80, 0x3c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ ../../src/lib/xbitmaps/bv1.xbm:63:15: note: insert an explicit cast to silence this issue 0x00, 0x00, 0x80, 0x3c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ static_cast( ) ../../src/lib/xbitmaps/bv1.xbm:66:27: error: constant expression evaluates to 128 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00, 0x00, 0x00, 0x00, 0x80, 0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ ../../src/lib/xbitmaps/bv1.xbm:66:27: note: insert an explicit cast to silence this issue 0x00, 0x00, 0x00, 0x00, 0x80, 0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ static_cast( ) ../../src/lib/xbitmaps/bv1.xbm:69:39: error: constant expression evaluates to 128 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x38, 0x00, 0x00, 0x00, 0x00, ^~~~ ../../src/lib/xbitmaps/bv1.xbm:69:39: note: insert an explicit cast to silence this issue 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x38, 0x00, 0x00, 0x00, 0x00, ^~~~ static_cast( ) ../../src/lib/xbitmaps/bv1.xbm:72:51: error: constant expression evaluates to 128 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x6c, 0x00, 0x00, ^~~~ ../../src/lib/xbitmaps/bv1.xbm:72:51: note: insert an explicit cast to silence this issue 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x6c, 0x00, 0x00, ^~~~ static_cast( ) ../../src/lib/xbitmaps/bv1.xbm:75:63: error: constant expression evaluates to 128 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x7c, ^~~~ ../../src/lib/xbitmaps/bv1.xbm:75:63: note: insert an explicit cast to silence this issue 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x7c, ^~~~ static_cast( ) ../../src/lib/xbitmaps/bv1.xbm:79:3: error: constant expression evaluates to 128 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x80, 0x7c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ ../../src/lib/xbitmaps/bv1.xbm:79:3: note: insert an explicit cast to silence this issue 0x80, 0x7c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ static_cast( ) ../../src/lib/xbitmaps/bv1.xbm:82:15: error: constant expression evaluates to 128 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00, 0x00, 0x80, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ ../../src/lib/xbitmaps/bv1.xbm:82:15: note: insert an explicit cast to silence this issue 0x00, 0x00, 0x80, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ static_cast( ) ../../src/lib/xbitmaps/bv1.xbm:85:33: error: constant expression evaluates to 254 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ ../../src/lib/xbitmaps/bv1.xbm:85:33: note: insert an explicit cast to silence this issue 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ static_cast( ) ../../src/lib/xbitmaps/bv1.xbm:91:51: error: constant expression evaluates to 128 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x18, 0x00, 0x00, ^~~~ ../../src/lib/xbitmaps/bv1.xbm:91:51: note: insert an explicit cast to silence this issue 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x18, 0x00, 0x00, ^~~~ static_cast( ) ../../src/lib/xbitmaps/bv1.xbm:98:3: error: constant expression evaluates to 128 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x80, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ ../../src/lib/xbitmaps/bv1.xbm:98:3: note: insert an explicit cast to silence this issue 0x80, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ^~~~ static_cast( ) ../../src/lib/xbitmaps/bv1.xbm:111:69: error: constant expression evaluates to 128 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, ^~~~ ../../src/lib/xbitmaps/bv1.xbm:111:69: note: insert an explicit cast to silence this issue 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, ^~~~ static_cast( ) fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. *** Error code 1 Stop. make[3]: stopped in /var/pkgsrc/work/sysutils/xnc/work/xnc-5.0.4/src/ives *** Error code 1 Stop. make[2]: stopped in /var/pkgsrc/work/sysutils/xnc/work/xnc-5.0.4/src/ives make ../../bin/xncsetup clang++ -c -I. -I../../src/lib/manage -I../../src/lib/image2/sdl_image -I../../src/au -I../../src/include/xnc -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include xh_setup.cxx -o xh_setup.o xh_setup.cxx:54:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.background","LeoProgs.Background",bgchr, ^ xh_setup.cxx:54:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.background","LeoProgs.Background",bgchr, ^ xh_setup.cxx:55:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.foreground","LeoProgs.Foreground",fgchr, ^ xh_setup.cxx:55:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.foreground","LeoProgs.Foreground",fgchr, ^ xh_setup.cxx:56:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.keys.background","LeoProgs.Keys.Background",kbgchr, ^ xh_setup.cxx:56:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.keys.background","LeoProgs.Keys.Background",kbgchr, ^ xh_setup.cxx:57:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.font","LeoProgs.Font",fontchr, ^ xh_setup.cxx:57:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.font","LeoProgs.Font",fontchr, ^ xh_setup.cxx:58:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.selectedcolor","LeoProgs.SelectedColor",selectchr, ^ xh_setup.cxx:58:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.selectedcolor","LeoProgs.SelectedColor",selectchr, ^ xh_setup.cxx:59:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.font.fixed","LeoProgs.Font.Fixed",fixfontchr, ^ xh_setup.cxx:59:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.font.fixed","LeoProgs.Font.Fixed",fixfontchr, ^ xh_setup.cxx:60:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.sysfiles.path","Xnc.SysFiles.Path",syspath, ^ xh_setup.cxx:60:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.sysfiles.path","Xnc.SysFiles.Path",syspath, ^ xh_setup.cxx:61:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.viewer.font","LeoProgs.Viewer.Font",vfontchr, ^ xh_setup.cxx:61:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.viewer.font","LeoProgs.Viewer.Font",vfontchr, ^ xh_setup.cxx:62:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.viewer.geometry","Xnc.Viewer.Geometry",viewgeom ^ xh_setup.cxx:62:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.viewer.geometry","Xnc.Viewer.Geometry",viewgeom ^ xh_setup.cxx:70:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.syscolor1","LeoProgs.SysColor1",bgchr1, ^ xh_setup.cxx:70:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.syscolor1","LeoProgs.SysColor1",bgchr1, ^ xh_setup.cxx:71:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.syscolor2","LeoProgs.SysColor2",bgchr2, ^ xh_setup.cxx:71:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.syscolor2","LeoProgs.SysColor2",bgchr2, ^ xh_setup.cxx:72:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.syscolor3","LeoProgs.SysColor3",bgchr3, ^ xh_setup.cxx:72:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.syscolor3","LeoProgs.SysColor3",bgchr3, ^ xh_setup.cxx:73:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.syscolor4","LeoProgs.SysColor4",bgchr4, ^ xh_setup.cxx:73:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.syscolor4","LeoProgs.SysColor4",bgchr4, ^ xh_setup.cxx:74:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.syscolor5","LeoProgs.SysColor5",bgchr5, ^ xh_setup.cxx:74:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.syscolor5","LeoProgs.SysColor5",bgchr5, ^ xh_setup.cxx:75:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.syscolor6","LeoProgs.SysColor6",bgchr6, ^ xh_setup.cxx:75:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.syscolor6","LeoProgs.SysColor6",bgchr6, ^ xh_setup.cxx:111:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *icname="IVES"; ^ xh_setup.cxx:206:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pch->res_name="leoprogs"; ^ xh_setup.cxx:207:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pch->res_class="LeoProgs"; ^ xh_setup.cxx:287:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pch->res_name="ives"; ^ xh_setup.cxx:288:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pch->res_class="IVES"; ^ xh_setup.cxx:309:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "unknown"; ^ xh_setup.cxx:314:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "unknown"; ^ 37 warnings generated. clang++ -c -I. -I../../src/lib/manage -I../../src/lib/image2/sdl_image -I../../src/au -I../../src/include/xnc -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include setup.cxx -o setup.o setup.cxx:31:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *xnc_dir=XNC_DIR; ^ ./xh.h:51:17: note: expanded from macro 'XNC_DIR' #define XNC_DIR "/usr/local/lib/xnc/data" ^ setup.cxx:41:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, err); ^~~ setup.cxx:41:21: note: treat the string as an argument to avoid this fprintf(stderr, err); ^ "%s", setup.cxx:92:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *rel_dir="./data"; ^ setup.cxx:124:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] KEY qok(-25,-15,80,25,_noop("Exit"),1,fmes); ^ setup.cxx:125:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] KEY qapp(-115,-15,80,25,_noop("Save"),2,gen_ini); ^ setup.cxx:126:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Text tsys(10,60,_noop("Sysfiles Path:"),1); ^ setup.cxx:127:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Text tgeom(10,90,_noop("XNC Geometry:"),1); ^ setup.cxx:128:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Text tedit(10,120,_noop("XNC Editor:"),1); ^ setup.cxx:129:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Text tview(10,150,_noop("XNC Viewer:"),1); ^ setup.cxx:130:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Text tfont(10,50,_noop("Font Name:"),1); ^ setup.cxx:150:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Win mesw(100,100,250,110,_noop("Exit prompt"),1); ^ setup.cxx:151:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Text mest(40,50,_noop("Save configuration?"),1); ^ setup.cxx:152:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] KEY meskok(20,-10,100,25,_noop("Save"),2,fmeskok); ^ setup.cxx:153:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] KEY meskcan(-20,-10,100,25,_noop("Don't save"),1,fqok); ^ setup.cxx:162:8: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] ks=XKeycodeToKeysym(disp,keycode,0); ^ /var/pkgsrc/work/sysutils/xnc/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /var/pkgsrc/work/sysutils/xnc/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ setup.cxx:219:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] parse_file_in_replace_mode("/xnc.keys"); ^ setup.cxx:255:8: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] ks=XKeycodeToKeysym(disp,ev.xkey.keycode,0); ^ /var/pkgsrc/work/sysutils/xnc/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /var/pkgsrc/work/sysutils/xnc/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ setup.cxx:311:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MenuItem milay[]={menu_none, _noop("Vertical"),1,layfunc,NULL,0, no_icon, AEmpty, ^ setup.cxx:312:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("Horizontal"),1,layfunc,NULL,0, no_icon, AEmpty, ^ setup.cxx:313:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("Page"),1,layfunc,NULL,0, no_icon, AEmpty}; ^ setup.cxx:315:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MenuItem mifont[]={menu_none, _noop("Main Font"),1,fontfunc,NULL,0, no_icon, AEmpty, ^ setup.cxx:316:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("Panels Font"),1,fontfunc,NULL,0, no_icon, AEmpty, ^ setup.cxx:317:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("Fixed Font"),1,fontfunc,NULL,0, no_icon, AEmpty, ^ setup.cxx:318:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("IVES Font"),1,fontfunc,NULL,0, no_icon, AEmpty, ^ setup.cxx:319:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("Mini Fixed Font"),1,fontfunc,NULL,0, no_icon, AEmpty}; ^ setup.cxx:322:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MenuItem micols[]={menu_none, _noop("Background"),1,colfunc,NULL,0, no_icon, AEmpty, ^ setup.cxx:323:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("Shadow color"),1,colfunc,NULL,0, no_icon, AEmpty, ^ setup.cxx:324:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("Text color"),1,colfunc,NULL,0, no_icon, AEmpty, ^ setup.cxx:325:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("Text warning"),1,colfunc,NULL,0, no_icon, AEmpty, ^ setup.cxx:326:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("Text color 2"),1,colfunc,NULL,0, no_icon, AEmpty, ^ setup.cxx:327:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("Cursor color"),1,colfunc,NULL,0, no_icon, AEmpty, ^ setup.cxx:328:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("Panel Info"),1,colfunc,NULL,0, no_icon, AEmpty, ^ setup.cxx:329:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("Selected file"),1,colfunc,NULL,0, no_icon, AEmpty, ^ setup.cxx:330:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("Extension file"),1,colfunc,NULL,0, no_icon, AEmpty, ^ setup.cxx:331:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("Normal file"),1,colfunc,NULL,0, no_icon, AEmpty, ^ setup.cxx:332:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("Directory"),1,colfunc,NULL,0, no_icon, AEmpty, ^ setup.cxx:333:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("Execution file"),1,colfunc,NULL,0, no_icon, AEmpty, ^ setup.cxx:334:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("Link file"),1,colfunc,NULL,0, no_icon, AEmpty, ^ setup.cxx:335:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("Archive file"),1,colfunc,NULL,0, no_icon, AEmpty, ^ setup.cxx:336:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("Image file"),1,colfunc,NULL,0, no_icon, AEmpty ^ setup.cxx:360:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] KeyWin(): Win(120,120,240,90,_noop("Define Key"),1,0) {}; ^ setup.cxx:435:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if(next->next) XSetInputFocus(disp,next->next->w,RevertToNone,CurrentTime); ^ setup.cxx:636:47: warning: illegal character encoding in string literal [-Winvalid-source-encoding] tx=XTextWidth(font,"ABCDEFsdfghjk1234567890{}",30)/2; ^~~~~~~~~~~~~~~~~~~~ setup.cxx:638:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ABCDEFsdfghjk1234567890{}",30); ^~~~~~~~~~~~~~~~~~~~ setup.cxx:654:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *umem="../WHATS_NEW"; ^ setup.cxx:674:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Sw_panel slay(20,220,200,_noop("XNC Layout"),milay,3); ^ setup.cxx:675:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Sw_panel sfont(10,250,160,_noop("Fonts"),mifont,5); ^ setup.cxx:676:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Sw_panel scols(10,30,150,_noop("Colors"),micols,15); ^ setup.cxx:680:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PicShower clipl(370,67,131,200,"../xncclip.gif",14); ^ setup.cxx:681:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Text tclip(370,60,_noop("Example:"),1); ^ setup.cxx:688:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Text tred(190,60,"R:",2); ^ setup.cxx:689:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Text tgreen(250,60,"G:",3); ^ setup.cxx:690:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Text tblue(310,60,"B:",4); ^ setup.cxx:1036:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MenuItem miup[]={menu_none, _noop("Always"),0,NULL,NULL,0, no_icon, AEmpty, ^ setup.cxx:1037:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("Never"),0,NULL,NULL,0, no_icon, AEmpty, ^ setup.cxx:1038:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_none, _noop("Prompt"),0,NULL,NULL,0, no_icon, AEmpty}; ^ setup.cxx:1045:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Text tkey(10,45,_noop("Hot Keys to XNC Actions mapping:"),1); ^ setup.cxx:1047:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] KEY kkey1(25,385,100,25,_noop("Key1"),1,keyfunc1); ^ setup.cxx:1048:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] KEY kkey2(140,385,100,25,_noop("Key2"),1,keyfunc2); ^ setup.cxx:1049:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] KEY kkey3(250,385,100,25,_noop("Key3"),1,keyfunc3); ^ setup.cxx:1050:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] KEY kkey4(390,385,100,25,_noop("Clear"),2,clear_actionkey); ^ setup.cxx:1051:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Text tterm(10,45,_noop("IVES->XNC:"),1); ^ setup.cxx:1052:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Switch swsticky(20,65,180,_noop("Sticky terminal"),1); ^ setup.cxx:1053:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Switch swraise(20,95,240,_noop("Raise terminal on exec"),1); ^ setup.cxx:1054:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Switch swfocus(20,65,240,_noop("Return Focus from IVES"),1); ^ setup.cxx:1055:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Text tbookmark(10,125,_noop("Bookmark Options:"),1); ^ setup.cxx:1056:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Switch swbook(20,145,200,_noop("Enable Bookmark"),1); ^ setup.cxx:1057:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Switch swanim(250,200,270,_noop("Allow Bookmark animation"),1); ^ setup.cxx:1058:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Text ticons(10,190,_noop("AFS Options:"),1); ^ setup.cxx:1059:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Switch swdiricon(20,265,290,_noop("Show icons with directory names"),1); ^ setup.cxx:1060:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Switch swfileicon(20,295,230,_noop("Show icons with files"),1); ^ setup.cxx:1061:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Sw_panel supdate(60,220,200,_noop("Update archieve on exit"),miup,3); ^ setup.cxx:1062:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *pn[5]={_noop("Common"),_noop("Colors"),_noop("Fonts"),_noop("Keys"),_noop("Other")}; ^ setup.cxx:1062:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *pn[5]={_noop("Common"),_noop("Colors"),_noop("Fonts"),_noop("Keys"),_noop("Other")}; ^ setup.cxx:1062:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *pn[5]={_noop("Common"),_noop("Colors"),_noop("Fonts"),_noop("Keys"),_noop("Other")}; ^ setup.cxx:1062:67: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *pn[5]={_noop("Common"),_noop("Colors"),_noop("Fonts"),_noop("Keys"),_noop("Other")}; ^ setup.cxx:1062:81: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *pn[5]={_noop("Common"),_noop("Colors"),_noop("Fonts"),_noop("Keys"),_noop("Other")}; ^ setup.cxx:1063:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *traise="yes"; ^ setup.cxx:1064:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *tsticky="yes"; ^ setup.cxx:1065:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *ret_foc="yes"; ^ setup.cxx:1066:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *book_anim="yes"; ^ setup.cxx:1067:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *book_show="yes"; ^ setup.cxx:1068:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *dir_icon="yes"; ^ setup.cxx:1069:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *file_icon="yes"; ^ setup.cxx:1070:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *update_chr="never"; ^ setup.cxx:1080:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *chncols[]={"northgui.color.background", ^ setup.cxx:1081:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "northgui.color.shadow", ^ setup.cxx:1082:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "northgui.color.text", ^ setup.cxx:1083:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "northgui.color.text_warn", ^ setup.cxx:1084:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "northgui.color.text2", ^ setup.cxx:1085:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "northgui.color.cursor", ^ setup.cxx:1086:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.info", ^ setup.cxx:1087:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.selected_file", ^ setup.cxx:1088:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.extension_file", ^ setup.cxx:1089:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.normal_file", ^ setup.cxx:1090:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.directory_file", ^ setup.cxx:1091:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.execution_file", ^ setup.cxx:1092:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.link_file", ^ setup.cxx:1093:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.afs_file", ^ setup.cxx:1094:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.image_file"}; ^ setup.cxx:1100:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *clay[]={_noop("vertical"),_noop("horizontal"),_noop("page")}; ^ setup.cxx:1100:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *clay[]={_noop("vertical"),_noop("horizontal"),_noop("page")}; ^ setup.cxx:1100:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *clay[]={_noop("vertical"),_noop("horizontal"),_noop("page")}; ^ setup.cxx:1119:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(fp,tmp); ^~~ setup.cxx:1119:17: note: treat the string as an argument to avoid this fprintf(fp,tmp); ^ "%s", setup.cxx:1121:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(swsticky.sw) tsticky="yes"; else tsticky="no"; ^ setup.cxx:1121:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(swsticky.sw) tsticky="yes"; else tsticky="no"; ^ setup.cxx:1122:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(swraise.sw) traise="yes"; else traise="no"; ^ setup.cxx:1122:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(swraise.sw) traise="yes"; else traise="no"; ^ setup.cxx:1123:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(swfocus.sw) ret_foc="yes"; else ret_foc="no"; ^ setup.cxx:1123:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(swfocus.sw) ret_foc="yes"; else ret_foc="no"; ^ setup.cxx:1124:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(swbook.sw) book_show="yes"; else book_show="no"; ^ setup.cxx:1124:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(swbook.sw) book_show="yes"; else book_show="no"; ^ setup.cxx:1125:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(swanim.sw) book_anim="yes"; else book_anim="no"; ^ setup.cxx:1125:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(swanim.sw) book_anim="yes"; else book_anim="no"; ^ setup.cxx:1126:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(swdiricon.sw) dir_icon="yes"; else dir_icon="no"; ^ setup.cxx:1126:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(swdiricon.sw) dir_icon="yes"; else dir_icon="no"; ^ setup.cxx:1127:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(swfileicon.sw) file_icon="yes"; else file_icon="no"; ^ setup.cxx:1127:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(swfileicon.sw) file_icon="yes"; else file_icon="no"; ^ setup.cxx:1128:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(supdate.get(0)) update_chr="always"; else ^ setup.cxx:1129:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(supdate.get(1)) update_chr="never"; else update_chr="prompt"; ^ setup.cxx:1129:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(supdate.get(1)) update_chr="never"; else update_chr="prompt"; ^ setup.cxx:1163:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gen_key_file("/xnc.keys"); ^ setup.cxx:1164:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gen_inis(ininame,"X Northern Captain.......",0); ^ setup.cxx:1165:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gen_inis("/ives.ini","IVES......."); ^ setup.cxx:1165:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gen_inis("/ives.ini","IVES......."); ^ setup.cxx:1225:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "northgui.color.background","northgui.color.background",colchr1, ^ setup.cxx:1225:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "northgui.color.background","northgui.color.background",colchr1, ^ setup.cxx:1226:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "northgui.color.shadow","northgui.color.shadow",colchr2, ^ setup.cxx:1226:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "northgui.color.shadow","northgui.color.shadow",colchr2, ^ setup.cxx:1227:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "northgui.color.text","northgui.color.text",colchr3, ^ setup.cxx:1227:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "northgui.color.text","northgui.color.text",colchr3, ^ setup.cxx:1228:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "northgui.color.text_warn","northgui.color.text_warn",colchr4, ^ setup.cxx:1228:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "northgui.color.text_warn","northgui.color.text_warn",colchr4, ^ setup.cxx:1229:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "northgui.color.text2","northgui.color.text2",colchr5, ^ setup.cxx:1229:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "northgui.color.text2","northgui.color.text2",colchr5, ^ setup.cxx:1230:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "northgui.color.cursor","northgui.color.cursor",colchr6, ^ setup.cxx:1230:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "northgui.color.cursor","northgui.color.cursor",colchr6, ^ setup.cxx:1231:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.info","xnc.panel_color.info",colchr7, ^ setup.cxx:1231:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.info","xnc.panel_color.info",colchr7, ^ setup.cxx:1232:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.selected_file","xnc.panel_color.selected_file",colchr8, ^ setup.cxx:1232:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.selected_file","xnc.panel_color.selected_file",colchr8, ^ setup.cxx:1233:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.extension_file","xnc.panel_color.extension_file",colchr9, ^ setup.cxx:1233:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.extension_file","xnc.panel_color.extension_file",colchr9, ^ setup.cxx:1234:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.normal_file","xnc.panel_color.normal_file",colchr9, ^ setup.cxx:1234:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.normal_file","xnc.panel_color.normal_file",colchr9, ^ setup.cxx:1235:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.directory_file","xnc.panel_color.directory_file",colchr10, ^ setup.cxx:1235:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.directory_file","xnc.panel_color.directory_file",colchr10, ^ setup.cxx:1236:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.execution_file","xnc.panel_color.execution_file",colchr11, ^ setup.cxx:1236:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.execution_file","xnc.panel_color.execution_file",colchr11, ^ setup.cxx:1237:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.link_file","xnc.panel_color.link_file",colchr12, ^ setup.cxx:1237:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.link_file","xnc.panel_color.link_file",colchr12, ^ setup.cxx:1238:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.afs_file","xnc.panel_color.afs_file",colchr13, ^ setup.cxx:1238:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.afs_file","xnc.panel_color.afs_file",colchr13, ^ setup.cxx:1239:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.image_file","xnc.panel_color.image_file",colchr14 ^ setup.cxx:1239:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.panel_color.image_file","xnc.panel_color.image_file",colchr14 ^ setup.cxx:1246:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.font","LeoProgs.Font",colchr, ^ setup.cxx:1246:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.font","LeoProgs.Font",colchr, ^ setup.cxx:1247:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.list.font","LeoProgs.List.Font",colchr, ^ setup.cxx:1247:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.list.font","LeoProgs.List.Font",colchr, ^ setup.cxx:1248:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.font.fixed","LeoProgs.Font.Fixed",colchr, ^ setup.cxx:1248:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.font.fixed","LeoProgs.Font.Fixed",colchr, ^ setup.cxx:1249:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.viewer.font","LeoProgs.Viewer.Font",colchr, ^ setup.cxx:1249:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.viewer.font","LeoProgs.Viewer.Font",colchr, ^ setup.cxx:1250:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.font.minifixed","LeoProgs.Font.MiniFixed",colchr ^ setup.cxx:1250:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.font.minifixed","LeoProgs.Font.MiniFixed",colchr ^ setup.cxx:1255:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.sysfiles.path","Xnc.SysFiles.Path",colchr, ^ setup.cxx:1255:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.sysfiles.path","Xnc.SysFiles.Path",colchr, ^ setup.cxx:1256:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.editor.name","Xnc.Editor.Name",colchr, ^ setup.cxx:1256:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.editor.name","Xnc.Editor.Name",colchr, ^ setup.cxx:1257:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.viewer.name","Xnc.Viewer.Name",colchr, ^ setup.cxx:1257:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.viewer.name","Xnc.Viewer.Name",colchr, ^ setup.cxx:1258:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.geometry","Xnc.Geometry",colchr, ^ setup.cxx:1258:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.geometry","Xnc.Geometry",colchr, ^ setup.cxx:1259:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.focus.return","LeoProgs.Focus.Return",ret_foc, ^ setup.cxx:1259:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.focus.return","LeoProgs.Focus.Return",ret_foc, ^ setup.cxx:1260:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.bookmark.show_and_use","Xnc.BookMark.Show_and_Use",book_show, ^ setup.cxx:1260:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.bookmark.show_and_use","Xnc.BookMark.Show_and_Use",book_show, ^ setup.cxx:1261:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.afs.update","Xnc.AFS.Update",update_chr ^ setup.cxx:1261:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnc.afs.update","Xnc.AFS.Update",update_chr ^ setup.cxx:1324:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if(strcmp(rmv.addr,"horizontal")==0) {slay.set(1,1);gifl.setpage(1);xnclay=1;} ^ setup.cxx:1451:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gifl.load("../xncvert.gif"); ^ setup.cxx:1452:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gifl.load("../xnchor.gif"); ^ setup.cxx:1453:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gifl.load("../xncpage.gif"); ^ 183 warnings generated. clang -c -O2 -I/usr/pkg/include -I/usr/include -I. -I../../src/lib/manage -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H em.c -o em.o clang -c -O2 -I/usr/pkg/include -I/usr/include -I. -I../../src/lib/manage -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H sfiles.c -o sfiles.o clang++ -c -I. -I../../src/lib/manage -I../../src/lib/image2/sdl_image -I../../src/au -I../../src/include/xnc -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include ../au/au_lex.cxx -o ../au/au_lex.o clang++ -c -I. -I../../src/lib/manage -I../../src/lib/image2/sdl_image -I../../src/au -I../../src/include/xnc -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include ../au/key.cxx -o ../au/key.o ../au/key.cxx:158:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] keydm->set_terminators(";:+"); ^ ../au/key.cxx:191:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] keydm->set_terminators(";:+"); ^ ../au/key.cxx:211:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] keydm->set_terminators(";:+"); ^ ../au/key.cxx:229:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] key_error("Unsupported symbol!"); ^ ../au/key.cxx:243:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] key_error("Not an action!"); ^ ../au/key.cxx:250:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] key_error("Missing ':'"); ^ ../au/key.cxx:289:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] key_error("Missing ';'"); ^ ../au/key.cxx:308:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] key_error("Not an action!"); ^ ../au/key.cxx:314:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] key_error("Missing ':'"); ^ ../au/key.cxx:354:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] key_error("Missing ';'"); ^ ../au/key.cxx:422:32: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] strcat(to, XKeysymToString(XKeycodeToKeysym(disp, act->keys[idx], 0))); ^ /var/pkgsrc/work/sysutils/xnc/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /var/pkgsrc/work/sysutils/xnc/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ 11 warnings generated. clang++ -c -I. -I../../src/lib/manage -I../../src/lib/image2/sdl_image -I../../src/au -I../../src/include/xnc -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include ../au/au_tree.cxx -o ../au/au_tree.o clang++ -c -I. -I../../src/lib/manage -I../../src/lib/image2/sdl_image -I../../src/au -I../../src/include/xnc -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include ../tartest.cxx -o ../tartest.o ../tartest.cxx:540:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(create_file(path,"tartest.tar",tartest_chr,tartest_chr_size)==0) return 0; ^ 1 warning generated. clang++ -c -I. -I../../src/lib/manage -I../../src/lib/image2/sdl_image -I../../src/au -I../../src/include/xnc -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include dummyfuncs.cxx -o dummyfuncs.o make[3]: don't know how to make ../../lib/libxnctool.a. Stop make[3]: stopped in /var/pkgsrc/work/sysutils/xnc/work/xnc-5.0.4/src/xsetup *** Error code 2 Stop. make[2]: stopped in /var/pkgsrc/work/sysutils/xnc/work/xnc-5.0.4/src/xsetup make ../../bin/xnlaunch clang++ -c -I. -I../../src/lib/manage -I../../src/au -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include xh_launch.cxx -o xh_launch.o xh_launch.cxx:19:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *searchpath="/usr/local/X11/include/X11/pixmaps"; ^ xh_launch.cxx:29:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *bgchr="white", ^ xh_launch.cxx:30:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] *fgchr="black", ^ xh_launch.cxx:31:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] *fontchr="fixed", ^ xh_launch.cxx:32:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] *lfontchr="fixed", ^ xh_launch.cxx:33:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] *vfontchr="fixed", ^ xh_launch.cxx:34:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] *fixfontchr="fixed", ^ xh_launch.cxx:35:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] *kbgchr="light blue", ^ xh_launch.cxx:37:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] *selectchr="#4000f0", ^ xh_launch.cxx:38:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] *syspath=".", ^ xh_launch.cxx:39:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] *geometrychr="0x1000+0+0", ^ xh_launch.cxx:40:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] *viewgeom="30x30+20+40", ^ xh_launch.cxx:41:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] *padsizechr="1x20"; ^ xh_launch.cxx:49:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.background","LeoProgs.Background",&bgchr, ^ xh_launch.cxx:49:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.background","LeoProgs.Background",&bgchr, ^ xh_launch.cxx:50:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.foreground","LeoProgs.Foreground",&fgchr, ^ xh_launch.cxx:50:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.foreground","LeoProgs.Foreground",&fgchr, ^ xh_launch.cxx:51:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.keys.background","LeoProgs.Keys.Background",&kbgchr, ^ xh_launch.cxx:51:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.keys.background","LeoProgs.Keys.Background",&kbgchr, ^ xh_launch.cxx:52:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.font","LeoProgs.Font",&fontchr, ^ xh_launch.cxx:52:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.font","LeoProgs.Font",&fontchr, ^ xh_launch.cxx:53:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnlaunch.geometry","XnLaunch.Geometry",&viewgeom, ^ xh_launch.cxx:53:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnlaunch.geometry","XnLaunch.Geometry",&viewgeom, ^ xh_launch.cxx:54:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnlaunch.pad.size","XnLaunch.Pad.Size",&padsizechr, ^ xh_launch.cxx:54:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnlaunch.pad.size","XnLaunch.Pad.Size",&padsizechr, ^ xh_launch.cxx:55:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnlaunch.pixmaps.searchpath","XnLaunch.Pixmaps.SearchPath",&searchpath ^ xh_launch.cxx:55:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "xnlaunch.pixmaps.searchpath","XnLaunch.Pixmaps.SearchPath",&searchpath ^ xh_launch.cxx:62:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.syscolor1","LeoProgs.SysColor1",&bgchr, ^ xh_launch.cxx:62:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.syscolor1","LeoProgs.SysColor1",&bgchr, ^ xh_launch.cxx:63:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.syscolor2","LeoProgs.SysColor2",&bgchr, ^ xh_launch.cxx:63:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.syscolor2","LeoProgs.SysColor2",&bgchr, ^ xh_launch.cxx:64:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.syscolor3","LeoProgs.SysColor3",&bgchr ^ xh_launch.cxx:64:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "leoprogs.syscolor3","LeoProgs.SysColor3",&bgchr ^ xh_launch.cxx:217:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pch->res_name="xnlaunch"; ^ xh_launch.cxx:218:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pch->res_class="XNLAUNCH"; ^ xh_launch.cxx:296:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pch->res_name="xnlaunch"; ^ xh_launch.cxx:297:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pch->res_class="XNLAUNCH"; ^ 37 warnings generated. clang++ -c -I. -I../../src/lib/manage -I../../src/au -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include xnlaunch.cxx -o xnlaunch.o xnlaunch.cxx:20:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *vers="v1.0.2"; ^ xnlaunch.cxx:124:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] loadmenu(".launch.menu"); ^ 2 warnings generated. clang -c -O2 -I/usr/pkg/include -I/usr/include -I. -I../../src/lib/manage -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H em.c -o em.o clang++ -c -I. -I../../src/lib/manage -I../../src/au -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include lbutton.cxx -o lbutton.o clang++ -c -I. -I../../src/lib/manage -I../../src/au -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include ../au/au.cxx -o ../au/au.o ../au/au.cxx:233:34: warning: unsequenced modification and access to 'i' [-Wunsequenced] while(s[i]!=0 && i<9) sep[i]=s[i++]; ~ ^ ../au/au.cxx:284:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("No current support"); ^ ../au/au.cxx:295:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("No syntax found or wrong syntax"); ^ ../au/au.cxx:313:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("No current support"); ^ ../au/au.cxx:319:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing separator ':'"); ^ ../au/au.cxx:327:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Must be digital constant"); ^ ../au/au.cxx:339:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("No current support"); ^ ../au/au.cxx:345:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing separator ':'"); ^ ../au/au.cxx:353:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Must be character string"); ^ ../au/au.cxx:365:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] swarning("No support name"); ^ ../au/au.cxx:371:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Previous support not closed"); ^ ../au/au.cxx:387:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("No current support"); ^ ../au/au.cxx:392:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing separator ':'"); ^ ../au/au.cxx:442:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing end of sequence ';'"); ^ ../au/au.cxx:453:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("No current support"); ^ ../au/au.cxx:458:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing separator ':'"); ^ ../au/au.cxx:486:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing end of sequence ';'"); ^ ../au/au.cxx:497:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("No current support"); ^ ../au/au.cxx:503:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing separator ':'"); ^ ../au/au.cxx:523:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing end of sequence ';'"); ^ ../au/au.cxx:534:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("No current support"); ^ ../au/au.cxx:540:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing separator ':'"); ^ ../au/au.cxx:561:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing end of sequence ';'"); ^ ../au/au.cxx:572:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("No current support"); ^ ../au/au.cxx:578:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing separator ':'"); ^ ../au/au.cxx:599:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing end of sequence ';'"); ^ ../au/au.cxx:610:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("No current support"); ^ ../au/au.cxx:616:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing separator ':'"); ^ ../au/au.cxx:637:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing end of sequence ';'"); ^ ../au/au.cxx:648:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("No current support"); ^ ../au/au.cxx:654:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing separator ':'"); ^ ../au/au.cxx:675:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing end of sequence ';'"); ^ ../au/au.cxx:686:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("No current support"); ^ ../au/au.cxx:692:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing separator ':'"); ^ ../au/au.cxx:713:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing end of sequence ';'"); ^ ../au/au.cxx:724:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("No current support"); ^ ../au/au.cxx:730:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing separator ':'"); ^ ../au/au.cxx:751:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing end of sequence ';'"); ^ ../au/au.cxx:762:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("No current support"); ^ ../au/au.cxx:768:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing separator ':'"); ^ ../au/au.cxx:789:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing end of sequence ';'"); ^ ../au/au.cxx:800:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("No current support"); ^ ../au/au.cxx:806:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing separator ':'"); ^ ../au/au.cxx:827:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing end of sequence ';'"); ^ ../au/au.cxx:836:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("No current support"); ^ ../au/au.cxx:842:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing separator ':'"); ^ ../au/au.cxx:850:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing end of sequence ';'"); ^ ../au/au.cxx:929:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] dm->set_terminators(";:@"); ^ ../au/au.cxx:963:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] serror("Missing operator"); ^ ../au/au.cxx:1048:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(comp_sup("Compiling AFS supports:", str, sup_init, aufuncs)==0) ^ 50 warnings generated. clang++ -c -I. -I../../src/lib/manage -I../../src/au -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include loadmenu.cxx -o loadmenu.o loadmenu.cxx:97:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] s1=find_chars(str1,"\":"); ^ loadmenu.cxx:104:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] s1=find_chars(s1+1,":"); ^ loadmenu.cxx:112:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] s1=find_chars(s1,":"); ^ 3 warnings generated. make[3]: don't know how to make ../../lib/libxnctool.a. Stop make[3]: stopped in /var/pkgsrc/work/sysutils/xnc/work/xnc-5.0.4/src/launch *** Error code 2 Stop. make[2]: stopped in /var/pkgsrc/work/sysutils/xnc/work/xnc-5.0.4/src/launch make ../../bin/xjpegroot clang++ -c -I. -I../../intl -I../../src/include -I../../src/lib/northgui -I../../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include xjpegroot.cxx -o xjpegroot.o clang++ -o ../../bin/xjpegroot xjpegroot.o ../../lib/libie.a -lpng -lz -ltiff -lSM -lICE -lX11 -lXext ../../intl/libintl.a -ldl -lm -ljpeg -export-dynamic -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib /usr/bin/ld: warning: cannot find entry symbol xport-dynamic; defaulting to 0000000000402850 make ../bin/xnc clang++ -c -I../src/include/xnc -I../src/lib/manage -I../src/au -I../src/lib/vfs -I../src/lib/vfs/ftplib -I../src/lib/xbitmaps -I../src/lib/rxvt2 -I../src/lib/filedir -I../intl -I../src/include -I../src/lib/northgui -I../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include base_cap.cxx -o base_cap.o In file included from base_cap.cxx:16: In file included from ../src/include/xnc/base_cap.h:5: ../src/lib/vfs/vfs.h:81:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] VFS(int fst = VFS_TYPE, char *pref = "VFS", int need_prefix = 1) ^ ../src/lib/vfs/vfs.h:210:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] FTP() : VFS(FTP_TYPE, "FTP") ^ ../src/lib/vfs/vfs.h:297:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] AFS() : VFS(AFS_TYPE, "ARC") ^ ../src/lib/vfs/vfs.h:364:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DFS() : VFS(DFS_TYPE, "DFS", 0) {}; ^ base_cap.cxx:319:11: warning: destination for this 'memcpy' call is a pointer to dynamic class 'DFS'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] memcpy(df, v, sizeof(DFS)); ~~~~~~ ^ base_cap.cxx:319:11: note: explicitly cast the pointer to silence this warning memcpy(df, v, sizeof(DFS)); ^ (void*) base_cap.cxx:326:11: warning: destination for this 'memcpy' call is a pointer to dynamic class 'VFS'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] memcpy(o, v, sizeof(AFS)); ~~~~~~ ^ base_cap.cxx:326:11: note: explicitly cast the pointer to silence this warning memcpy(o, v, sizeof(AFS)); ^ (void*) base_cap.cxx:332:11: warning: destination for this 'memcpy' call is a pointer to dynamic class 'VFS'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] memcpy(o, v, sizeof(FTP)); ~~~~~~ ^ base_cap.cxx:332:11: note: explicitly cast the pointer to silence this warning memcpy(o, v, sizeof(FTP)); ^ (void*) base_cap.cxx:358:11: warning: destination for this 'memcpy' call is a pointer to dynamic class 'DFS'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] memcpy(&dfs, o, sizeof(DFS)); ~~~~~~ ^ base_cap.cxx:358:11: note: explicitly cast the pointer to silence this warning memcpy(&dfs, o, sizeof(DFS)); ^ (void*) base_cap.cxx:366:11: warning: destination for this 'memcpy' call is a pointer to dynamic class 'AFS'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] memcpy(&afs, o, sizeof(AFS)); ~~~~~~ ^ base_cap.cxx:366:11: note: explicitly cast the pointer to silence this warning memcpy(&afs, o, sizeof(AFS)); ^ (void*) base_cap.cxx:380:11: warning: destination for this 'memcpy' call is a pointer to dynamic class 'FTP'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] memcpy(&ftp, o, sizeof(FTP)); ~~~~~~ ^ base_cap.cxx:380:11: note: explicitly cast the pointer to silence this warning memcpy(&ftp, o, sizeof(FTP)); ^ (void*) base_cap.cxx:403:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("VFS", "Can't change to dir"); ^ base_cap.cxx:403:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("VFS", "Can't change to dir"); ^ base_cap.cxx:405:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs->chdir(".."); ^ base_cap.cxx:452:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] direc("."); ^ base_cap.cxx:460:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] do_simple_dialog("Enter your password",FFTPCONPWD,0); ^ base_cap.cxx:512:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] direc("."); ^ base_cap.cxx:540:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("FTP", _("Can't change to dir")); ^ base_cap.cxx:542:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs->chdir(".."); ^ base_cap.cxx:564:15: warning: first operand of this 'memcmp' call is a pointer to dynamic class 'VFS'; vtable pointer will be compared [-Wdynamic-class-memaccess] res=memcmp(vf,vfs,sizeof(DFS)); ~~~~~~ ^ base_cap.cxx:564:15: note: explicitly cast the pointer to silence this warning res=memcmp(vf,vfs,sizeof(DFS)); ^ (void*) base_cap.cxx:567:15: warning: first operand of this 'memcmp' call is a pointer to dynamic class 'VFS'; vtable pointer will be compared [-Wdynamic-class-memaccess] res=memcmp(vf,vfs,sizeof(AFS)); ~~~~~~ ^ base_cap.cxx:567:15: note: explicitly cast the pointer to silence this warning res=memcmp(vf,vfs,sizeof(AFS)); ^ (void*) base_cap.cxx:570:15: warning: first operand of this 'memcmp' call is a pointer to dynamic class 'VFS'; vtable pointer will be compared [-Wdynamic-class-memaccess] res=memcmp(vf,vfs,sizeof(FTP)); ~~~~~~ ^ base_cap.cxx:570:15: note: explicitly cast the pointer to silence this warning res=memcmp(vf,vfs,sizeof(FTP)); ^ (void*) base_cap.cxx:593:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs->chdir(".."); ^ base_cap.cxx:1348:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fserror("Make directory", o); ^ base_cap.cxx:1517:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] to_vfs=(AFS*)define_vfs("afs",tmpstr); ^ base_cap.cxx:1541:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] to_vfs=(AFS*)define_vfs("afs",tmpstr); ^ base_cap.cxx:1546:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs_error("AFS", _("Can't access TMP dir")); ^ base_cap.cxx:1553:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ret=to_vfs->create_archive_from_files(".", 0); ^ base_cap.cxx:2031:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vfs->chdir(".."); ^ base_cap.cxx:2061:47: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] sprintf(to, "%s/.%d/%d", syspath, getpid(), t); ~~ ^ %ld 29 warnings generated. clang++ -c -I../src/include/xnc -I../src/lib/manage -I../src/au -I../src/lib/vfs -I../src/lib/vfs/ftplib -I../src/lib/xbitmaps -I../src/lib/rxvt2 -I../src/lib/filedir -I../intl -I../src/include -I../src/lib/northgui -I../src/lib/image2 -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -DOLD_STYLE -O2 -I/usr/pkg/include -I/usr/include bookmark.cxx -o bookmark.o In file included from bookmark.cxx:15: In file included from ../src/include/xnc/bookmark.h:3: In file included from ../src/include/xnc/panel.h:4: In file included from ../src/include/xnc/base_cap.h:5: ../src/lib/vfs/vfs.h:81:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] VFS(int fst = VFS_TYPE, char *pref = "VFS", int need_prefix = 1) ^ ../src/lib/vfs/vfs.h:210:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] FTP() : VFS(FTP_TYPE, "FTP") ^ ../src/lib/vfs/vfs.h:297:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] AFS() : VFS(AFS_TYPE, "ARC") ^ ../src/lib/vfs/vfs.h:364:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DFS() : VFS(DFS_TYPE, "DFS", 0) {}; ^ In file included from bookmark.cxx:17: ../src/lib/xbitmaps/recmask.xbm:4:7: error: constant expression evaluates to 248 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00,0xf8,0x03,0x00,0x00,0xfc,0x07,0x00,0xe0,0xff,0xff,0x01,0xf0,0xff,0xff, ^~~~ ../src/lib/xbitmaps/recmask.xbm:4:7: note: insert an explicit cast to silence this issue 0x00,0xf8,0x03,0x00,0x00,0xfc,0x07,0x00,0xe0,0xff,0xff,0x01,0xf0,0xff,0xff, ^~~~ static_cast( ) ../src/lib/xbitmaps/recmask.xbm:4:27: error: constant expression evaluates to 252 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00,0xf8,0x03,0x00,0x00,0xfc,0x07,0x00,0xe0,0xff,0xff,0x01,0xf0,0xff,0xff, ^~~~ ../src/lib/xbitmaps/recmask.xbm:4:27: note: insert an explicit cast to silence this issue 0x00,0xf8,0x03,0x00,0x00,0xfc,0x07,0x00,0xe0,0xff,0xff,0x01,0xf0,0xff,0xff, ^~~~ static_cast( ) ../src/lib/xbitmaps/recmask.xbm:4:42: error: constant expression evaluates to 224 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00,0xf8,0x03,0x00,0x00,0xfc,0x07,0x00,0xe0,0xff,0xff,0x01,0xf0,0xff,0xff, ^~~~ ../src/lib/xbitmaps/recmask.xbm:4:42: note: insert an explicit cast to silence this issue 0x00,0xf8,0x03,0x00,0x00,0xfc,0x07,0x00,0xe0,0xff,0xff,0x01,0xf0,0xff,0xff, ^~~~ static_cast( ) ../src/lib/xbitmaps/recmask.xbm:4:47: error: constant expression evaluates to 255 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00,0xf8,0x03,0x00,0x00,0xfc,0x07,0x00,0xe0,0xff,0xff,0x01,0xf0,0xff,0xff, ^~~~ ../src/lib/xbitmaps/recmask.xbm:4:47: note: insert an explicit cast to silence this issue 0x00,0xf8,0x03,0x00,0x00,0xfc,0x07,0x00,0xe0,0xff,0xff,0x01,0xf0,0xff,0xff, ^~~~ static_cast( ) ../src/lib/xbitmaps/recmask.xbm:4:52: error: constant expression evaluates to 255 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00,0xf8,0x03,0x00,0x00,0xfc,0x07,0x00,0xe0,0xff,0xff,0x01,0xf0,0xff,0xff, ^~~~ ../src/lib/xbitmaps/recmask.xbm:4:52: note: insert an explicit cast to silence this issue 0x00,0xf8,0x03,0x00,0x00,0xfc,0x07,0x00,0xe0,0xff,0xff,0x01,0xf0,0xff,0xff, ^~~~ static_cast( ) ../src/lib/xbitmaps/recmask.xbm:4:62: error: constant expression evaluates to 240 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00,0xf8,0x03,0x00,0x00,0xfc,0x07,0x00,0xe0,0xff,0xff,0x01,0xf0,0xff,0xff, ^~~~ ../src/lib/xbitmaps/recmask.xbm:4:62: note: insert an explicit cast to silence this issue 0x00,0xf8,0x03,0x00,0x00,0xfc,0x07,0x00,0xe0,0xff,0xff,0x01,0xf0,0xff,0xff, ^~~~ static_cast( ) ../src/lib/xbitmaps/recmask.xbm:4:67: error: constant expression evaluates to 255 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00,0xf8,0x03,0x00,0x00,0xfc,0x07,0x00,0xe0,0xff,0xff,0x01,0xf0,0xff,0xff, ^~~~ ../src/lib/xbitmaps/recmask.xbm:4:67: note: insert an explicit cast to silence this issue 0x00,0xf8,0x03,0x00,0x00,0xfc,0x07,0x00,0xe0,0xff,0xff,0x01,0xf0,0xff,0xff, ^~~~ static_cast( ) ../src/lib/xbitmaps/recmask.xbm:4:72: error: constant expression evaluates to 255 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x00,0xf8,0x03,0x00,0x00,0xfc,0x07,0x00,0xe0,0xff,0xff,0x01,0xf0,0xff,0xff, ^~~~ ../src/lib/xbitmaps/recmask.xbm:4:72: note: insert an explicit cast to silence this issue 0x00,0xf8,0x03,0x00,0x00,0xfc,0x07,0x00,0xe0,0xff,0xff,0x01,0xf0,0xff,0xff, ^~~~ static_cast( ) ../src/lib/xbitmaps/recmask.xbm:5:7: error: constant expression evaluates to 240 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ ../src/lib/xbitmaps/recmask.xbm:5:7: note: insert an explicit cast to silence this issue 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ static_cast( ) ../src/lib/xbitmaps/recmask.xbm:5:12: error: constant expression evaluates to 255 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ ../src/lib/xbitmaps/recmask.xbm:5:12: note: insert an explicit cast to silence this issue 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ static_cast( ) ../src/lib/xbitmaps/recmask.xbm:5:17: error: constant expression evaluates to 255 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ ../src/lib/xbitmaps/recmask.xbm:5:17: note: insert an explicit cast to silence this issue 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ static_cast( ) ../src/lib/xbitmaps/recmask.xbm:5:27: error: constant expression evaluates to 224 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ ../src/lib/xbitmaps/recmask.xbm:5:27: note: insert an explicit cast to silence this issue 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ static_cast( ) ../src/lib/xbitmaps/recmask.xbm:5:32: error: constant expression evaluates to 255 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ ../src/lib/xbitmaps/recmask.xbm:5:32: note: insert an explicit cast to silence this issue 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ static_cast( ) ../src/lib/xbitmaps/recmask.xbm:5:37: error: constant expression evaluates to 255 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ ../src/lib/xbitmaps/recmask.xbm:5:37: note: insert an explicit cast to silence this issue 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ static_cast( ) ../src/lib/xbitmaps/recmask.xbm:5:47: error: constant expression evaluates to 224 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ ../src/lib/xbitmaps/recmask.xbm:5:47: note: insert an explicit cast to silence this issue 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ static_cast( ) ../src/lib/xbitmaps/recmask.xbm:5:52: error: constant expression evaluates to 255 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ ../src/lib/xbitmaps/recmask.xbm:5:52: note: insert an explicit cast to silence this issue 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ static_cast( ) ../src/lib/xbitmaps/recmask.xbm:5:57: error: constant expression evaluates to 255 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ ../src/lib/xbitmaps/recmask.xbm:5:57: note: insert an explicit cast to silence this issue 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ static_cast( ) ../src/lib/xbitmaps/recmask.xbm:5:67: error: constant expression evaluates to 224 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ ../src/lib/xbitmaps/recmask.xbm:5:67: note: insert an explicit cast to silence this issue 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ static_cast( ) ../src/lib/xbitmaps/recmask.xbm:5:72: error: constant expression evaluates to 255 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ ../src/lib/xbitmaps/recmask.xbm:5:72: note: insert an explicit cast to silence this issue 0x03,0xf0,0xff,0xff,0x03,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff, ^~~~ static_cast( ) fatal error: too many errors emitted, stopping now [-ferror-limit=] 4 warnings and 20 errors generated. *** Error code 1 Stop. make[2]: stopped in /var/pkgsrc/work/sysutils/xnc/work/xnc-5.0.4/src *** Error code 1 Stop. make[1]: stopped in /var/pkgsrc/work/sysutils/xnc/work/xnc-5.0.4/src make compile-po cd po && make compile rm -f ru.gmo && /var/pkgsrc/work/sysutils/xnc/work/.tools/bin/msgfmt -c --statistics -o ru.gmo ru.po ru.po:6: warning: header field 'Language' missing in header 497 translated messages. rm -f pl.gmo && /var/pkgsrc/work/sysutils/xnc/work/.tools/bin/msgfmt -c --statistics -o pl.gmo pl.po pl.po:7: warning: header field 'Language' missing in header 486 translated messages, 10 fuzzy translations, 1 untranslated message. rm -f pt.gmo && /var/pkgsrc/work/sysutils/xnc/work/.tools/bin/msgfmt -c --statistics -o pt.gmo pt.po pt.po:6: warning: header field 'Language' missing in header 481 translated messages, 15 fuzzy translations, 1 untranslated message. rm -f fr.gmo && /var/pkgsrc/work/sysutils/xnc/work/.tools/bin/msgfmt -c --statistics -o fr.gmo fr.po fr.po:7: warning: header field 'Language' missing in header 482 translated messages, 11 fuzzy translations, 4 untranslated messages. rm -f es.gmo && /var/pkgsrc/work/sysutils/xnc/work/.tools/bin/msgfmt -c --statistics -o es.gmo es.po es.po:8: warning: header field 'Language' missing in header 450 translated messages, 46 fuzzy translations, 1 untranslated message. rm -f cs.gmo && /var/pkgsrc/work/sysutils/xnc/work/.tools/bin/msgfmt -c --statistics -o cs.gmo cs.po cs.po:6: warning: header field 'Language' missing in header 451 translated messages, 11 fuzzy translations, 35 untranslated messages. rm -f hu.gmo && /var/pkgsrc/work/sysutils/xnc/work/.tools/bin/msgfmt -c --statistics -o hu.gmo hu.po hu.po:6: warning: header field 'Language' missing in header 137 translated messages, 24 fuzzy translations, 336 untranslated messages. rm -f sr.gmo && /var/pkgsrc/work/sysutils/xnc/work/.tools/bin/msgfmt -c --statistics -o sr.gmo sr.po sr.po:6: warning: header field 'Language' missing in header 486 translated messages, 10 fuzzy translations, 1 untranslated message. rm -f sp.gmo && /var/pkgsrc/work/sysutils/xnc/work/.tools/bin/msgfmt -c --statistics -o sp.gmo sp.po sp.po:6: warning: header field 'Language' missing in header 486 translated messages, 10 fuzzy translations, 1 untranslated message. rm -f it.gmo && /var/pkgsrc/work/sysutils/xnc/work/.tools/bin/msgfmt -c --statistics -o it.gmo it.po it.po:7: warning: header field 'Language' missing in header 486 translated messages, 10 fuzzy translations, 1 untranslated message. rm -f nl.gmo && /var/pkgsrc/work/sysutils/xnc/work/.tools/bin/msgfmt -c --statistics -o nl.gmo nl.po nl.po:9: warning: header field 'Language' missing in header 487 translated messages, 9 fuzzy translations, 1 untranslated message. rm -f ro.gmo && /var/pkgsrc/work/sysutils/xnc/work/.tools/bin/msgfmt -c --statistics -o ro.gmo ro.po ro.po:6: warning: header field 'Language' missing in header 432 translated messages, 9 fuzzy translations, 56 untranslated messages.