=> Bootstrap dependency digest>=20010302: found digest-20180917 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for gmic-1.5.9.3nb9 ** ** Generic unix configuration. ** /usr/pkg/bin/gmake linux gimp lib # zart gmake[1]: Entering directory '/data/scratch/graphics/gmic/work/gmic-1.5.9.3/src' /usr/pkg/bin/gmake "CFLAGS=-Dgmic_build -I/usr/pkg/include -Wall -W -Dcimg_use_vt100 -Dgmic_is_parallel -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" -I/usr/pkg/include -fopenmp -Dcimg_use_openmp -Dcimg_use_png -Dcimg_use_jpeg -Dcimg_use_tiff -Dcimg_use_zlib -Dcimg_use_openexr -I/usr/pkg/include/OpenEXR -Dcimg_use_fftw3 -O2" "LDFLAGS=-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lm -lpthread -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lX11 -lpthread -lpng -lz -ljpeg -ltiff -lz -lIlmImf -lHalf -lfftw3 -lfftw3_threads " "STRIP_EXE=1" gmic /usr/pkg/bin/gmake "CFLAGS=-Dgmic_build -I/usr/pkg/include -Wall -W -Dcimg_use_vt100 -Dgmic_is_parallel -fopenmp -Dcimg_use_openmp -Dcimg_use_fftw3 -Dcimg_use_png -Dcimg_use_zlib -Dcimg_display=0 -Dcimg_use_rng -O2" "LDFLAGS+=-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lm -lpthread -lfftw3 -lfftw3_threads -lpng -lz -lz " "STRIP_EXE=1" gmic_gimp /usr/pkg/bin/gmake "CFLAGS=-Dgmic_build -I/usr/pkg/include -Wall -W -Dcimg_use_vt100 -Dgmic_is_parallel -fopenmp -Dcimg_use_openmp -Dcimg_use_fftw3 -Dcimg_display=0 -O2" "LDFLAGS+=-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lm -lpthread -lfftw3 -lfftw3_threads " gmic_lib gmake[2]: Entering directory '/data/scratch/graphics/gmic/work/gmic-1.5.9.3/src' gmake[2]: Entering directory '/data/scratch/graphics/gmic/work/gmic-1.5.9.3/src' g++ -o gmic gmic.cpp -Dgmic_build -I/usr/pkg/include -Wall -W -Dcimg_use_vt100 -Dgmic_is_parallel -Dcimg_display=1 -Dcimg_appname=\"gmic\" -I/usr/pkg/include -fopenmp -Dcimg_use_openmp -Dcimg_use_png -Dcimg_use_jpeg -Dcimg_use_tiff -Dcimg_use_zlib -Dcimg_use_openexr -I/usr/pkg/include/OpenEXR -Dcimg_use_fftw3 -O2 -Dgmic_float_only -Dgmic_main -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lm -lpthread -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lX11 -lpthread -lpng -lz -ljpeg -ltiff -lz -lIlmImf -lHalf -lfftw3 -lfftw3_threads g++ -o gmic_gimp.o -c gmic.cpp -Dgmic_build -I/usr/pkg/include -Wall -W -Dcimg_use_vt100 -Dgmic_is_parallel -fopenmp -Dcimg_use_openmp -Dcimg_use_fftw3 -Dcimg_use_png -Dcimg_use_zlib -Dcimg_display=0 -Dcimg_use_rng -O2 -Dgmic_gimp -Dgmic_float_only gmake[2]: Entering directory '/data/scratch/graphics/gmic/work/gmic-1.5.9.3/src' g++ -o gmic_lib.o -c gmic.cpp -fPIC -Dgmic_build -I/usr/pkg/include -Wall -W -Dcimg_use_vt100 -Dgmic_is_parallel -fopenmp -Dcimg_use_openmp -Dcimg_use_fftw3 -Dcimg_display=0 -O2 -Dgmic_float_only In file included from gmic.cpp:1879: In file included from ./gmic.h:70: ././CImg.h:2258:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static char min() { return (char)(-1L<<(8*sizeof(char)-1)); } ~~~^ ././CImg.h:2259:52: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static char max() { return (char)~((char)(-1L<<(8*sizeof(char)-1))); } ~~~^ ././CImg.h:2271:58: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static signed char min() { return (signed char)(-1L<<(8*sizeof(signed char)-1)); } ~~~^ ././CImg.h:2272:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static signed char max() { return ~((signed char)(-1L<<(8*sizeof(signed char)-1))); } ~~~^ ././CImg.h:2297:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static short min() { return (short)(-1L<<(8*sizeof(short)-1)); } ~~~^ ././CImg.h:2298:48: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static short max() { return ~((short)(-1L<<(8*sizeof(short)-1))); } ~~~^ ././CImg.h:2323:42: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static int min() { return (int)(-1L<<(8*sizeof(int)-1)); } ~~~^ ././CImg.h:2324:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static int max() { return ~((int)(-1L<<(8*sizeof(int)-1))); } ~~~^ ././CImg.h:2349:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static long min() { return (long)(-1L<<(8*sizeof(long)-1)); } ~~~^ ././CImg.h:2350:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static long max() { return ~((long)(-1L<<(8*sizeof(long)-1))); } ~~~^ In file included from gmic.cpp:1879: In file included from ./gmic.h:70: ././CImg.h:2258:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static char min() { return (char)(-1L<<(8*sizeof(char)-1)); } ~~~^ ././CImg.h:2259:52: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static char max() { return (char)~((char)(-1L<<(8*sizeof(char)-1))); } ~~~^ ././CImg.h:2271:58: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static signed char min() { return (signed char)(-1L<<(8*sizeof(signed char)-1)); } ~~~^ ././CImg.h:2272:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static signed char max() { return ~((signed char)(-1L<<(8*sizeof(signed char)-1))); } ~~~^ ././CImg.h:2297:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static short min() { return (short)(-1L<<(8*sizeof(short)-1)); } ~~~^ ././CImg.h:2298:48: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static short max() { return ~((short)(-1L<<(8*sizeof(short)-1))); } ~~~^ ././CImg.h:2323:42: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static int min() { return (int)(-1L<<(8*sizeof(int)-1)); } ~~~^ ././CImg.h:2324:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static int max() { return ~((int)(-1L<<(8*sizeof(int)-1))); } ~~~^ ././CImg.h:2349:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static long min() { return (long)(-1L<<(8*sizeof(long)-1)); } ~~~^ ././CImg.h:2350:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static long max() { return ~((long)(-1L<<(8*sizeof(long)-1))); } ~~~^ In file included from gmic.cpp:1879: In file included from ./gmic.h:70: In file included from ././CImg.h:391: In file included from /data/scratch/graphics/gmic/work/.buildlink/include/OpenEXR/ImfMatrixAttribute.h:49: /data/scratch/graphics/gmic/work/.buildlink/include/OpenEXR/ImfAttribute.h:326:41: warning: unused parameter 'version' [-Wunused-parameter] int version) const ^ /data/scratch/graphics/gmic/work/.buildlink/include/OpenEXR/ImfAttribute.h:335:42: warning: unused parameter 'size' [-Wunused-parameter] int size, ^ /data/scratch/graphics/gmic/work/.buildlink/include/OpenEXR/ImfAttribute.h:336:42: warning: unused parameter 'version' [-Wunused-parameter] int version) ^ In file included from gmic.cpp:1879: In file included from ./gmic.h:70: ././CImg.h:2258:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static char min() { return (char)(-1L<<(8*sizeof(char)-1)); } ~~~^ ././CImg.h:2259:52: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static char max() { return (char)~((char)(-1L<<(8*sizeof(char)-1))); } ~~~^ ././CImg.h:2271:58: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static signed char min() { return (signed char)(-1L<<(8*sizeof(signed char)-1)); } ~~~^ ././CImg.h:2272:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static signed char max() { return ~((signed char)(-1L<<(8*sizeof(signed char)-1))); } ~~~^ ././CImg.h:2297:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static short min() { return (short)(-1L<<(8*sizeof(short)-1)); } ~~~^ ././CImg.h:2298:48: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static short max() { return ~((short)(-1L<<(8*sizeof(short)-1))); } ~~~^ ././CImg.h:2323:42: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static int min() { return (int)(-1L<<(8*sizeof(int)-1)); } ~~~^ ././CImg.h:2324:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static int max() { return ~((int)(-1L<<(8*sizeof(int)-1))); } ~~~^ ././CImg.h:2349:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static long min() { return (long)(-1L<<(8*sizeof(long)-1)); } ~~~^ ././CImg.h:2350:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static long max() { return ~((long)(-1L<<(8*sizeof(long)-1))); } ~~~^ ././CImg.h:13797:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['w'] = 3; ^ ~~~ ././CImg.h:15984:14: note: in instantiation of member function 'cimg_library::CImg::_cimg_math_parser::_cimg_math_parser' requested here return _cimg_math_parser(*this,expression,"eval")(x,y,z,c); ^ ././CImg.h:47594:18: note: in instantiation of member function 'cimg_library::CImg::eval' requested here return empty.eval(expression,x,y,z,c); ^ ././CImg.h:13798:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['h'] = 4; ^ ~~~ ././CImg.h:13799:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['d'] = 5; ^ ~~~ ././CImg.h:13800:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['s'] = 6; ^ ~~~ ././CImg.h:13802:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['e'] = 8; ^ ~~~ ././CImg.h:13803:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['x'] = 9; ^ ~~~ ././CImg.h:13804:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['y'] = 10; ^ ~~~ ././CImg.h:13805:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['z'] = 11; ^ ~~~ ././CImg.h:13806:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['c'] = 12; ^ ~~~ ././CImg.h:13882:82: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'x' : case 'y' : case 'z' : case 'c' : case 'e' : _cimg_mp_return(label1pos[*ss]); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13807:18: note: in instantiation of member function 'cimg_library::CImg::_cimg_math_parser::compile' requested here result = compile(expr._data,expr._data+l); // Compile formula into a serie of opcodes. ^ ././CImg.h:15984:14: note: in instantiation of member function 'cimg_library::CImg::_cimg_math_parser::_cimg_math_parser' requested here return _cimg_math_parser(*this,expression,"eval")(x,y,z,c); ^ ././CImg.h:47594:18: note: in instantiation of member function 'cimg_library::CImg::eval' requested here return empty.eval(expression,x,y,z,c); ^ ././CImg.h:13883:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'u' : if (label1pos['u']!=~0U) _cimg_mp_return(label1pos['u']); _cimg_mp_opcode2(mp_u,0,1); ^ ~~~ ././CImg.h:13883:63: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'u' : if (label1pos['u']!=~0U) _cimg_mp_return(label1pos['u']); _cimg_mp_opcode2(mp_u,0,1); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13884:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'g' : if (label1pos['g']!=~0U) _cimg_mp_return(label1pos['g']); _cimg_mp_opcode0(mp_g); ^ ~~~ ././CImg.h:13884:63: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'g' : if (label1pos['g']!=~0U) _cimg_mp_return(label1pos['g']); _cimg_mp_opcode0(mp_g); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13885:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'i' : if (label1pos['i']!=~0U) _cimg_mp_return(label1pos['i']); _cimg_mp_opcode0(mp_i); ^ ~~~ ././CImg.h:13885:63: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'i' : if (label1pos['i']!=~0U) _cimg_mp_return(label1pos['i']); _cimg_mp_opcode0(mp_i); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13962:20: warning: array subscript is of type 'char' [-Wchar-subscripts] } else label1pos[*variable_name] = pos; // Single-char variable. ^ ~~~~~~~~~~~~~~ ././CImg.h:14174:18: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (label1pos[*variable_name]!=~0U) _cimg_mp_return(label1pos[*variable_name]); // Single-char variable. ^ ~~~~~~~~~~~~~~ ././CImg.h:14174:66: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (label1pos[*variable_name]!=~0U) _cimg_mp_return(label1pos[*variable_name]); // Single-char variable. ^ ~~~~~~~~~~~~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13797:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['w'] = 3; ^ ~~~ ././CImg.h:18079:27: note: in instantiation of member function 'cimg_library::CImg::_cimg_math_parser::_cimg_math_parser' requested here _cimg_math_parser mp(base,expression+(*expression=='>' || *expression=='<'?1:0),"fill"); ^ ././CImg.h:9468:9: note: in instantiation of member function 'cimg_library::CImg::fill' requested here fill(values,repeat_values); ^ ./gmic.cpp:3383:17: note: in instantiation of member function 'cimg_library::CImg::CImg' requested here CImg(nb_values,1,1,1,inbraces.data()+1,false).move_to(substituted_items); ^ ./gmic.cpp:4140:7: note: in instantiation of function template specialization 'gmic::substitute_item' requested here substitute_item(initial_item,images,images_names,variables_sizes).move_to(_item); ^ ./gmic.cpp:13102:10: note: in instantiation of function template specialization 'gmic::_parse' requested here return _parse(commands_line,position,images,images_names,variables_sizes); ^ In file included from ./gmic.cpp:1879: In file included from ./gmic.h:70: ././CImg.h:13798:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['h'] = 4; ^ ~~~ ././CImg.h:13799:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['d'] = 5; ^ ~~~ ././CImg.h:13800:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['s'] = 6; ^ ~~~ ././CImg.h:13802:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['e'] = 8; ^ ~~~ ././CImg.h:13803:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['x'] = 9; ^ ~~~ ././CImg.h:13804:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['y'] = 10; ^ ~~~ ././CImg.h:13805:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['z'] = 11; ^ ~~~ ././CImg.h:13806:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['c'] = 12; ^ ~~~ ././CImg.h:13882:82: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'x' : case 'y' : case 'z' : case 'c' : case 'e' : _cimg_mp_return(label1pos[*ss]); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13807:18: note: in instantiation of member function 'cimg_library::CImg::_cimg_math_parser::compile' requested here result = compile(expr._data,expr._data+l); // Compile formula into a serie of opcodes. ^ ././CImg.h:18079:27: note: in instantiation of member function 'cimg_library::CImg::_cimg_math_parser::_cimg_math_parser' requested here _cimg_math_parser mp(base,expression+(*expression=='>' || *expression=='<'?1:0),"fill"); ^ ././CImg.h:9468:9: note: in instantiation of member function 'cimg_library::CImg::fill' requested here fill(values,repeat_values); ^ ./gmic.cpp:3383:17: note: in instantiation of member function 'cimg_library::CImg::CImg' requested here CImg(nb_values,1,1,1,inbraces.data()+1,false).move_to(substituted_items); ^ ./gmic.cpp:4140:7: note: in instantiation of function template specialization 'gmic::substitute_item' requested here substitute_item(initial_item,images,images_names,variables_sizes).move_to(_item); ^ ./gmic.cpp:13102:10: note: in instantiation of function template specialization 'gmic::_parse' requested here return _parse(commands_line,position,images,images_names,variables_sizes); ^ In file included from ./gmic.cpp:1879: In file included from ./gmic.h:70: ././CImg.h:13883:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'u' : if (label1pos['u']!=~0U) _cimg_mp_return(label1pos['u']); _cimg_mp_opcode2(mp_u,0,1); ^ ~~~ ././CImg.h:13883:63: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'u' : if (label1pos['u']!=~0U) _cimg_mp_return(label1pos['u']); _cimg_mp_opcode2(mp_u,0,1); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13884:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'g' : if (label1pos['g']!=~0U) _cimg_mp_return(label1pos['g']); _cimg_mp_opcode0(mp_g); ^ ~~~ ././CImg.h:13884:63: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'g' : if (label1pos['g']!=~0U) _cimg_mp_return(label1pos['g']); _cimg_mp_opcode0(mp_g); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13885:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'i' : if (label1pos['i']!=~0U) _cimg_mp_return(label1pos['i']); _cimg_mp_opcode0(mp_i); ^ ~~~ ././CImg.h:13885:63: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'i' : if (label1pos['i']!=~0U) _cimg_mp_return(label1pos['i']); _cimg_mp_opcode0(mp_i); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13962:20: warning: array subscript is of type 'char' [-Wchar-subscripts] } else label1pos[*variable_name] = pos; // Single-char variable. ^ ~~~~~~~~~~~~~~ ././CImg.h:47209:7: warning: array subscript is of type 'char' [-Wchar-subscripts] res[' '].resize(res['f']._width,-100,-100,-100,0); ^ ~~~ ././CImg.h:47194:14: note: in instantiation of member function 'cimg_library::CImgList::get_crop_font' requested here return get_crop_font().move_to(*this); ^ ././CImg.h:47274:37: note: in instantiation of member function 'cimg_library::CImgList::crop_font' requested here if (is_variable_width) font.crop_font(); ^ ././CImg.h:33222:56: note: in instantiation of member function 'cimg_library::CImgList::font' requested here const CImgList& font = CImgList::font(font_height,true); ^ ././CImg.h:47440:48: note: in instantiation of function template specialization 'cimg_library::CImg::draw_text' requested here if (button1_label) { CImg().draw_text(0,0,button1_label,black,gray,1,13).move_to(buttons); ^ ././CImg.h:47572:12: note: in instantiation of function template specialization 'cimg_library::cimg::dialog' requested here return dialog(title,msg,button1_label,button2_label,button3_label,button4_label,button5_label,button6_label, ^ ././CImg.h:47209:23: warning: array subscript is of type 'char' [-Wchar-subscripts] res[' '].resize(res['f']._width,-100,-100,-100,0); ^ ~~~ ././CImg.h:47210:51: warning: array subscript is of type 'char' [-Wchar-subscripts] if (' '+256::_draw_text' requested here _draw_text(x0,y0,tmp,foreground_color,background_color,opacity,font,true); ^ ././CImg.h:47440:48: note: in instantiation of function template specialization 'cimg_library::CImg::draw_text' requested here if (button1_label) { CImg().draw_text(0,0,button1_label,black,gray,1,13).move_to(buttons); ^ ././CImg.h:47572:12: note: in instantiation of function template specialization 'cimg_library::cimg::dialog' requested here return dialog(title,msg,button1_label,button2_label,button3_label,button4_label,button5_label,button6_label, ^ ././CImg.h:33288:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case '\t' : x+=4*font[' ']._width; break; ^ ~~~ ././CImg.h:14174:18: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (label1pos[*variable_name]!=~0U) _cimg_mp_return(label1pos[*variable_name]); // Single-char variable. ^ ~~~~~~~~~~~~~~ ././CImg.h:14174:66: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (label1pos[*variable_name]!=~0U) _cimg_mp_return(label1pos[*variable_name]); // Single-char variable. ^ ~~~~~~~~~~~~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:47209:7: warning: array subscript is of type 'char' [-Wchar-subscripts] res[' '].resize(res['f']._width,-100,-100,-100,0); ^ ~~~ ././CImg.h:47194:14: note: in instantiation of member function 'cimg_library::CImgList::get_crop_font' requested here return get_crop_font().move_to(*this); ^ ././CImg.h:47274:37: note: in instantiation of member function 'cimg_library::CImgList::crop_font' requested here if (is_variable_width) font.crop_font(); ^ ././CImg.h:33222:56: note: in instantiation of member function 'cimg_library::CImgList::font' requested here const CImgList& font = CImgList::font(font_height,true); ^ ././CImg.h:33454:26: note: in instantiation of function template specialization 'cimg_library::CImg::draw_text' requested here label.assign().draw_text(0,0,txt,color,(tc*)0,opacity,font_height); ^ ././CImg.h:33543:9: note: in instantiation of function template specialization 'cimg_library::CImg::draw_axis' requested here draw_axis((int)x0,CImg::sequence(subdivisiony>0?subdivisiony:1-height()/subdivisiony,y0,y1).round(py), ^ ./gmic.cpp:4618:32: note: in instantiation of function template specialization 'cimg_library::CImg::draw_axes' requested here gmic_apply(img,draw_axes(xmin,xmax,ymin,ymax,col.data(),opacity, ^ ./gmic.cpp:13102:10: note: in instantiation of function template specialization 'gmic::_parse' requested here return _parse(commands_line,position,images,images_names,variables_sizes); ^ In file included from ./gmic.cpp:1879: In file included from ./gmic.h:70: ././CImg.h:47209:23: warning: array subscript is of type 'char' [-Wchar-subscripts] res[' '].resize(res['f']._width,-100,-100,-100,0); ^ ~~~ ././CImg.h:47210:51: warning: array subscript is of type 'char' [-Wchar-subscripts] if (' '+256::_draw_text' requested here _draw_text(x0,y0,tmp,foreground_color,background_color,opacity,font,true); ^ ././CImg.h:33454:26: note: in instantiation of function template specialization 'cimg_library::CImg::draw_text' requested here label.assign().draw_text(0,0,txt,color,(tc*)0,opacity,font_height); ^ ././CImg.h:33543:9: note: in instantiation of function template specialization 'cimg_library::CImg::draw_axis' requested here draw_axis((int)x0,CImg::sequence(subdivisiony>0?subdivisiony:1-height()/subdivisiony,y0,y1).round(py), ^ ./gmic.cpp:4618:32: note: in instantiation of function template specialization 'cimg_library::CImg::draw_axes' requested here gmic_apply(img,draw_axes(xmin,xmax,ymin,ymax,col.data(),opacity, ^ ./gmic.cpp:13102:10: note: in instantiation of function template specialization 'gmic::_parse' requested here return _parse(commands_line,position,images,images_names,variables_sizes); ^ In file included from ./gmic.cpp:1879: In file included from ./gmic.h:70: ././CImg.h:33288:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case '\t' : x+=4*font[' ']._width; break; ^ ~~~ ././CImg.h:13797:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['w'] = 3; ^ ~~~ ././CImg.h:15984:14: note: in instantiation of member function 'cimg_library::CImg::_cimg_math_parser::_cimg_math_parser' requested here return _cimg_math_parser(*this,expression,"eval")(x,y,z,c); ^ ././CImg.h:47594:18: note: in instantiation of member function 'cimg_library::CImg::eval' requested here return empty.eval(expression,x,y,z,c); ^ ././CImg.h:13798:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['h'] = 4; ^ ~~~ ././CImg.h:13799:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['d'] = 5; ^ ~~~ ././CImg.h:13800:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['s'] = 6; ^ ~~~ ././CImg.h:13802:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['e'] = 8; ^ ~~~ ././CImg.h:13803:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['x'] = 9; ^ ~~~ ././CImg.h:13804:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['y'] = 10; ^ ~~~ ././CImg.h:13805:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['z'] = 11; ^ ~~~ ././CImg.h:13806:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['c'] = 12; ^ ~~~ ././CImg.h:13882:82: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'x' : case 'y' : case 'z' : case 'c' : case 'e' : _cimg_mp_return(label1pos[*ss]); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13807:18: note: in instantiation of member function 'cimg_library::CImg::_cimg_math_parser::compile' requested here result = compile(expr._data,expr._data+l); // Compile formula into a serie of opcodes. ^ ././CImg.h:15984:14: note: in instantiation of member function 'cimg_library::CImg::_cimg_math_parser::_cimg_math_parser' requested here return _cimg_math_parser(*this,expression,"eval")(x,y,z,c); ^ ././CImg.h:47594:18: note: in instantiation of member function 'cimg_library::CImg::eval' requested here return empty.eval(expression,x,y,z,c); ^ ././CImg.h:13883:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'u' : if (label1pos['u']!=~0U) _cimg_mp_return(label1pos['u']); _cimg_mp_opcode2(mp_u,0,1); ^ ~~~ ././CImg.h:13883:63: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'u' : if (label1pos['u']!=~0U) _cimg_mp_return(label1pos['u']); _cimg_mp_opcode2(mp_u,0,1); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13884:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'g' : if (label1pos['g']!=~0U) _cimg_mp_return(label1pos['g']); _cimg_mp_opcode0(mp_g); ^ ~~~ ././CImg.h:13884:63: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'g' : if (label1pos['g']!=~0U) _cimg_mp_return(label1pos['g']); _cimg_mp_opcode0(mp_g); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13885:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'i' : if (label1pos['i']!=~0U) _cimg_mp_return(label1pos['i']); _cimg_mp_opcode0(mp_i); ^ ~~~ ././CImg.h:13885:63: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'i' : if (label1pos['i']!=~0U) _cimg_mp_return(label1pos['i']); _cimg_mp_opcode0(mp_i); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13962:20: warning: array subscript is of type 'char' [-Wchar-subscripts] } else label1pos[*variable_name] = pos; // Single-char variable. ^ ~~~~~~~~~~~~~~ ././CImg.h:14174:18: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (label1pos[*variable_name]!=~0U) _cimg_mp_return(label1pos[*variable_name]); // Single-char variable. ^ ~~~~~~~~~~~~~~ ././CImg.h:14174:66: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (label1pos[*variable_name]!=~0U) _cimg_mp_return(label1pos[*variable_name]); // Single-char variable. ^ ~~~~~~~~~~~~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13797:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['w'] = 3; ^ ~~~ ././CImg.h:18079:27: note: in instantiation of member function 'cimg_library::CImg::_cimg_math_parser::_cimg_math_parser' requested here _cimg_math_parser mp(base,expression+(*expression=='>' || *expression=='<'?1:0),"fill"); ^ ././CImg.h:9468:9: note: in instantiation of member function 'cimg_library::CImg::fill' requested here fill(values,repeat_values); ^ ./gmic.cpp:3383:17: note: in instantiation of member function 'cimg_library::CImg::CImg' requested here CImg(nb_values,1,1,1,inbraces.data()+1,false).move_to(substituted_items); ^ ./gmic.cpp:4140:7: note: in instantiation of function template specialization 'gmic::substitute_item' requested here substitute_item(initial_item,images,images_names,variables_sizes).move_to(_item); ^ ./gmic.cpp:13102:10: note: in instantiation of function template specialization 'gmic::_parse' requested here return _parse(commands_line,position,images,images_names,variables_sizes); ^ In file included from ./gmic.cpp:1879: In file included from ./gmic.h:70: ././CImg.h:13798:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['h'] = 4; ^ ~~~ ././CImg.h:13799:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['d'] = 5; ^ ~~~ ././CImg.h:13800:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['s'] = 6; ^ ~~~ ././CImg.h:13802:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['e'] = 8; ^ ~~~ ././CImg.h:13803:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['x'] = 9; ^ ~~~ ././CImg.h:13804:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['y'] = 10; ^ ~~~ ././CImg.h:13805:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['z'] = 11; ^ ~~~ ././CImg.h:13806:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['c'] = 12; ^ ~~~ ././CImg.h:13882:82: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'x' : case 'y' : case 'z' : case 'c' : case 'e' : _cimg_mp_return(label1pos[*ss]); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13807:18: note: in instantiation of member function 'cimg_library::CImg::_cimg_math_parser::compile' requested here result = compile(expr._data,expr._data+l); // Compile formula into a serie of opcodes. ^ ././CImg.h:18079:27: note: in instantiation of member function 'cimg_library::CImg::_cimg_math_parser::_cimg_math_parser' requested here _cimg_math_parser mp(base,expression+(*expression=='>' || *expression=='<'?1:0),"fill"); ^ ././CImg.h:9468:9: note: in instantiation of member function 'cimg_library::CImg::fill' requested here fill(values,repeat_values); ^ ./gmic.cpp:3383:17: note: in instantiation of member function 'cimg_library::CImg::CImg' requested here CImg(nb_values,1,1,1,inbraces.data()+1,false).move_to(substituted_items); ^ ./gmic.cpp:4140:7: note: in instantiation of function template specialization 'gmic::substitute_item' requested here substitute_item(initial_item,images,images_names,variables_sizes).move_to(_item); ^ ./gmic.cpp:13102:10: note: in instantiation of function template specialization 'gmic::_parse' requested here return _parse(commands_line,position,images,images_names,variables_sizes); ^ In file included from ./gmic.cpp:1879: In file included from ./gmic.h:70: ././CImg.h:13883:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'u' : if (label1pos['u']!=~0U) _cimg_mp_return(label1pos['u']); _cimg_mp_opcode2(mp_u,0,1); ^ ~~~ ././CImg.h:13883:63: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'u' : if (label1pos['u']!=~0U) _cimg_mp_return(label1pos['u']); _cimg_mp_opcode2(mp_u,0,1); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13884:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'g' : if (label1pos['g']!=~0U) _cimg_mp_return(label1pos['g']); _cimg_mp_opcode0(mp_g); ^ ~~~ ././CImg.h:13884:63: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'g' : if (label1pos['g']!=~0U) _cimg_mp_return(label1pos['g']); _cimg_mp_opcode0(mp_g); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13885:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'i' : if (label1pos['i']!=~0U) _cimg_mp_return(label1pos['i']); _cimg_mp_opcode0(mp_i); ^ ~~~ ././CImg.h:13885:63: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'i' : if (label1pos['i']!=~0U) _cimg_mp_return(label1pos['i']); _cimg_mp_opcode0(mp_i); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13962:20: warning: array subscript is of type 'char' [-Wchar-subscripts] } else label1pos[*variable_name] = pos; // Single-char variable. ^ ~~~~~~~~~~~~~~ ././CImg.h:14174:18: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (label1pos[*variable_name]!=~0U) _cimg_mp_return(label1pos[*variable_name]); // Single-char variable. ^ ~~~~~~~~~~~~~~ ././CImg.h:14174:66: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (label1pos[*variable_name]!=~0U) _cimg_mp_return(label1pos[*variable_name]); // Single-char variable. ^ ~~~~~~~~~~~~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:33272:28: warning: array subscript is of type 'char' [-Wchar-subscripts] case '\t' : x+=4*font[' ']._width; break; ^ ~~~ ././CImg.h:33223:7: note: in instantiation of function template specialization 'cimg_library::CImg::_draw_text' requested here _draw_text(x0,y0,tmp,foreground_color,background_color,opacity,font,true); ^ ././CImg.h:33454:26: note: in instantiation of function template specialization 'cimg_library::CImg::draw_text' requested here label.assign().draw_text(0,0,txt,color,(tc*)0,opacity,font_height); ^ ././CImg.h:33543:9: note: in instantiation of function template specialization 'cimg_library::CImg::draw_axis' requested here draw_axis((int)x0,CImg::sequence(subdivisiony>0?subdivisiony:1-height()/subdivisiony,y0,y1).round(py), ^ ./gmic.cpp:4618:32: note: in instantiation of function template specialization 'cimg_library::CImg::draw_axes' requested here gmic_apply(img,draw_axes(xmin,xmax,ymin,ymax,col.data(),opacity, ^ ./gmic.cpp:13102:10: note: in instantiation of function template specialization 'gmic::_parse' requested here return _parse(commands_line,position,images,images_names,variables_sizes); ^ In file included from ./gmic.cpp:1879: In file included from ./gmic.h:70: ././CImg.h:33288:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case '\t' : x+=4*font[' ']._width; break; ^ ~~~ ././CImg.h:13797:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['w'] = 3; ^ ~~~ ././CImg.h:15984:14: note: in instantiation of member function 'cimg_library::CImg::_cimg_math_parser::_cimg_math_parser' requested here return _cimg_math_parser(*this,expression,"eval")(x,y,z,c); ^ ././CImg.h:47594:18: note: in instantiation of member function 'cimg_library::CImg::eval' requested here return empty.eval(expression,x,y,z,c); ^ ././CImg.h:13798:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['h'] = 4; ^ ~~~ ././CImg.h:13799:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['d'] = 5; ^ ~~~ ././CImg.h:13800:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['s'] = 6; ^ ~~~ ././CImg.h:13802:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['e'] = 8; ^ ~~~ ././CImg.h:13803:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['x'] = 9; ^ ~~~ ././CImg.h:13804:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['y'] = 10; ^ ~~~ ././CImg.h:13805:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['z'] = 11; ^ ~~~ ././CImg.h:13806:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['c'] = 12; ^ ~~~ ././CImg.h:13882:82: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'x' : case 'y' : case 'z' : case 'c' : case 'e' : _cimg_mp_return(label1pos[*ss]); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13807:18: note: in instantiation of member function 'cimg_library::CImg::_cimg_math_parser::compile' requested here result = compile(expr._data,expr._data+l); // Compile formula into a serie of opcodes. ^ ././CImg.h:15984:14: note: in instantiation of member function 'cimg_library::CImg::_cimg_math_parser::_cimg_math_parser' requested here return _cimg_math_parser(*this,expression,"eval")(x,y,z,c); ^ ././CImg.h:47594:18: note: in instantiation of member function 'cimg_library::CImg::eval' requested here return empty.eval(expression,x,y,z,c); ^ ././CImg.h:13883:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'u' : if (label1pos['u']!=~0U) _cimg_mp_return(label1pos['u']); _cimg_mp_opcode2(mp_u,0,1); ^ ~~~ ././CImg.h:13883:63: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'u' : if (label1pos['u']!=~0U) _cimg_mp_return(label1pos['u']); _cimg_mp_opcode2(mp_u,0,1); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13884:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'g' : if (label1pos['g']!=~0U) _cimg_mp_return(label1pos['g']); _cimg_mp_opcode0(mp_g); ^ ~~~ ././CImg.h:13884:63: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'g' : if (label1pos['g']!=~0U) _cimg_mp_return(label1pos['g']); _cimg_mp_opcode0(mp_g); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13885:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'i' : if (label1pos['i']!=~0U) _cimg_mp_return(label1pos['i']); _cimg_mp_opcode0(mp_i); ^ ~~~ ././CImg.h:13885:63: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'i' : if (label1pos['i']!=~0U) _cimg_mp_return(label1pos['i']); _cimg_mp_opcode0(mp_i); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13962:20: warning: array subscript is of type 'char' [-Wchar-subscripts] } else label1pos[*variable_name] = pos; // Single-char variable. ^ ~~~~~~~~~~~~~~ ././CImg.h:14174:18: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (label1pos[*variable_name]!=~0U) _cimg_mp_return(label1pos[*variable_name]); // Single-char variable. ^ ~~~~~~~~~~~~~~ ././CImg.h:14174:66: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (label1pos[*variable_name]!=~0U) _cimg_mp_return(label1pos[*variable_name]); // Single-char variable. ^ ~~~~~~~~~~~~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13797:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['w'] = 3; ^ ~~~ ././CImg.h:18079:27: note: in instantiation of member function 'cimg_library::CImg::_cimg_math_parser::_cimg_math_parser' requested here _cimg_math_parser mp(base,expression+(*expression=='>' || *expression=='<'?1:0),"fill"); ^ ././CImg.h:9468:9: note: in instantiation of member function 'cimg_library::CImg::fill' requested here fill(values,repeat_values); ^ ./gmic.cpp:3383:17: note: in instantiation of member function 'cimg_library::CImg::CImg' requested here CImg(nb_values,1,1,1,inbraces.data()+1,false).move_to(substituted_items); ^ ./gmic.cpp:4140:7: note: in instantiation of function template specialization 'gmic::substitute_item' requested here substitute_item(initial_item,images,images_names,variables_sizes).move_to(_item); ^ ./gmic.cpp:13102:10: note: in instantiation of function template specialization 'gmic::_parse' requested here return _parse(commands_line,position,images,images_names,variables_sizes); ^ In file included from ./gmic.cpp:1879: In file included from ./gmic.h:70: ././CImg.h:13798:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['h'] = 4; ^ ~~~ ././CImg.h:13799:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['d'] = 5; ^ ~~~ ././CImg.h:13800:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['s'] = 6; ^ ~~~ ././CImg.h:13802:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['e'] = 8; ^ ~~~ ././CImg.h:13803:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['x'] = 9; ^ ~~~ ././CImg.h:13804:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['y'] = 10; ^ ~~~ ././CImg.h:13805:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['z'] = 11; ^ ~~~ ././CImg.h:13806:9: warning: array subscript is of type 'char' [-Wchar-subscripts] label1pos['c'] = 12; ^ ~~~ ././CImg.h:13882:82: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'x' : case 'y' : case 'z' : case 'c' : case 'e' : _cimg_mp_return(label1pos[*ss]); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13807:18: note: in instantiation of member function 'cimg_library::CImg::_cimg_math_parser::compile' requested here result = compile(expr._data,expr._data+l); // Compile formula into a serie of opcodes. ^ ././CImg.h:18079:27: note: in instantiation of member function 'cimg_library::CImg::_cimg_math_parser::_cimg_math_parser' requested here _cimg_math_parser mp(base,expression+(*expression=='>' || *expression=='<'?1:0),"fill"); ^ ././CImg.h:9468:9: note: in instantiation of member function 'cimg_library::CImg::fill' requested here fill(values,repeat_values); ^ ./gmic.cpp:3383:17: note: in instantiation of member function 'cimg_library::CImg::CImg' requested here CImg(nb_values,1,1,1,inbraces.data()+1,false).move_to(substituted_items); ^ ./gmic.cpp:4140:7: note: in instantiation of function template specialization 'gmic::substitute_item' requested here substitute_item(initial_item,images,images_names,variables_sizes).move_to(_item); ^ ./gmic.cpp:13102:10: note: in instantiation of function template specialization 'gmic::_parse' requested here return _parse(commands_line,position,images,images_names,variables_sizes); ^ In file included from ./gmic.cpp:1879: In file included from ./gmic.h:70: ././CImg.h:13883:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'u' : if (label1pos['u']!=~0U) _cimg_mp_return(label1pos['u']); _cimg_mp_opcode2(mp_u,0,1); ^ ~~~ ././CImg.h:13883:63: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'u' : if (label1pos['u']!=~0U) _cimg_mp_return(label1pos['u']); _cimg_mp_opcode2(mp_u,0,1); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13884:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'g' : if (label1pos['g']!=~0U) _cimg_mp_return(label1pos['g']); _cimg_mp_opcode0(mp_g); ^ ~~~ ././CImg.h:13884:63: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'g' : if (label1pos['g']!=~0U) _cimg_mp_return(label1pos['g']); _cimg_mp_opcode0(mp_g); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13885:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'i' : if (label1pos['i']!=~0U) _cimg_mp_return(label1pos['i']); _cimg_mp_opcode0(mp_i); ^ ~~~ ././CImg.h:13885:63: warning: array subscript is of type 'char' [-Wchar-subscripts] case 'i' : if (label1pos['i']!=~0U) _cimg_mp_return(label1pos['i']); _cimg_mp_opcode0(mp_i); ^ ~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:13962:20: warning: array subscript is of type 'char' [-Wchar-subscripts] } else label1pos[*variable_name] = pos; // Single-char variable. ^ ~~~~~~~~~~~~~~ ././CImg.h:14174:18: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (label1pos[*variable_name]!=~0U) _cimg_mp_return(label1pos[*variable_name]); // Single-char variable. ^ ~~~~~~~~~~~~~~ ././CImg.h:14174:66: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (label1pos[*variable_name]!=~0U) _cimg_mp_return(label1pos[*variable_name]); // Single-char variable. ^ ~~~~~~~~~~~~~~ ././CImg.h:13737:55: note: expanded from macro '_cimg_mp_return' #define _cimg_mp_return(x) { *se = saved_char; return x; } ^ ././CImg.h:47209:7: warning: array subscript is of type 'char' [-Wchar-subscripts] res[' '].resize(res['f']._width,-100,-100,-100,0); ^ ~~~ ././CImg.h:47194:14: note: in instantiation of member function 'cimg_library::CImgList::get_crop_font' requested here return get_crop_font().move_to(*this); ^ ././CImg.h:47274:37: note: in instantiation of member function 'cimg_library::CImgList::crop_font' requested here if (is_variable_width) font.crop_font(); ^ ././CImg.h:33222:56: note: in instantiation of member function 'cimg_library::CImgList::font' requested here const CImgList& font = CImgList::font(font_height,true); ^ ././CImg.h:33454:26: note: in instantiation of function template specialization 'cimg_library::CImg::draw_text' requested here label.assign().draw_text(0,0,txt,color,(tc*)0,opacity,font_height); ^ ././CImg.h:33543:9: note: in instantiation of function template specialization 'cimg_library::CImg::draw_axis' requested here draw_axis((int)x0,CImg::sequence(subdivisiony>0?subdivisiony:1-height()/subdivisiony,y0,y1).round(py), ^ ./gmic.cpp:4618:32: note: in instantiation of function template specialization 'cimg_library::CImg::draw_axes' requested here gmic_apply(img,draw_axes(xmin,xmax,ymin,ymax,col.data(),opacity, ^ ./gmic.cpp:13102:10: note: in instantiation of function template specialization 'gmic::_parse' requested here return _parse(commands_line,position,images,images_names,variables_sizes); ^ In file included from ./gmic.cpp:1879: In file included from ./gmic.h:70: ././CImg.h:47209:23: warning: array subscript is of type 'char' [-Wchar-subscripts] res[' '].resize(res['f']._width,-100,-100,-100,0); ^ ~~~ ././CImg.h:47210:51: warning: array subscript is of type 'char' [-Wchar-subscripts] if (' '+256::_draw_text' requested here _draw_text(x0,y0,tmp,foreground_color,background_color,opacity,font,true); ^ ././CImg.h:33454:26: note: in instantiation of function template specialization 'cimg_library::CImg::draw_text' requested here label.assign().draw_text(0,0,txt,color,(tc*)0,opacity,font_height); ^ ././CImg.h:33543:9: note: in instantiation of function template specialization 'cimg_library::CImg::draw_axis' requested here draw_axis((int)x0,CImg::sequence(subdivisiony>0?subdivisiony:1-height()/subdivisiony,y0,y1).round(py), ^ ./gmic.cpp:4618:32: note: in instantiation of function template specialization 'cimg_library::CImg::draw_axes' requested here gmic_apply(img,draw_axes(xmin,xmax,ymin,ymax,col.data(),opacity, ^ ./gmic.cpp:13102:10: note: in instantiation of function template specialization 'gmic::_parse' requested here return _parse(commands_line,position,images,images_names,variables_sizes); ^ In file included from ./gmic.cpp:1879: In file included from ./gmic.h:70: ././CImg.h:33288:26: warning: array subscript is of type 'char' [-Wchar-subscripts] case '\t' : x+=4*font[' ']._width; break; ^ ~~~ 53 warnings generated. ar rcs libgmic.a gmic_lib.o g++ -shared -Wl,-soname,libgmic.so.1 -o libgmic.so gmic_lib.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lm -lpthread -lfftw3 -lfftw3_threads g++ -o gmic_use_lib gmic_use_lib.cpp -L. -lgmic -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lm -lpthread -lfftw3 -lfftw3_threads -fopenmp -Dcimg_use_openmp gmake[2]: Leaving directory '/data/scratch/graphics/gmic/work/gmic-1.5.9.3/src' LLVM ERROR: out of memory Stack dump: 0. Program arguments: /usr/bin/clang -cc1 -triple x86_64--netbsd -emit-obj -disable-free -main-file-name gmic.cpp -mrelocation-model static -mthread-model posix -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -target-linker-version 1 -momit-leaf-frame-pointer -coverage-notes-file /data/scratch/graphics/gmic/work/gmic-1.5.9.3/src/gmic_gimp.gcno -resource-dir /usr/lib/clang/7.0.0 -D gmic_build -I /data/scratch/graphics/gmic/work/.buildlink/include -D cimg_use_vt100 -D gmic_is_parallel -D cimg_use_openmp -D cimg_use_fftw3 -D cimg_use_png -D cimg_use_zlib -D cimg_display=0 -D cimg_use_rng -D gmic_gimp -D gmic_float_only -internal-isystem /usr/include/c++/ -O2 -Wall -W -fdeprecated-macro -fdebug-compilation-dir /data/scratch/graphics/gmic/work/gmic-1.5.9.3/src -ferror-limit 19 -fmessage-length 0 -fopenmp -stack-protector 1 -fobjc-runtime=gnustep -fcxx-exceptions -fexceptions -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o gmic_gimp.o -x c++ gmic.cpp 1. parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module 'gmic.cpp'. 4. Running pass 'ReachingDefAnalysis' on function '@_ZN4gmic6_parseIfEERS_RKN12cimg_library8CImgListIcEERjRNS3_IT_EERS4_Pj' clang: error: unable to execute command: Segmentation fault (core dumped) clang: error: clang frontend command failed due to signal (use -v to see invocation) clang version 7.0.0 (trunk r337282) Target: x86_64--netbsd Thread model: posix InstalledDir: /usr/bin clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. clang: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /var/tmp/gmic-f7a8a0.cpp clang: note: diagnostic msg: /var/tmp/gmic-f7a8a0.sh clang: note: diagnostic msg: ******************** gmake[2]: *** [Makefile:369: gmic_gimp.o] Error 254 gmake[2]: Leaving directory '/data/scratch/graphics/gmic/work/gmic-1.5.9.3/src' gmake[1]: *** [Makefile:316: gimp] Error 2 gmake[1]: *** Waiting for unfinished jobs.... 58 warnings generated. gmake[2]: Leaving directory '/data/scratch/graphics/gmic/work/gmic-1.5.9.3/src' gmake[1]: Leaving directory '/data/scratch/graphics/gmic/work/gmic-1.5.9.3/src' gmake: *** [Makefile:300: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/graphics/gmic *** Error code 1 Stop. make: stopped in /data/pkgsrc/graphics/gmic