=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for abuse-2.0nb2 Making all in imlib gmake[1]: Entering directory '/usr/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 c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -g -O2 -fno-exceptions -fno-rtti -o filter.o -c filter.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ filter.c:10:53: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] unsigned char *p=fdat=(unsigned char *)jmalloc(nc,"conversion filter"); ^ filter.c:64:36: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] fdat=(unsigned char *)jmalloc(nc,"filter"); ^ filter.c:141:61: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] color_table=(unsigned char *)jmalloc(colors*colors*colors,"color_filter"); ^ filter.c:176:61: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] color_table=(unsigned char *)jmalloc(colors*colors*colors,"color_filter : loaded"); ^ 5 warnings generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -g -O2 -fno-exceptions -fno-rtti -o gifread.o -c gifread.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ 1 warning generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/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 c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -g -O2 -fno-exceptions -fno-rtti -o image.o -c image.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ image.c:15:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *imerr_messages[]={"No error", ^ image.c:16:11: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Error occured while reading", ^ image.c:17:4: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Incorrect file type", ^ image.c:18:4: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "File is corrupted", ^ image.c:19:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "File not found", ^ image.c:20:4: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Memory allocation trouble", ^ image.c:21:4: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Operation/file type not supported", ^ image.c:22:4: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Error occured while writing, (disk full?)"}; ^ image.c:94:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] void *dat=jmalloc(size,"make_block : tmp"); ^ image.c:224:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] dat=(unsigned char *)jmalloc(width(),"image copy"); ^ image.c:1002:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ex=(unsigned char *)jmalloc(width(),"image::unpacked scanline"); ^ image.c:1054:63: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] unsigned char *im=(unsigned char *)jmalloc(width()*height(),"image::resized"); ^ image.c:1306:55: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] unsigned char *rev=(unsigned char *)jmalloc(width(),"image tmp::flipped_x"),*sl; ^ image.c:1320:55: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] unsigned char *rev=(unsigned char *)jmalloc(width(),"image::flipped_y"),*sl; ^ 15 warnings generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -g -O2 -fno-exceptions -fno-rtti -o linked.o -c linked.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/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 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ input.c:205:46: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] text=strcpy((char *)jmalloc(strlen(Text)+1,"input button"),Text); ^ input.c:232:49: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] data=(char *)jrealloc(data,strlen(new_data),"text field input"); ^ input.c:326:50: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] prompt=strcpy((char *)jmalloc(strlen(Prompt)+1,"text_field::prompt"),Prompt); ^ input.c:327:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] format=strcpy((char *)jmalloc(slen+1,"text_field::format"),Format); ^ input.c:328:38: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] data=strcpy((char *)jmalloc(slen+1,"text_field::data"),Data); ^ input.c:341:50: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] prompt=strcpy((char *)jmalloc(strlen(Prompt)+1,"text_field::prompt"),Prompt); ^ input.c:342:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] format=strcpy((char *)jmalloc(slen+1,"text_field::format"),Format); ^ input.c:343:38: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] data=strcpy((char *)jmalloc(slen+1,"text_field::data"),num); ^ input.c:452:46: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] text=strcpy((char *)jmalloc(strlen(info)+1,"info_field"),info); ^ 10 warnings generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -g -O2 -fno-exceptions -fno-rtti -o mdlread.o -c mdlread.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ mdlread.c:153:44: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] im=(image **)jmalloc(sizeof(image *)*endn,"mdl_read::image * array"); ^ 2 warnings generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/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 In file included from palette.c:1: In file included from ./include/palette.hpp:4: ./include/specs.hpp:150:55: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ palette.c:15:46: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] pal=(color *)jmalloc(sizeof(color)*ncolors,"palette"); ^ palette.c:16:44: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] usd=(unsigned char *)jmalloc(ncolors/8+1,"palette used array"); ^ palette.c:26:46: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] pal=(color *)jmalloc(sizeof(color)*ncolors,"palette"); ^ palette.c:27:44: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-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); ^ ( ) palette.c:301:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] pal=(color *)jmalloc(ncolors*3,"palette"); ^ palette.c:302:44: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] usd=(unsigned char *)jmalloc(ncolors/8+1,"palette used array"); ^ 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); ^ ~~ 12 warnings generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -g -O2 -fno-exceptions -fno-rtti -o ppmread.o -c ppmread.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ 1 warning generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/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 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ 1 warning generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -g -O2 -fno-exceptions -fno-rtti -o xwdread.o -c xwdread.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ xwdread.c:517:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] scrap=(char *)jmalloc(bytes,"xwd_read scrap"); ^ xwdread.c:556:37: warning: more '%' conversions than data arguments [-Wformat] { printf("Error : unable to open %s for writing!\n"); ~^ 3 warnings generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/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 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ fonts.c:61:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] let[ch]=new trans_image(&tmp,"JCfont"); ^ 2 warnings generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/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 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ 1 warning generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/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 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ loader.c:44:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] images=(image **)jmalloc(sizeof(image *),"loader::xwd image * array"); ^ loader.c:49:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] images=(image **)jmalloc(sizeof(image *),"loader::ppm image * array"); ^ loader.c:55:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] images=(image **)jmalloc(sizeof(image *),"loader::pic image * array"); ^ loader.c:61:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] images=(image **)jmalloc(sizeof(image *),"loader::bmp image * array"); ^ loader.c:67:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] images=(image **)jmalloc(sizeof(image *),"loader::pcx image * array"); ^ loader.c:73:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] images=(image **)jmalloc(sizeof(image *),"loader::pcx image * array"); ^ loader.c:82:50: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] images=(image **)jmalloc(sizeof(image *),"loader::targa image * array"); ^ 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]; ^ 10 warnings generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -g -O2 -fno-exceptions -fno-rtti -o glread.o -c glread.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ 1 warning generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -g -O2 -fno-exceptions -fno-rtti -o texture.o -c texture.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ 1 warning generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/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 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ specs.c:21:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *spec_types[]={"Invalid type", // 0 ^ specs.c:22:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Color table", // 1 ^ specs.c:23:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Palette", // 2 ^ specs.c:24:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Invalid Type", // 3 ^ specs.c:25:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Image", // 4 ^ specs.c:26:17: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Fore Tile", ^ specs.c:27:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Back Tile", ^ specs.c:28:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Character", ^ specs.c:29:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "8 Morph", ^ specs.c:30:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "16 Morph", ^ specs.c:31:7: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Grue objs", ^ specs.c:32:7: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Extern WAV", ^ specs.c:33:7: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "DMX MUS", ^ specs.c:34:7: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Patched morph", ^ specs.c:35:7: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Normal file", ^ specs.c:36:7: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Compress1 file", ^ specs.c:37:7: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Vector Image", ^ specs.c:38:7: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Light list", ^ specs.c:39:7: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Grue fgmap", ^ specs.c:40:7: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Grue bgmap", ^ specs.c:41:7: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Data array", ^ specs.c:42:7: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Character2", ^ specs.c:43:7: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Particle", ^ specs.c:44:7: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Extern lcache" ^ specs.c:67:57: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] spec_prefix=strcpy((char *)jmalloc(strlen(prefix)+2,"prefix_name"),prefix); ^ specs.c:90:67: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] save_spec_prefix=strcpy((char *)jmalloc(strlen(save_prefix)+1,"prefix_name"),save_prefix); ^ specs.c:119:43: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] rbuf=(unsigned char *)jmalloc(rbuf_size,"File read buffer"); ^ specs.c:123:43: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wbuf=(unsigned char *)jmalloc(wbuf_size,"File write buffer"); ^ specs.c:246:43: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] rbuf=(unsigned char *)jmalloc(rbuf_size,"File buffer"); ^ specs.c:260:42: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] entries=(spec_entry **)jmalloc(sizeof(spec_entry *)*total,"spec_directory::entries"); ^ specs.c:762:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] data=jmalloc(size,"spec_directory::data"); ^ specs.c:890:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] fp=new jFILE(filename,"wb"); ^ specs.c:966:72: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] entries=(spec_entry **)jrealloc(entries,sizeof(spec_entry *)*total,"spec_directory::entries"); ^ specs.c:977:70: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] entries=(spec_entry **)jrealloc(entries,sizeof(spec_entry *)*total,"spec_directory::entries"); ^ 41 warnings generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/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 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ supmorph.c:86:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] movers=(unsigned char *)jmalloc(t*4,"morph movers"); ^ supmorph.c:195:51: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] p=steps=(stepper *)jmalloc(sizeof(stepper)*m->t,"smorph steps"); ^ supmorph.c:238:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] hole=(unsigned char *)jmalloc(w*h,"hole image"); ^ 4 warnings generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/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 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ image24.c:10:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] data=(unsigned char *)jmalloc(width*height*3,"image24"); ^ 2 warnings generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -g -O2 -fno-exceptions -fno-rtti -o pcxread.o -c pcxread.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ 1 warning generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/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 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ timage.c:88:38: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] data=(unsigned char *)jmalloc(size,""); ^ 2 warnings generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -g -O2 -fno-exceptions -fno-rtti -o jmalloc.o -c jmalloc.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated jmalloc.c:134:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] static_list=(int *)jmalloc(total*sizeof(int),"small static report"); ^ jmalloc.c:135:47: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-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: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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] s=(small_block *)static_alloc((size+4)*32+sizeof(small_block),"small_block"); ^ jmalloc.c:415:68: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] s=(small_block *)cache_alloc((size+4)*32+sizeof(small_block),"small_block"); ^ jmalloc.c:687:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *not_enough_total_memory_message="Memory manager : Sorry you do not have enough memory available to\n" ^ jmalloc.c:691:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-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:877:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] mem_report("debug.mem"); ^ jmalloc.c:891:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return jmalloc(size,"::new object"); ^ 15 warnings generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/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 c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/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 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ 1 warning generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/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 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ targa.c:6:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] bFILE *fp=open_file(filename,"rb"); ^ 2 warnings generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -g -O2 -fno-exceptions -fno-rtti -o keys.o -c keys.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated keys.c:5:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *jk_key_names[]= {"Up Arrow","Down Arrow","Left Arrow","Right Arrow", ^ keys.c:5:35: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *jk_key_names[]= {"Up Arrow","Down Arrow","Left Arrow","Right Arrow", ^ keys.c:5:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *jk_key_names[]= {"Up Arrow","Down Arrow","Left Arrow","Right Arrow", ^ keys.c:5:61: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *jk_key_names[]= {"Up Arrow","Down Arrow","Left Arrow","Right Arrow", ^ keys.c:6:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Left Ctrl","Right Ctrl","Left Alt","Right Alt", ^ keys.c:6:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Left Ctrl","Right Ctrl","Left Alt","Right Alt", ^ keys.c:6:46: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Left Ctrl","Right Ctrl","Left Alt","Right Alt", ^ keys.c:6:57: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Left Ctrl","Right Ctrl","Left Alt","Right Alt", ^ keys.c:7:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Left Shift","Right Shift","Caps Lock","Num Lock", ^ keys.c:7:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Left Shift","Right Shift","Caps Lock","Num Lock", ^ keys.c:7:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Left Shift","Right Shift","Caps Lock","Num Lock", ^ keys.c:7:60: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Left Shift","Right Shift","Caps Lock","Num Lock", ^ keys.c:8:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Home","End","Del","F1","F2","F3","F4","F5","F6", ^ keys.c:8:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Home","End","Del","F1","F2","F3","F4","F5","F6", ^ keys.c:8:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Home","End","Del","F1","F2","F3","F4","F5","F6", ^ keys.c:8:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Home","End","Del","F1","F2","F3","F4","F5","F6", ^ keys.c:8:45: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Home","End","Del","F1","F2","F3","F4","F5","F6", ^ keys.c:8:50: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Home","End","Del","F1","F2","F3","F4","F5","F6", ^ keys.c:8:55: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Home","End","Del","F1","F2","F3","F4","F5","F6", ^ keys.c:8:60: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Home","End","Del","F1","F2","F3","F4","F5","F6", ^ keys.c:8:65: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Home","End","Del","F1","F2","F3","F4","F5","F6", ^ keys.c:9:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "F7","F8","F9","F10","Insert","PageUp","PageDown","Command"}; ^ keys.c:9:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "F7","F8","F9","F10","Insert","PageUp","PageDown","Command"}; ^ keys.c:9:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "F7","F8","F9","F10","Insert","PageUp","PageDown","Command"}; ^ keys.c:9:36: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "F7","F8","F9","F10","Insert","PageUp","PageDown","Command"}; ^ keys.c:9:42: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "F7","F8","F9","F10","Insert","PageUp","PageDown","Command"}; ^ keys.c:9:51: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "F7","F8","F9","F10","Insert","PageUp","PageDown","Command"}; ^ keys.c:9:60: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "F7","F8","F9","F10","Insert","PageUp","PageDown","Command"}; ^ keys.c:9:71: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "F7","F8","F9","F10","Insert","PageUp","PageDown","Command"}; ^ 29 warnings generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/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 c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/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 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ status.c:15:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-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; } ^ 3 warnings generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -g -O2 -fno-exceptions -fno-rtti -o visobj.o -c visobj.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ visobj.c:15:46: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] st=strcpy((char *)jmalloc(strlen(string)+1,"string visual"),string); ^ 2 warnings generated. rm -f libimage.a ar cru libimage.a filter.o gifread.o globals.o image.o linked.o input.o mdlread.o palette.o ppmread.o include.o xwdread.o fonts.o decoder.o loader.o glread.o texture.o specs.o supmorph.o image24.o pcxread.o timage.o jmalloc.o jrand.o lbmread.o targa.o keys.o dprint.o status.o visobj.o ranlib libimage.a c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/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 packet.c:43:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] buf=(uchar *)jmalloc(buf_size,"packet buffer"); ^ packet.c:74:35: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] buf=(uchar *)jrealloc(buf,max,"packet buffer"); ^ 2 warnings generated. rm -f libpacket.a ar cru libpacket.a packet.o ranlib libpacket.a c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -g -O2 -fno-exceptions -fno-rtti -o pmenu.o -c pmenu.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ pmenu.c:54:45: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] n=strcpy((char *)jmalloc(strlen(Name)+1,"pmenu_item::name"),Name); ^ pmenu.c:67:43: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (on_off && *on_off) wm->font()->put_string(parent->screen,bx+1,y+1,"*",wm->medium_color()); ^ pmenu.c:234:72: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (on_off && *on_off) wm->font()->put_string(parent->screen,bx+1,y+1,"*",wm->bright_color()); ^ 6 warnings generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -g -O2 -fno-exceptions -fno-rtti -o scroller.o -c scroller.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ scroller.c:383:68: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] lis=(pick_list_item *)jmalloc(sizeof(pick_list_item)*num_entries,"pick list"); ^ scroller.c:555:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] select=(uchar *)jmalloc((t+7)/8,"selection bit array"); ^ 3 warnings generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/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 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ filesel.c:120:9: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ">","****************************************",def, ^ filesel.c:120:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ">","****************************************",def, ^ 3 warnings generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/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 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-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. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/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 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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ guistat.c:16:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-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: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] first->stat_win=wm->new_window(wx,wy,len3, h1*2+h2,NULL,"status"); ^ 4 warnings generated. rm -f libgui.a ar cru libgui.a pmenu.o scroller.o filesel.o tools.o guistat.o ranlib libgui.a c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -g -O2 -fno-exceptions -fno-rtti -o readwav.o -c readwav.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from readwav.c:1: In file included from ./include/readwav.hpp:3: ./include/specs.hpp:150:55: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] name=strcpy((char *)jmalloc(strlen(object_name)+1,"spec_entry::name"),object_name); ^ readwav.c:74:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *riff = "RIFF"; ^ readwav.c:75:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *wave = "WAVE"; ^ readwav.c:76:15: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *fmt = "fmt "; ^ readwav.c:77:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *d = "data"; ^ readwav.c:79:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-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.c:125:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] bFILE *fp=open_file(filename,"rb"); ^ readwav.c:159:42: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] data=(unsigned char *)jmalloc(tag.size,"WAV data"); ^ 9 warnings generated. c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -g -O2 -fno-exceptions -fno-rtti -o port/unix/sound.o -c port/unix/sound.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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 1 warning generated. rm -f libsound.a ar cru libsound.a readwav.o port/unix/sound.o ranlib libsound.a c++ -DPACKAGE=\"imlib\" -DVERSION=\"2.0\" -DHAVE_ATEXIT=1 -I. -I. -DMANAGE_MEM -DNO_CHECK -I./include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/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 port/unix/jnet.c:156:16: error: no matching function for call to 'accept' int new_fd=accept(fd, (struct sockaddr *) &host, &len); ^~~~~~ /usr/include/sys/socket.h:642:5: note: candidate function not viable: no known conversion from 'int *' to '__socklen_t *restrict' (aka 'unsigned int *restrict') for 3rd argument int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ port/unix/jnet.c:311:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-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]: Leaving directory '/usr/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