=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for abuse-2.0nb2 Making all in imlib gmake[1]: Entering directory '/var/pkgsrc/work/games/abuse/work/abuse_pd/imlib' Computing dependencies for xwdread.c... Computing dependencies for visobj.c... Computing dependencies for tools.c... Computing dependencies for timage.c... Computing dependencies for texture.c... Computing dependencies for targa.c... Computing dependencies for supmorph.c... Computing dependencies for status.c... Computing dependencies for specs.c... Computing dependencies for scroller.c... Computing dependencies for readwav.c... Computing dependencies for ppmread.c... Computing dependencies for pmenu.c... Computing dependencies for pcxread.c... Computing dependencies for palette.c... Computing dependencies for packet.c... Computing dependencies for mdlread.c... Computing dependencies for loader.c... Computing dependencies for linked.c... Computing dependencies for lbmread.c... Computing dependencies for keys.c... Computing dependencies for jwindow.c... Computing dependencies for jrand.c... Computing dependencies for jmalloc.c... Computing dependencies for input.c... Computing dependencies for include.c... Computing dependencies for image24.c... Computing dependencies for image.c... Computing dependencies for guistat.c... Computing dependencies for glread.c... Computing dependencies for globals.c... Computing dependencies for gifread.c... Computing dependencies for fonts.c... Computing dependencies for filter.c... Computing dependencies for filesel.c... Computing dependencies for dprint.c... Computing dependencies for decoder.c... echo > .deps/.P clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o filter.o -c filter.c clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o gifread.o -c gifread.c clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o globals.o -c globals.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o image.o -c image.c In file included from filter.c:1: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ filter.c:10:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] unsigned char *p=fdat=(unsigned char *)jmalloc(nc,"conversion filter"); ^ In file included from gifread.c:1: In file included from ./include/gifread.hpp:3: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] filter.c:64:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fdat=(unsigned char *)jmalloc(nc,"filter"); ^ filter.c:141:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] color_table=(unsigned char *)jmalloc(colors*colors*colors,"color_filter"); ^ filter.c:155:11: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register long rd=*(pp++)-rv, ^~~~~~~~~ filter.c:155:11: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register long rd=*(pp++)-rv, ^~~~~~~~~ filter.c:155:11: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register long rd=*(pp++)-rv, ^~~~~~~~~ filter.c:176:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] color_table=(unsigned char *)jmalloc(colors*colors*colors,"color_filter : loaded"); ^ In file included from image.c:1: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ 1 warning generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o linked.o -c linked.c image.c:15:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *imerr_messages[]={"No error", ^ image.c:16:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Error occured while reading", ^ image.c:17:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Incorrect file type", ^ image.c:18:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "File is corrupted", ^ image.c:19:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "File not found", ^ image.c:20:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Memory allocation trouble", ^ image.c:21:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Operation/file type not supported", ^ image.c:22:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Error occured while writing, (disk full?)"}; ^ image.c:94:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] void *dat=jmalloc(size,"make_block : tmp"); ^ image.c:224:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] dat=(unsigned char *)jmalloc(width(),"image copy"); ^ clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] image.c8 warnings generated. :1002:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ex=(unsigned char *)jmalloc(width(),"image::unpacked scanline"); ^ clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o input.o -c input.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] image.c:1054:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] unsigned char *im=(unsigned char *)jmalloc(width()*height(),"image::resized"); ^ image.c:1306:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] unsigned char *rev=(unsigned char *)jmalloc(width(),"image tmp::flipped_x"),*sl; ^ image.c:1320:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] unsigned char *rev=(unsigned char *)jmalloc(width(),"image::flipped_y"),*sl; ^ In file included from input.c:1: In file included from ./include/input.hpp:3: In file included from ./include/jwindow.hpp:3: In file included from ./include/video.hpp:13: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o mdlread.o -c mdlread.c input.cclang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] :205:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] text=strcpy((char *)jmalloc(strlen(Text)+1,"input button"),Text); ^ input.c:232:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] data=(char *)jrealloc(data,strlen(new_data),"text field input"); ^ input.c:326:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] prompt=strcpy((char *)jmalloc(strlen(Prompt)+1,"text_field::prompt"),Prompt); ^ input.c:327:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] format=strcpy((char *)jmalloc(slen+1,"text_field::format"),Format); ^ input.c:328:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] data=strcpy((char *)jmalloc(slen+1,"text_field::data"),Data); ^ input.c:341:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] prompt=strcpy((char *)jmalloc(strlen(Prompt)+1,"text_field::prompt"),Prompt); ^ input.c:342:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] format=strcpy((char *)jmalloc(slen+1,"text_field::format"),Format); ^ input.c:343:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] data=strcpy((char *)jmalloc(slen+1,"text_field::data"),num); ^ input.c:452:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] text=strcpy((char *)jmalloc(strlen(info)+1,"info_field"),info); ^ In file included from mdlread.c:1: In file included from ./include/mdlread.hpp:3: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ mdlread.c:31:12: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] buf[4]=255; // 255 is graph driver 320x200x256 ~^~~ mdlread.c:153:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] im=(image **)jmalloc(sizeof(image *)*endn,"mdl_read::image * array"); ^ 3 warnings generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o palette.o -c palette.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from palette.c:1: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ palette.c:15:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pal=(color *)jmalloc(sizeof(color)*ncolors,"palette"); ^ palette.c:16:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] usd=(unsigned char *)jmalloc(ncolors/8+1,"palette used array"); ^ palette.c:26:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pal=(color *)jmalloc(sizeof(color)*ncolors,"palette"); ^ palette.c:27:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] usd=(unsigned char *)jmalloc(ncolors/8+1,"palette used array"); ^ palette.c:253:24: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] set(i,255-i&3,255-(i&4)>>2,255-(i&8)>>3); ~~~^~~~~~~~ palette.c:253:24: note: place parentheses around the '-' expression to silence this warning set(i,255-i&3,255-(i&4)>>2,255-(i&8)>>3); ^ ( ) palette.c:253:37: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] set(i,255-i&3,255-(i&4)>>2,255-(i&8)>>3); ~~~^~~~~~~~ palette.c:253:37: note: place parentheses around the '-' expression to silence this warning set(i,255-i&3,255-(i&4)>>2,255-(i&8)>>3); ^ ( ) 10 warnings generated. palette.c:301:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pal=(color *)jmalloc(ncolors*3,"palette"); ^ palette.c:302:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] usd=(unsigned char *)jmalloc(ncolors/8+1,"palette used array"); ^ clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o ppmread.o -c ppmread.c palette.c:529:9: warning: unsequenced modification and access to 'sl' [-Wunsequenced] *(sl++)=(( dest_r-(int)*sl)*fade_on/total_fades+*sl); ^ ~~ palette.c:530:9: warning: unsequenced modification and access to 'sl' [-Wunsequenced] *(sl++)=(( dest_g-(int)*sl)*fade_on/total_fades+*sl); ^ ~~ palette.c:531:9: warning: unsequenced modification and access to 'sl' [-Wunsequenced] *(sl++)=(( dest_b-(int)*sl)*fade_on/total_fades+*sl); ^ ~~ clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ppmread.c:1: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ 1 warning generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o include.o -c include.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from include.c:1: In file included from ./include/include.hpp:3: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ 12 warnings generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o xwdread.o -c xwdread.c 1 warning generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o fonts.o -c fonts.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from xwdread.c:3: In file included from ./include/filter.hpp:3: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ In file included from fonts.c:1: In file included from ./include/fonts.hpp:3: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ fonts.c:61:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] let[ch]=new trans_image(&tmp,"JCfont"); ^ xwdread.c:517:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] scrap=(char *)jmalloc(bytes,"xwd_read scrap"); ^ xwdread.c2 warnings generated. :556:37: warning: more '%' conversions than data arguments [-Wformat] { printf("Error : unable to open %s for writing!\n"); ~^ clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o decoder.o -c decoder.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from decoder.c:21: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ decoder.c:210:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned char *sp, *bufptr; ^~~~~~~~~ decoder.c:210:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned char *sp, *bufptr; ^~~~~~~~~ decoder.c:212:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register short code, fc, oc, bufcnt; ^~~~~~~~~ decoder.c:212:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register short code, fc, oc, bufcnt; ^~~~~~~~~ decoder.c:212:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register short code, fc, oc, bufcnt; ^~~~~~~~~ decoder.c:212:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register short code, fc, oc, bufcnt; ^~~~~~~~~ 15 warnings generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o loader.o -c loader.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] 7 warnings generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o glread.o -c glread.c 3 warnings generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o texture.o -c texture.c In file included from loader.c:1: In file included from ./include/loader.hpp:3: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ loader.c:44:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] images=(image **)jmalloc(sizeof(image *),"loader::xwd image * array"); ^ loader.c:49:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] images=(image **)jmalloc(sizeof(image *),"loader::ppm image * array"); ^ loader.c:55:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] images=(image **)jmalloc(sizeof(image *),"loader::pic image * array"); ^ loader.c:61:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] images=(image **)jmalloc(sizeof(image *),"loader::bmp image * array"); ^ loader.c:67:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] images=(image **)jmalloc(sizeof(image *),"loader::pcx image * array"); ^ loader.c:73:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] images=(image **)jmalloc(sizeof(image *),"loader::pcx image * array"); ^ loader.c:82:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] images=(image **)jmalloc(sizeof(image *),"loader::targa image * array"); ^ clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] loader.c:126:12: warning: array index 10 is past the end of the array (which contains 10 elements) [-Warray-bounds] else if (header[10]==8 && header[11]==0xff) ^ ~~ loader.c:106:3: note: array 'header' declared here unsigned char header[10]; ^ loader.c:126:29: warning: array index 11 is past the end of the array (which contains 10 elements) [-Warray-bounds] else if (header[10]==8 && header[11]==0xff) ^ ~~ loader.c:106:3: note: array 'header' declared here unsigned char header[10]; ^ In file included from glread.c:2: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ In file included from 10 warnings generated. texture.c:1: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o specs.o -c specs.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from specs.c:1: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ 1 warning generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o supmorph.o -c supmorph.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from supmorph.c:1: In file included from ./include/supmorph.hpp:4: In file included from ./include/timage.hpp:4: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ supmorph.c:86:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] movers=(unsigned char *)jmalloc(t*4,"morph movers"); ^ supmorph.c:195:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] p=steps=(stepper *)jmalloc(sizeof(stepper)*m->t,"smorph steps"); ^ supmorph.c:238:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] hole=(unsigned char *)jmalloc(w*h,"hole image"); ^ specs.c:21:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *spec_types[]={"Invalid type", // 0 ^ specs.c:22:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Color table", // 1 ^ specs.c:23:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Palette", // 2 ^ specs.c:24:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Invalid Type", // 3 ^ specs.c:25:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Image", // 4 ^ specs.c:26:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Fore Tile", ^ specs.c:27:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Back Tile", ^ specs.c:28:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Character", ^ specs.c:29:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "8 Morph", ^ specs.c:30:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "16 Morph", ^ specs.c:31:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Grue objs", ^ specs.c:32:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Extern WAV", ^ specs.c:33:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "DMX MUS", ^ specs.c:34:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Patched morph", ^ specs.c:35:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Normal file", ^ specs.c:36:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Compress1 file", ^ specs.c:37:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Vector Image", ^ specs.c:38:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Light list", ^ specs.c:39:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Grue fgmap", ^ specs.c:40:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Grue bgmap", ^ specs.c:41:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Data array", ^ specs.c:42:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Character2", ^ specs.c:43:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Particle", ^ specs.c:44:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Extern lcache" ^ specs.c:67:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] spec_prefix=strcpy((char *)jmalloc(strlen(prefix)+2,"prefix_name"),prefix); ^ specs.c:90:67: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] save_spec_prefix=strcpy((char *)jmalloc(strlen(save_prefix)+1,"prefix_name"),save_prefix); ^ specs.c:119:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] rbuf=(unsigned char *)jmalloc(rbuf_size,"File read buffer"); ^ specs.c:123:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] wbuf=(unsigned char *)jmalloc(wbuf_size,"File write buffer"); ^ specs.c:246:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] rbuf=(unsigned char *)jmalloc(rbuf_size,"File buffer"); ^ specs.c:260:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] spec_main_jfile.open_external(filename,"rb",O_RDONLY); ^ specs.c:431:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else access=O_WRONLY; ^ specs.c:518:34: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("short read! %d:%d\n",current_offset,len); ~~ ^~~~~~~~~~~~~~ %ld specs.c:518:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("short read! %d:%d\n",current_offset,len); ~~ ^~~ %ld specs.c:623:46: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] write_long((long)(modf(x,&a)*(double)(1<<32-1))); ~~~~^~ specs.c:623:46: note: place parentheses around the '-' expression to silence this warning write_long((long)(modf(x,&a)*(double)(1<<32-1))); ^ ( ) specs.c:632:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return (double)b+a/(double)(1<<32-1); ~~~~^~ specs.c:632:36: note: place parentheses around the '-' expression to silence this warning return (double)b+a/(double)(1<<32-1); ^ ( ) specs.c:748:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] entries=(spec_entry **)jmalloc(sizeof(spec_entry *)*total,"spec_directory::entries"); ^ specs.c:762:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] data=jmalloc(size,"spec_directory::data"); ^ specs.c:890:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fp=new jFILE(filename,"wb"); ^ specs.c:966:72: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] entries=(spec_entry **)jrealloc(entries,sizeof(spec_entry *)*total,"spec_directory::entries"); ^ specs.c:977:70: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] entries=(spec_entry **)jrealloc(entries,sizeof(spec_entry *)*total,"spec_directory::entries"); ^ 4 warnings generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o image24.o -c image24.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] 1 warning generated. In file included from image24.c:1: In file included from ./include/image24.hpp:4: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o pcxread.o -c pcxread.c image24.c:10:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] data=(unsigned char *)jmalloc(width*height*3,"image24"); ^ clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from pcxread.c:1: In file included from ./include/pcxread.hpp:4: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ 2 warnings generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o timage.o -c timage.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from timage.c:1: In file included from ./include/timage.hpp:4: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ timage.c:88:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] data=(unsigned char *)jmalloc(size,""); ^ timage.c:211:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned char *datap=data; ^~~~~~~~~ timage.c:226:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int ix=0; ^~~~~~~~~ timage.c:253:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned char *datap=clip_y(screen,x1,y1,x2,y2,x,y,ysteps),*screen_line; ^~~~~~~~~ timage.c:253:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned char *datap=clip_y(screen,x1,y1,x2,y2,x,y,ysteps),*screen_line; ^~~~~~~~~ timage.c:261:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int ix,slam_length; ^~~~~~~~~ timage.c:261:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int ix,slam_length; ^~~~~~~~~ timage.c:359:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned char *datap=clip_y(screen,x1,y1,x2,y2,x,y,ysteps),*screen_line; ^~~~~~~~~ timage.c:359:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned char *datap=clip_y(screen,x1,y1,x2,y2,x,y,ysteps),*screen_line; ^~~~~~~~~ timage.c:367:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int ix,slam_length; ^~~~~~~~~ timage.c:367:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int ix,slam_length; ^~~~~~~~~ timage.c:422:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned char *datap=clip_y(screen,x1,y1,x2,y2,x,y,ysteps),*screen_line; ^~~~~~~~~ timage.c:422:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned char *datap=clip_y(screen,x1,y1,x2,y2,x,y,ysteps),*screen_line; ^~~~~~~~~ timage.c:430:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int ix,slam_length; ^~~~~~~~~ timage.c:430:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int ix,slam_length; ^~~~~~~~~ timage.c:466:6: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int counter; ^~~~~~~~~ timage.c:472:6: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned char *sl=screen_line+ix,*sl2=datap; ^~~~~~~~~ timage.c:472:6: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned char *sl=screen_line+ix,*sl2=datap; ^~~~~~~~~ timage.c:498:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned char *datap=clip_y(screen,x1,y1,x2,y2,x,y,ysteps),*screen_line; ^~~~~~~~~ timage.c:498:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned char *datap=clip_y(screen,x1,y1,x2,y2,x,y,ysteps),*screen_line; ^~~~~~~~~ timage.c:506:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int ix,slam_length; ^~~~~~~~~ timage.c:506:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int ix,slam_length; ^~~~~~~~~ timage.c:542:6: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int counter; ^~~~~~~~~ timage.c:548:6: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned char *sl=screen_line+ix,*sl2=datap; ^~~~~~~~~ timage.c:548:6: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned char *sl=screen_line+ix,*sl2=datap; ^~~~~~~~~ 1 warning generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o jmalloc.o -c jmalloc.c timage.c:924:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned char *datap=clip_y(screen,x1,y1,x2,y2,x,y,ysteps),*screen_line; ^~~~~~~~~ timage.c:924:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned char *datap=clip_y(screen,x1,y1,x2,y2,x,y,ysteps),*screen_line; ^~~~~~~~~ timage.c:953:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int ix,slam_length; ^~~~~~~~~ timage.c:953:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int ix,slam_length; ^~~~~~~~~ clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] 41 warnings generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o jrand.o -c jrand.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] jmalloc.c:134:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static_list=(int *)jmalloc(total*sizeof(int),"small static report"); ^ jmalloc.c:135:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cache_list=(int *)jmalloc(total*sizeof(int),"small cache report"); ^ jmalloc.c:199:65: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(fp,"************** Block size = %d ***************\n",block_size); ~~ ^~~~~~~~~~ %ld jmalloc.c:205:46: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(fp,"%4d %p (%d) %4d ",i,f,((char *)f-(char *)sfirst),f->size); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ %ld jmalloc.c:205:73: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(fp,"%4d %p (%d) %4d ",i,f,((char *)f-(char *)sfirst),f->size); ~~~ ^~~~~~~ %4ld jmalloc.c:238:64: warning: data argument not used by format string [-Wformat-extra-args] fprintf(fp,"************** CACHE SPACE ******************\n",block_size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ jmalloc.c:242:41: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(fp,"%4d %p %4d ",i,f,f->size); ~~~ ^~~~~~~ %4ld jmalloc.c:335:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] s=(small_block *)static_alloc((size+4)*32+sizeof(small_block),"small_block"); ^ jmalloc.c:415:68: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] s=(small_block *)cache_alloc((size+4)*32+sizeof(small_block),"small_block"); ^ jmalloc.c:687:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *not_enough_total_memory_message="Memory manager : Sorry you do not have enough memory available to\n" ^ jmalloc.c:691:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *not_enough_low_memory_message="Memory Manager : Not enough low memory available (%d : need %d)\n" ^ jmalloc.c:727:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(stderr,"Added himem block (%d bytes)\n",size); ~~ ^~~~ %ld jmalloc.c:759:46: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(stderr,"Memory available : %d\n",j_available()); ~~ ^~~~~~~~~~~~~ %ld jmalloc.c:762:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr,not_enough_total_memory_message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jmalloc.c:762:22: note: treat the string as an argument to avoid this fprintf(stderr,not_enough_total_memory_message); ^ "%s", jmalloc.c:877:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mem_report("debug.mem"); ^ jmalloc.c:891:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return jmalloc(size,"::new object"); ^ clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o lbmread.o -c lbmread.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from lbmread.c:1: In file included from ./include/lbmread.hpp:4: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ 1 warning generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o targa.o -c targa.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from targa.c:1: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ targa.c:6:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] bFILE *fp=open_file(filename,"rb"); ^ 16 warnings generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o keys.o -c keys.c 2 warnings generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o dprint.o -c dprint.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] keys.c:5:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *jk_key_names[]= {"Up Arrow","Down Arrow","Left Arrow","Right Arrow", ^ keys.c:5:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *jk_key_names[]= {"Up Arrow","Down Arrow","Left Arrow","Right Arrow", ^ keys.c:5:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *jk_key_names[]= {"Up Arrow","Down Arrow","Left Arrow","Right Arrow", ^ keys.c:5:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *jk_key_names[]= {"Up Arrow","Down Arrow","Left Arrow","Right Arrow", ^ keys.c:6:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Left Ctrl","Right Ctrl","Left Alt","Right Alt", ^ keys.c:6:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Left Ctrl","Right Ctrl","Left Alt","Right Alt", ^ keys.c:6:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Left Ctrl","Right Ctrl","Left Alt","Right Alt", ^ keys.c:6:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Left Ctrl","Right Ctrl","Left Alt","Right Alt", ^ keys.c:7:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Left Shift","Right Shift","Caps Lock","Num Lock", ^ keys.c:7:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Left Shift","Right Shift","Caps Lock","Num Lock", ^ keys.c:7:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Left Shift","Right Shift","Caps Lock","Num Lock", ^ keys.c:7:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Left Shift","Right Shift","Caps Lock","Num Lock", ^ keys.c:8:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Home","End","Del","F1","F2","F3","F4","F5","F6", ^ keys.c:8:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Home","End","Del","F1","F2","F3","F4","F5","F6", ^ keys.c:8:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Home","End","Del","F1","F2","F3","F4","F5","F6", ^ keys.c:8:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Home","End","Del","F1","F2","F3","F4","F5","F6", ^ keys.c:8:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Home","End","Del","F1","F2","F3","F4","F5","F6", ^ keys.c:8:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Home","End","Del","F1","F2","F3","F4","F5","F6", ^ keys.c:8:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Home","End","Del","F1","F2","F3","F4","F5","F6", ^ keys.c:8:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Home","End","Del","F1","F2","F3","F4","F5","F6", ^ keys.c:8:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Home","End","Del","F1","F2","F3","F4","F5","F6", ^ keys.c:9:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "F7","F8","F9","F10","Insert","PageUp","PageDown","Command"}; ^ keys.c:9:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "F7","F8","F9","F10","Insert","PageUp","PageDown","Command"}; ^ keys.c:9:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "F7","F8","F9","F10","Insert","PageUp","PageDown","Command"}; ^ keys.c:9:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "F7","F8","F9","F10","Insert","PageUp","PageDown","Command"}; ^ keys.c:9:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "F7","F8","F9","F10","Insert","PageUp","PageDown","Command"}; ^ keys.c:9:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "F7","F8","F9","F10","Insert","PageUp","PageDown","Command"}; ^ keys.c:9:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "F7","F8","F9","F10","Insert","PageUp","PageDown","Command"}; ^ keys.c:9:71: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "F7","F8","F9","F10","Insert","PageUp","PageDown","Command"}; ^ 29 warnings generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o status.o -c status.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o visobj.o -c visobj.c 30 warnings generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o packet.o -c packet.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from status.c:2: In file included from ./include/status.hpp:4: In file included from ./include/visobj.hpp:4: In file included from ./include/jwindow.hpp:3: In file included from ./include/video.hpp:13: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ status.c:15:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { name=strcpy((char *)jmalloc(strlen(Name)+1,"status name"),Name); ^ status.c:20:48: warning: delete called on 'visual_object' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor] ~text_status_node() { jfree(name); if (show) delete show; } ^ packet.c:43:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] buf=(uchar *)jmalloc(buf_size,"packet buffer"); ^ packet.c:74:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] buf=(uchar *)jrealloc(buf,max,"packet buffer"); ^ In file included from visobj.c:1: In file included from ./include/visobj.hpp:4: In file included from ./include/jwindow.hpp:3: In file included from ./include/video.hpp:13: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ 2 warnings generated. visobj.c:15:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] st=strcpy((char *)jmalloc(strlen(string)+1,"string visual"),string); ^ 3 warnings generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o pmenu.o -c pmenu.c clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o scroller.o -c scroller.c 2 warnings generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o filesel.o -c filesel.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from pmenu.c:1: In file included from ./include/pmenu.hpp:5: In file included from ./include/input.hpp:3: In file included from ./include/jwindow.hpp:3: In file included from ./include/video.hpp:13: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ In file included from scroller.c:1: In file included from ./include/scroller.hpp:4: In file included from ./include/input.hpp:3: In file included from ./include/jwindow.hpp:3: In file included from ./include/video.hpp:13: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ In file included from filesel.c:1: In file included from ./include/filesel.hpp:4: In file included from ./include/jwindow.hpp:3: In file included from ./include/video.hpp:13: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ filesel.c:120:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ">","****************************************",def, ^ filesel.c:120:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ">","****************************************",def, ^ pmenu.c:54:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] n=strcpy((char *)jmalloc(strlen(Name)+1,"pmenu_item::name"),Name); ^ pmenu.c:67:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] n=strcpy((char *)jmalloc(strlen(Name)+1,"pmenu_item::name"),Name); ^ pmenu.c:185:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else y=y-h+wm->font()->height()+5; ^ pmenu.c:224:72: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (on_off && *on_off) wm->font()->put_string(parent->screen,bx+1,y+1,"*",wm->medium_color()); ^ pmenu.c:234:72: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (on_off && *on_off) wm->font()->put_string(parent->screen,bx+1,y+1,"*",wm->bright_color()); ^ scroller.c:383:68: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] lis=(pick_list_item *)jmalloc(sizeof(pick_list_item)*num_entries,"pick list"); ^ scroller.c:555:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] select=(uchar *)jmalloc((t+7)/8,"selection bit array"); ^ 3 warnings generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o tools.o -c tools.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from tools.c:1: In file included from ./include/tools.hpp:4: In file included from ./include/jwindow.hpp:3: In file included from ./include/video.hpp:13: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ tools.c:9:5: warning: delete called on 'visual_object' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor] delete icons[i]; // delete visual object, which should be a "shell" ^ 2 warnings generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o guistat.o -c guistat.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] 6 warnings generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o readwav.o -c readwav.c In file included from guistat.c:1: In file included from ./include/status.hpp:4: In file included from ./include/visobj.hpp:4: In file included from ./include/jwindow.hpp:3: In file included from ./include/video.hpp:13: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] guistat.c:16:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { name=strcpy((char *)jmalloc(strlen(Name)+1,"status name"),Name); ^ guistat.c:31:5: warning: delete called on 'visual_object' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor] delete show; ^ guistat.c:98:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] first->stat_win=wm->new_window(wx,wy,len3, h1*2+h2,NULL,"status"); ^ 4 warnings generated. In file included from readwav.c:1: In file included from ./include/readwav.hpp:3: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ readwav.c:74:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *riff = "RIFF"; ^ readwav.c:75:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *wave = "WAVE"; ^ readwav.c:76:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *fmt = "fmt "; ^ readwav.c:77:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *d = "data"; ^ readwav.c:79:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] bFILE *fp=open_file(filename,"wb"); ^ readwav.c:82:29: warning: more '%' conversions than data arguments [-Wformat] printf("Unable to open %s for writing\n"); ~^ readwav.cclang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o port/unix/sound.o -c port/unix/sound.c :125:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] bFILE *fp=open_file(filename,"rb"); ^ readwav.c:159:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] data=(unsigned char *)jmalloc(tag.size,"WAV data"); ^ clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] 9 warnings generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o port/unix/jnet.o -c port/unix/jnet.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] 3 warnings generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o port/unix/jdir.o -c port/unix/jdir.c port/unix/sound.c:61:51: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("stop song %s, fade timeout %d\n",name(),fadeout_time); ~~ ^~~~~~~~~~~~ %ld clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] 1 warning generated. clang++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DX_DISPLAY_MISSING=1 -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/pkg/include -g -O2 -fno-exceptions -fno-rtti -o port/x11/video.o -c port/x11/video.c port/unix/jnet.cclang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] :156:16: error: no matching function for call to 'accept' int new_fd=accept(fd, (struct sockaddr *) &host, &len); ^~~~~~ /usr/include/sys/socket.h:615:5: note: candidate function not viable: no known conversion from 'int *' to 'socklen_t *' (aka 'unsigned int *') for 3rd argument int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ port/unix/jnet.c:311:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] uchar *ip=(uchar *)jmalloc(4,"IP address"); ^ 1 warning and 1 error generated. Makefile:206: recipe for target 'port/unix/jnet.o' failed gmake[1]: *** [port/unix/jnet.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... port/unix/jdir.c:36:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tlist=(char **)jrealloc(tlist,sizeof(char *)*t,"tmp file list"); ^ port/unix/jdir.c:37:62: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tlist[t-1]=strcpy((char *)jmalloc(strlen(de->d_name)+1,"tmp file name"),de->d_name); ^ port/unix/jdir.c:48:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] dirs=(char **)jrealloc(dirs,sizeof(char *)*tdirs,"dir list"); ^ port/unix/jdir.c:49:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] dirs[tdirs-1]=strcpy((char *)jmalloc(strlen(tlist[i])+1,"tmp file name"),tlist[i]); ^ port/unix/jdir.c:54:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] files=(char **)jrealloc(files,sizeof(char *)*tfiles,"dir list"); ^ port/unix/jdir.c:55:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] files[tfiles-1]=strcpy((char *)jmalloc(strlen(tlist[i])+1,"tmp file name"),tlist[i]); ^ 6 warnings generated. In file included from port/x11/video.c:20: In file included from ./include/filter.hpp:3: In file included from ./include/image.hpp:5: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ In file included from port/x11/video.c:27: ./include/bitmap.h:4:58: error: constant expression evaluates to 255 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x40, 0x00, 0x40, 0x00, 0x60, 0x18, 0x22, 0x7e, 0x34, 0xff, 0x18, 0xff, ^~~~ ./include/bitmap.h:4:58: note: insert an explicit cast to silence this issue 0x40, 0x00, 0x40, 0x00, 0x60, 0x18, 0x22, 0x7e, 0x34, 0xff, 0x18, 0xff, ^~~~ static_cast( ) ./include/bitmap.h:4:70: error: constant expression evaluates to 255 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x40, 0x00, 0x40, 0x00, 0x60, 0x18, 0x22, 0x7e, 0x34, 0xff, 0x18, 0xff, ^~~~ ./include/bitmap.h:4:70: note: insert an explicit cast to silence this issue 0x40, 0x00, 0x40, 0x00, 0x60, 0x18, 0x22, 0x7e, 0x34, 0xff, 0x18, 0xff, ^~~~ static_cast( ) ./include/bitmap.h:5:10: error: constant expression evaluates to 255 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x0c, 0xff, 0x16, 0x7e, 0x23, 0x18, 0x00, 0x00, 0x24, 0xfa, 0x6a, 0x22, ^~~~ ./include/bitmap.h:5:10: note: insert an explicit cast to silence this issue 0x0c, 0xff, 0x16, 0x7e, 0x23, 0x18, 0x00, 0x00, 0x24, 0xfa, 0x6a, 0x22, ^~~~ static_cast( ) ./include/bitmap.h:5:58: error: constant expression evaluates to 250 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x0c, 0xff, 0x16, 0x7e, 0x23, 0x18, 0x00, 0x00, 0x24, 0xfa, 0x6a, 0x22, ^~~~ ./include/bitmap.h:5:58: note: insert an explicit cast to silence this issue 0x0c, 0xff, 0x16, 0x7e, 0x23, 0x18, 0x00, 0x00, 0x24, 0xfa, 0x6a, 0x22, ^~~~ static_cast( ) ./include/bitmap.h:6:4: error: constant expression evaluates to 169 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0xa9, 0x22, 0xaf, 0x22, 0x29, 0x23, 0x29, 0xfb}; ^~~~ ./include/bitmap.h:6:4: note: insert an explicit cast to silence this issue 0xa9, 0x22, 0xaf, 0x22, 0x29, 0x23, 0x29, 0xfb}; ^~~~ static_cast( ) ./include/bitmap.h:6:16: error: constant expression evaluates to 175 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0xa9, 0x22, 0xaf, 0x22, 0x29, 0x23, 0x29, 0xfb}; ^~~~ ./include/bitmap.h:6:16: note: insert an explicit cast to silence this issue 0xa9, 0x22, 0xaf, 0x22, 0x29, 0x23, 0x29, 0xfb}; ^~~~ static_cast( ) ./include/bitmap.h:6:46: error: constant expression evaluates to 251 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0xa9, 0x22, 0xaf, 0x22, 0x29, 0x23, 0x29, 0xfb}; ^~~~ ./include/bitmap.h:6:46: note: insert an explicit cast to silence this issue 0xa9, 0x22, 0xaf, 0x22, 0x29, 0x23, 0x29, 0xfb}; ^~~~ static_cast( ) port/x11/video.c:103:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] en=(event_node *)jmalloc(sizeof(event_node),"shm_wait : event"); ^ port/x11/video.c:201:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] data=(unsigned char *) jmalloc(width*height, "unscaled image"); ^ port/x11/video.c:209:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "image::data"); ^ port/x11/video.c:228:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] data=(unsigned char *) jmalloc(width*height, "unscaled image"); ^ port/x11/video.c:234:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] data=(unsigned char *)jmalloc(width*height,"image::data"); ^ port/x11/video.c:320:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (!ds_name) ds_name="unix:0.0"; ^ port/x11/video.c:493:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] class_hints->res_class="(C) 1995 Crack dot Com, Jonathan Clark"; ^ port/x11/video.c:784:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] histogram=(hist_entry *)jmalloc(sizeof(hist_entry)*ncolors,"palette::histogram"); ^ port/x11/video.c:785:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gotten=(char *)jmalloc(ncolors,"palette::gotten_colors"); ^ 10 warnings and 7 errors generated. Makefile:206: recipe for target 'port/x11/video.o' failed gmake[1]: *** [port/x11/video.o] Error 1 gmake[1]: Leaving directory '/var/pkgsrc/work/games/abuse/work/abuse_pd/imlib' Makefile:98: recipe for target 'all-recursive' failed gmake: *** [all-recursive] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/games/abuse *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/games/abuse