* Package: media-gfx/fim-0.5_rc3 * Repository: gentoo * USE: aalib abi_x86_64 amd64 elibc_glibc exif gif jpeg kernel_linux png readline sdl svg tiff userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking fim-0.5-rc3.tar.bz2 to /var/tmp/portage/media-gfx/fim-0.5_rc3/work >>> Source unpacked in /var/tmp/portage/media-gfx/fim-0.5_rc3/work >>> Preparing source in /var/tmp/portage/media-gfx/fim-0.5_rc3/work/fim-0.5-rc3 ... * Applying fim-0.4_rc3-poppler031.patch ... [ ok ] * Applying fim-0.5_rc3-jpeg.patch ... [ ok ] * Applying fim-0.5_rc3-libsdl.patch ... [ ok ] * Applying fim-0.5_rc3-jpeg-9c.patch ... [ ok ] * Applying fim-0.5_rc3-deg-symbol.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/media-gfx/fim-0.5_rc3/work/fim-0.5-rc3' ... * Running 'aclocal --system-acdir=/var/tmp/portage/media-gfx/fim-0.5_rc3/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: fim-0.5-rc3/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-gfx/fim-0.5_rc3/work/fim-0.5-rc3 ... * econf: updating fim-0.5-rc3/config.sub with /usr/share/gnuconfig/config.sub * econf: updating fim-0.5-rc3/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/fim-0.5_rc3 --htmldir=/usr/share/doc/fim-0.5_rc3/html --libdir=/usr/lib64 --enable-aa --disable-bmp --disable-dia --disable-djvu --enable-exif --disable-framebuffer --enable-gif --disable-graphicsmagick --disable-convert --enable-jpeg --disable-pcx --disable-poppler --enable-png --disable-ps --enable-readline --enable-sdl --disable-static --enable-inkscape --enable-tiff --disable-xfig --disable-hardcoded-font --disable-imlib2 --disable-jasper --disable-matrices-rendering --disable-xcftopnm --enable-fimrc --enable-history --enable-loader-string-specification --enable-mark-and-dump --enable-output-console --enable-raw-bits-rendering --enable-resize-optimizations --enable-scan-consolefonts --enable-screen --enable-scripting --enable-seek-magic --enable-stdin-image-reading --enable-unicode --enable-warnings --enable-windows --with-default-consolefont=/usr/share/consolefonts/ter-114n.psf.gz configure: Welcome to the Fim (revision -1) configure script! This script will create the right Makefile for building Fim on your system. But first, it will check if your system has the right configuration for Fim to build. There are options to this script, please run : ./configure --help=short for a complete list of these options. Please read BUGS and README and report any bug found to the Fim maintainer! checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether the compiler supports GNU C... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... (cached) none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for bison... bison -y checking for flex... flex checking for lex output file root... lex.yy checking for lex library... none needed checking for library containing yywrap... -lfl checking whether yytext is a pointer... yes checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether the compiler supports GNU C++... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for x86_64-pc-linux-gnu-g++ option to enable C++11 features... none needed checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking dependency style of x86_64-pc-linux-gnu-g++... none checking for prefix... /usr checking for library containing strerror... none required checking whether make sets $(MAKE)... (cached) yes checking for inline... inline checking for an ANSI C-conforming const... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking size of off_t... 8 checking whether to enable maintainer-specific portions of Makefiles... no checking for getenv... yes checking for getline... yes checking for fgetln... no checking for get_current_dir_name... yes checking for rsb_lib_init... no checking for pow in -lm... yes checking for yylex in -lfl... no checking for GetMagickVersion in -lGraphicsMagick... no checking for imlib_create_image in -lImlib2... yes checking for flex... yes checking for bison... yes checking for echo... yes checking for rm... yes checking for sed... yes checking for grep... yes checking for sort... yes checking for cpp... yes checking for awk... yes checking for cat... yes checking for man... yes checking for rm... /bin/rm checking for sed... /bin/sed checking for grep... /bin/grep checking for echo... /bin/echo checking for sort... /usr/bin/sort checking for cpp... /usr/bin/cpp checking for awk... /usr/bin/awk checking for cat... /bin/cat checking for man... /usr/bin/man configure: Checking for headers required by the Linux framebuffer device. checking for linux/fb.h... yes checking for linux/vt.h... yes checking for linux/kd.h... yes checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... /bin/grep -E checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for bzero... yes checking for memset... yes checking for memcmp... yes checking for strncmp... yes checking for strcpy... yes checking for bcopy... yes checking for bcmp... yes checking for drand48... yes checking for random... yes checking for rand... yes checking for fileno... yes checking for fmemopen... yes checking for string.h... (cached) yes checking for strerror... yes checking for strings.h... (cached) yes checking for strerror... (cached) yes checking for stdint.h... (cached) yes checking for wchar.h... (cached) yes checking for fontconfig/fontconfig.h... yes checking for fontconfig/fcfreetype.h... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for stdarg.h... yes checking for sys/ioctl.h... yes checking for ioctl.h... no checking for sysexits.h... yes checking for sys/time.h... yes checking for sys/resource.h... yes checking for unix.h... no checking for libgen.h... yes checking for sys/user.h... yes checking for sys/mman.h... yes checking for cstdio... yes checking for climits... yes checking size of int... 4 checking size of int *... 8 checking size of size_t... 8 checking whether byte ordering is bigendian... no checking return type of signal handlers... void checking for regcomp... yes checking whether your system regexp library is completely broken... no checking where to put the documentation...... checking for DGifOpenFileHandle in -lgif... yes checking for gif.h... checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E yes checking for TIFFOpen in -ltiff... yes checking for tiff.h... yes checking for noecho in -lcurses... no checking for noecho in -lncurses... yes checking for caca_create_canvas in -lcaca... yes checking for rl_replace_line in -lreadline... yes checking for tputs in -lcurses... no checking for jpeg_destroy_decompress in -ljpeg... yes checking for jpeglib.h... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for POPPLER... yes configure: Disabling BMP file format support. configure: Disabling PCX file format support. checking for libpng-config... /usr/bin/libpng-config checking for exif_data_new_from_data in -lexif... yes configure: Enabling libexif usage. checking for aa_getfirst in -laa... yes configure: Enabling aalib driver. checking for aalib-config... /usr/bin/aalib-config checking for sdl-config... /usr/bin/sdl-config configure: Activating LIBSDL. Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs] configure: Invoking /usr/bin/sdl-config --libs. checking for zcat... yes configure: Fim will use 'zcat' to uncompress "gzipped" font files. checking for convert... yes checking for xcftopnm... no checking for inkscape... yes checking for fig2dev... no checking for dia... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating distros/Makefile config.status: creating scripts/Makefile config.status: creating scripts/maintenance/cron-build.sh config.status: creating scripts/maintenance/remote-build.sh config.status: creating scripts/maintenance/cron-svndump.pl config.status: creating scripts/maintenance/cron-rsync.sh config.status: creating config.h config.status: executing depfiles commands configure: Fim v0.5-rc3 has been configured as follows (features marked with * are not recommended: either unfinished or broken: please do NOT use them when building for a distro): default minimal key mapping : yes default minimal key bindings : yes default configuration file builtin : yes resize optimizations : yes system,popen calls wrappers enabled : yes will allow push of directories : yes will recurse directories (-R switch): yes patch for running under screen : yes ~/.fimrc startup file support : yes ~/.fim_history load/save support : yes autocommands enabled : yes hardcoded PSF font (FBFONT=fim://) : no will read image files from stdin(-i): yes GNU regexps (default is Posix) :*no seek magic signatures :*yes customizable status bar : yes use C++11 constructs (internals) : no readline (-lrl) library support : yes use 'xcftopnm' for XCF files :*no use 'inkscape' for SVG files : yes use 'fig2dev' for FIG files : no use 'convert' for unrecognized files:*no use 'exiftool' for EXIF tags in JPEG:*no framebuffer (built-in) support : no X (sdllib) support (-o sdl) : yes ASCII art (aalib) support (-o aa) : yes X (Imlib2) support(-o imlib2):*no coloured ASCII art (cacalib) support:*no EXIF (JPEG) tags support (libexif) : yes BMP file support (builtin) : no JP2 (JPEG-2K) file support (JasPer) : PCX file support (builtin) : no PNG file support (libpng) : yes JPEG file support (libjpeg) : yes TIFF file support (libtiff) : yes GIF file support (libgif) : yes DJVU file support (libdjvu) :*no PDF file support (libpoppler) :*no PS file support (libspectre) :*no NEF/RAW file support (libufraw) :*no TAR/ZIP/.. file support (libarchive):*no GraphicsMagick support (libGraphicsMagick):*no If you are not satisfied with this configuration, please invoke ./configure --help=short for a complete list of configure options specific to Fim. When you are satisfied, run 'make' to build Fim and its documentation. To install the program and its documentation, run 'make install' if you are root, or run 'su -c '"make install"' if you are not root. RTFM: README, man fim, man fimrc. Enjoy! >>> Source configured. >>> Compiling source in /var/tmp/portage/media-gfx/fim-0.5_rc3/work/fim-0.5-rc3 ... make -j4 -j1 (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/var/tmp/portage/media-gfx/fim-0.5_rc3/work/fim-0.5-rc3/missing' autoheader) rm -f stamp-h1 touch src/config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-recursive make[1]: Entering directory '/var/tmp/portage/media-gfx/fim-0.5_rc3/work/fim-0.5-rc3' Making all in src make[2]: Entering directory '/var/tmp/portage/media-gfx/fim-0.5_rc3/work/fim-0.5-rc3/src' LC_ALL=C bison -y -v -d yacc.ypp -o yacc.tab.cpp yacc.ypp: warning: 1 shift/reduce conflict [8;id=da89796e0005e2b38f3c733600000000;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wconflicts-sr\-Wconflicts-sr8;;\] yacc.ypp: warning: 25 reduce/reduce conflicts [8;id=da89796e0005e2b38f3c733600000001;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wconflicts-rr\-Wconflicts-rr8;;\] yacc.ypp: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples flex -+ --nounistd lex.lex Applying a horrible hack to avoid the flex non-throwing isatty() redeclaration in 'extern C int isatty (int );' /bin/sed -i 's/^.*extern.*isatty.*int.*$//g' lex.yy.cc /bin/echo 'const fim_char_t * FIM_DEFAULT_CONFIG_FILE_CONTENTS =' > conf.h /bin/sed 's/\\/\\\\/g;s/"/\\\"/g;s/^/"/g;s/$/\\n"/g;' fimrc >> conf.h /bin/echo '"";' >> conf.h make all-recursive make[3]: Entering directory '/var/tmp/portage/media-gfx/fim-0.5_rc3/work/fim-0.5-rc3/src' make[4]: Entering directory '/var/tmp/portage/media-gfx/fim-0.5_rc3/work/fim-0.5-rc3/src' x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -pedantic -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/libpng16 -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o lex.yy.o lex.yy.cc In file included from DebugConsole.h:27, from DisplayDevice.h:24, from FramebufferDevice.h:37, from FbiStuff.h:31, from fim.h:473, from lex.lex:32: Var.h: In member function ‘fim::string fim::Var::getString() const’: Var.h:178:53: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘fim_int’ {aka ‘long int’} [-Wformat=] 178 | sprintf(buf,"%lld",(int64_t)i); | ^~~~~~ ~~~~~~~~~~ | | | fim_int {aka long int} In file included from fim.h:476: Image.h: At global scope: Image.h:199:57: warning: ‘template struct std::binary_function’ is deprecated [-Wdeprecated-declarations] 199 | template struct ImgDscsCmp:public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/string:48, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/locale_classes.h:40, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/ios_base.h:41, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/ios:42, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/ostream:38, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/iostream:39, from lex.yy.cc:98: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ Image.h: In member function ‘std::map, std::__cxx11::basic_string >::iterator ImgDscs::fo(const std::map, std::__cxx11::basic_string >::key_type&, const std::map, std::__cxx11::basic_string >::iterator&)’: Image.h:210:58: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = ImgDscs::ImgDscsCmp; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 210 | return std::find_if(li,end(),std::bind2nd(ImgDscsCmp(),sk)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/stl_function.h:1438: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ Image.h: In member function ‘std::map, std::__cxx11::basic_string >::const_iterator ImgDscs::fo(const std::map, std::__cxx11::basic_string >::key_type&, const std::map, std::__cxx11::basic_string >::const_iterator&) const’: Image.h:214:58: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = ImgDscs::ImgDscsCmp; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 214 | return std::find_if(li,end(),std::bind2nd(ImgDscsCmp(),sk)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ Image.h: In member function ‘std::map, std::__cxx11::basic_string >::const_iterator ImgDscs::fo(const std::map, std::__cxx11::basic_string >::key_type&) const’: Image.h:219:63: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = ImgDscs::ImgDscsCmp; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 219 | return std::find_if(begin(),end(),std::bind2nd(ImgDscsCmp(),sk)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ lex.yy.cc: In member function ‘int yyFlexLexer::yy_get_next_buffer()’: lex.lex:60:32: warning: statement has no effect [-Wunused-value] 60 | if(r==0)number_to_move == YY_MORE_ADJ; \ lex.yy.cc:1357:17: note: in expansion of macro ‘YY_INPUT’ 1357 | /* Read in more data. */ | ^~~~~~~~ x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -pedantic -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/libpng16 -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o yacc.tab.o yacc.tab.cpp In file included from DebugConsole.h:27, from DisplayDevice.h:24, from FramebufferDevice.h:37, from FbiStuff.h:31, from fim.h:473, from yacc.ypp:59: Var.h: In member function ‘fim::string fim::Var::getString() const’: Var.h:178:53: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘fim_int’ {aka ‘long int’} [-Wformat=] 178 | sprintf(buf,"%lld",(int64_t)i); | ^~~~~~ ~~~~~~~~~~ | | | fim_int {aka long int} In file included from fim.h:476: Image.h: At global scope: Image.h:199:57: warning: ‘template struct std::binary_function’ is deprecated [-Wdeprecated-declarations] 199 | template struct ImgDscsCmp:public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/string:48, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/locale_classes.h:40, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/ios_base.h:41, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/ios:42, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/ostream:38, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/iostream:39, from /usr/include/FlexLexer.h:51, from common.h:24, from yacc.ypp:57: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ Image.h: In member function ‘std::map, std::__cxx11::basic_string >::iterator ImgDscs::fo(const std::map, std::__cxx11::basic_string >::key_type&, const std::map, std::__cxx11::basic_string >::iterator&)’: Image.h:210:58: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = ImgDscs::ImgDscsCmp; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 210 | return std::find_if(li,end(),std::bind2nd(ImgDscsCmp(),sk)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/stl_function.h:1438: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ Image.h: In member function ‘std::map, std::__cxx11::basic_string >::const_iterator ImgDscs::fo(const std::map, std::__cxx11::basic_string >::key_type&, const std::map, std::__cxx11::basic_string >::const_iterator&) const’: Image.h:214:58: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = ImgDscs::ImgDscsCmp; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 214 | return std::find_if(li,end(),std::bind2nd(ImgDscsCmp(),sk)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ Image.h: In member function ‘std::map, std::__cxx11::basic_string >::const_iterator ImgDscs::fo(const std::map, std::__cxx11::basic_string >::key_type&) const’: Image.h:219:63: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = ImgDscs::ImgDscsCmp; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 219 | return std::find_if(begin(),end(),std::bind2nd(ImgDscsCmp(),sk)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ yacc.ypp: In function ‘int yyparse()’: fim.h:768:41: warning: ISO C++ forbids converting a string constant to ‘fim_char_t*’ {aka ‘char*’} [-Wwrite-strings] 768 | #define FIM_FLT_ECHO "echo" /* in vim */ | ^~~~~~ yacc.ypp:257:47: note: in expansion of macro ‘FIM_FLT_ECHO’ 257 | $$ = opr('x',2,scon(FIM_FLT_ECHO),opr('a',1,scon("Please quote or double-quote your argument or enable FIM_SMART_COMPLETION at compile time\n"))); | ^~~~~~~~~~~~ yacc.ypp:257:76: warning: ISO C++ forbids converting a string constant to ‘fim_char_t*’ {aka ‘char*’} [-Wwrite-strings] 257 | $$ = opr('x',2,scon(FIM_FLT_ECHO),opr('a',1,scon("Please quote or double-quote your argument or enable FIM_SMART_COMPLETION at compile time\n"))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ yacc.ypp: In function ‘nodeType* scon(fim_char_t*)’: yacc.ypp:362:17: warning: array subscript ‘nodeType {aka nodeTypeTag}[0]’ is partly outside array bounds of ‘unsigned char [16]’ [-Warray-bounds] 362 | p->scon.s=s; | ~~~~~~~~^ yacc.ypp:358:35: note: object of size 16 allocated by ‘malloc’ 358 | if ((p =(nodeType*) malloc(nodeSize)) == NULL) | ~~~~~~^~~~~~~~~~ yacc.ypp: In function ‘nodeType* fcon(float)’: yacc.ypp:413:16: warning: array subscript ‘nodeType {aka nodeTypeTag}[0]’ is partly outside array bounds of ‘unsigned char [12]’ [-Warray-bounds] 413 | p->fid.f = fValue; | ~~~~~~~^ yacc.ypp:409:35: note: object of size 12 allocated by ‘malloc’ 409 | if ((p =(nodeType*) malloc(nodeSize)) == NULL) | ~~~~~~^~~~~~~~~~ yacc.ypp: In function ‘nodeType* con(fim_int)’: yacc.ypp:429:16: warning: array subscript ‘nodeType {aka nodeTypeTag}[0]’ is partly outside array bounds of ‘unsigned char [16]’ [-Warray-bounds] 429 | p->con.value = value; | ~~~~~~~^~~~~ yacc.ypp:425:35: note: object of size 16 allocated by ‘malloc’ 425 | if ((p =(nodeType*) malloc(nodeSize)) == NULL) | ~~~~~~^~~~~~~~~~ In function ‘nodeType* con(fim_int)’, inlined from ‘nodeType* vscon(fim_char_t*, int)’ at yacc.ypp:394:12, inlined from ‘nodeType* vscon(fim_char_t*, int)’ at yacc.ypp:366:11: yacc.ypp:429:22: warning: array subscript ‘nodeType {aka nodeTypeTag}[0]’ is partly outside array bounds of ‘unsigned char [16]’ [-Warray-bounds] 429 | p->con.value = value; | ~~~~~~~~~~~~~^~~~~~~ yacc.ypp:425:35: note: object of size 16 allocated by ‘malloc’ 425 | if ((p =(nodeType*) malloc(nodeSize)) == NULL) | ~~~~~~^~~~~~~~~~ In function ‘nodeType* fcon(float)’, inlined from ‘int yyparse()’ at yacc.ypp:341:49: yacc.ypp:413:18: warning: array subscript ‘nodeType {aka nodeTypeTag}[0]’ is partly outside array bounds of ‘unsigned char [12]’ [-Warray-bounds] 413 | p->fid.f = fValue; | ~~~~~~~~~^~~~~~~~ yacc.ypp:409:35: note: object of size 12 allocated by ‘malloc’ 409 | if ((p =(nodeType*) malloc(nodeSize)) == NULL) | ~~~~~~^~~~~~~~~~ In function ‘nodeType* fcon(float)’, inlined from ‘int yyparse()’ at yacc.ypp:340:47: yacc.ypp:413:18: warning: array subscript ‘nodeType {aka nodeTypeTag}[0]’ is partly outside array bounds of ‘unsigned char [12]’ [-Warray-bounds] 413 | p->fid.f = fValue; | ~~~~~~~~~^~~~~~~~ yacc.ypp:409:35: note: object of size 12 allocated by ‘malloc’ 409 | if ((p =(nodeType*) malloc(nodeSize)) == NULL) | ~~~~~~^~~~~~~~~~ In function ‘nodeType* con(fim_int)’, inlined from ‘int yyparse()’ at yacc.ypp:339:40: yacc.ypp:429:22: warning: array subscript ‘nodeType {aka nodeTypeTag}[0]’ is partly outside array bounds of ‘unsigned char [16]’ [-Warray-bounds] 429 | p->con.value = value; | ~~~~~~~~~~~~~^~~~~~~ yacc.ypp:425:35: note: object of size 16 allocated by ‘malloc’ 425 | if ((p =(nodeType*) malloc(nodeSize)) == NULL) | ~~~~~~^~~~~~~~~~ In function ‘nodeType* con(fim_int)’, inlined from ‘int yyparse()’ at yacc.ypp:261:85: yacc.ypp:429:22: warning: array subscript ‘nodeType {aka nodeTypeTag}[0]’ is partly outside array bounds of ‘unsigned char [16]’ [-Warray-bounds] 429 | p->con.value = value; | ~~~~~~~~~~~~~^~~~~~~ yacc.ypp:425:35: note: object of size 16 allocated by ‘malloc’ 425 | if ((p =(nodeType*) malloc(nodeSize)) == NULL) | ~~~~~~^~~~~~~~~~ In function ‘nodeType* scon(fim_char_t*)’, inlined from ‘int yyparse()’ at yacc.ypp:257:21: yacc.ypp:362:18: warning: array subscript ‘nodeType {aka nodeTypeTag}[0]’ is partly outside array bounds of ‘unsigned char [16]’ [-Warray-bounds] 362 | p->scon.s=s; | ~~~~~~~~~^~ yacc.ypp:358:35: note: object of size 16 allocated by ‘malloc’ 358 | if ((p =(nodeType*) malloc(nodeSize)) == NULL) | ~~~~~~^~~~~~~~~~ In function ‘nodeType* scon(fim_char_t*)’, inlined from ‘int yyparse()’ at yacc.ypp:257:21: yacc.ypp:362:18: warning: array subscript ‘nodeType {aka nodeTypeTag}[0]’ is partly outside array bounds of ‘unsigned char [16]’ [-Warray-bounds] 362 | p->scon.s=s; | ~~~~~~~~~^~ yacc.ypp:358:35: note: object of size 16 allocated by ‘malloc’ 358 | if ((p =(nodeType*) malloc(nodeSize)) == NULL) | ~~~~~~^~~~~~~~~~ In function ‘nodeType* con(fim_int)’, inlined from ‘int yyparse()’ at yacc.ypp:223:75: yacc.ypp:429:22: warning: array subscript ‘nodeType {aka nodeTypeTag}[0]’ is partly outside array bounds of ‘unsigned char [16]’ [-Warray-bounds] 429 | p->con.value = value; | ~~~~~~~~~~~~~^~~~~~~ yacc.ypp:425:35: note: object of size 16 allocated by ‘malloc’ 425 | if ((p =(nodeType*) malloc(nodeSize)) == NULL) | ~~~~~~^~~~~~~~~~ In function ‘nodeType* con(fim_int)’, inlined from ‘int yyparse()’ at yacc.ypp:152:87: yacc.ypp:429:22: warning: array subscript ‘nodeType {aka nodeTypeTag}[0]’ is partly outside array bounds of ‘unsigned char [16]’ [-Warray-bounds] 429 | p->con.value = value; | ~~~~~~~~~~~~~^~~~~~~ yacc.ypp:425:35: note: object of size 16 allocated by ‘malloc’ 425 | if ((p =(nodeType*) malloc(nodeSize)) == NULL) | ~~~~~~^~~~~~~~~~ /bin/grep define ../config.h | /bin/grep FIM | LC_ALL=C /usr/bin/sort | /bin/sed 's/^#//g;s/define //g;s/^\([A-Za-z0-9_]*\).*$/+\1 /g;s/^/\"/g;s/$/\"/g' > version.h /bin/echo "\"\n\"" >> version.h /bin/grep define ../config.h | /bin/grep FIM.*'"' | LC_ALL=C /usr/bin/sort | /bin/sed 's/^#//g;s/define //g;s/^\([A-Za-z0-9_]*\) "\(.*\)"$/"\1 = \\"\2\\"\\n"/g' >> version.h /bin/grep undef ../config.h | /bin/grep FIM | LC_ALL=C /usr/bin/sort | /bin/sed 's/^#//g;s/.*undef //g;s/^\([A-Za-z0-9_]*\).\+$/-\1 /g;s/^/\"/g;s/$/\"/g' >> version.h /bin/echo '"\n'CXXFLAGS=-Wall -pedantic -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/libpng16 -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT'\n"' >> version.h /bin/echo 'const fim_char_t * FIM_DEFAULT_GRAMMAR_FILE_CONTENTS =' > grammar.h /usr/bin/awk -f ../scripts/maintenance/yacc2grammar.awk yacc.output | /usr/bin/cpp -include ../scripts/maintenance/yacc2grammar.h | /bin/grep -v '^#' | /bin/sed 's/"/\\\"/g;s/^/"/g;s/$/\\n"/g;' >> grammar.h /bin/echo '"";' >> grammar.h x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -pedantic -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/libpng16 -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o fim.o fim.cpp In file included from DebugConsole.h:27, from DisplayDevice.h:24, from FramebufferDevice.h:37, from FbiStuff.h:31, from fim.h:473, from fim.cpp:22: Var.h: In member function ‘fim::string fim::Var::getString() const’: Var.h:178:57: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘fim_int’ {aka ‘long int’} [-Wformat=] 178 | sprintf(buf,"%lld",(int64_t)i); | ~~~^ ~~~~~~~~~~ | | | | | fim_int {aka long int} | long long int | %ld In file included from fim.h:476: Image.h: At global scope: Image.h:199:57: warning: ‘template struct std::binary_function’ is deprecated [-Wdeprecated-declarations] 199 | template struct ImgDscsCmp:public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/string:48, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/locale_classes.h:40, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/ios_base.h:41, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/ios:42, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/ostream:38, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/iostream:39, from fim.h:45: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ Image.h: In member function ‘std::map, std::__cxx11::basic_string >::iterator ImgDscs::fo(const std::map, std::__cxx11::basic_string >::key_type&, const std::map, std::__cxx11::basic_string >::iterator&)’: Image.h:210:58: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = ImgDscs::ImgDscsCmp; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 210 | return std::find_if(li,end(),std::bind2nd(ImgDscsCmp(),sk)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/stl_function.h:1438: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ Image.h: In member function ‘std::map, std::__cxx11::basic_string >::const_iterator ImgDscs::fo(const std::map, std::__cxx11::basic_string >::key_type&, const std::map, std::__cxx11::basic_string >::const_iterator&) const’: Image.h:214:58: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = ImgDscs::ImgDscsCmp; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 214 | return std::find_if(li,end(),std::bind2nd(ImgDscsCmp(),sk)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ Image.h: In member function ‘std::map, std::__cxx11::basic_string >::const_iterator ImgDscs::fo(const std::map, std::__cxx11::basic_string >::key_type&) const’: Image.h:219:63: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = ImgDscs::ImgDscsCmp; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 219 | return std::find_if(begin(),end(),std::bind2nd(ImgDscsCmp(),sk)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -pedantic -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/libpng16 -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o fim_plugin.o `test -f './fim_plugin.cpp' || echo './'`./fim_plugin.cpp In file included from ./DebugConsole.h:27, from ./DisplayDevice.h:24, from ./FramebufferDevice.h:37, from ./FbiStuff.h:31, from ./fim.h:473, from ./fim_plugin.h:24, from ./fim_plugin.cpp:28: ./Var.h: In member function ‘fim::string fim::Var::getString() const’: ./Var.h:178:57: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘fim_int’ {aka ‘long int’} [-Wformat=] 178 | sprintf(buf,"%lld",(int64_t)i); | ~~~^ ~~~~~~~~~~ | | | | | fim_int {aka long int} | long long int | %ld In file included from ./fim.h:476: ./Image.h: At global scope: ./Image.h:199:57: warning: ‘template struct std::binary_function’ is deprecated [-Wdeprecated-declarations] 199 | template struct ImgDscsCmp:public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/string:48, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/locale_classes.h:40, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/ios_base.h:41, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/ios:42, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/ostream:38, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/iostream:39, from ./fim.h:45: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ./Image.h: In member function ‘std::map, std::__cxx11::basic_string >::iterator ImgDscs::fo(const std::map, std::__cxx11::basic_string >::key_type&, const std::map, std::__cxx11::basic_string >::iterator&)’: ./Image.h:210:58: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = ImgDscs::ImgDscsCmp; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 210 | return std::find_if(li,end(),std::bind2nd(ImgDscsCmp(),sk)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/stl_function.h:1438: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ./Image.h: In member function ‘std::map, std::__cxx11::basic_string >::const_iterator ImgDscs::fo(const std::map, std::__cxx11::basic_string >::key_type&, const std::map, std::__cxx11::basic_string >::const_iterator&) const’: ./Image.h:214:58: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = ImgDscs::ImgDscsCmp; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 214 | return std::find_if(li,end(),std::bind2nd(ImgDscsCmp(),sk)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ./Image.h: In member function ‘std::map, std::__cxx11::basic_string >::const_iterator ImgDscs::fo(const std::map, std::__cxx11::basic_string >::key_type&) const’: ./Image.h:219:63: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = ImgDscs::ImgDscsCmp; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 219 | return std::find_if(begin(),end(),std::bind2nd(ImgDscsCmp(),sk)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -pedantic -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/libpng16 -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o defaultConfiguration.o defaultConfiguration.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -pedantic -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/libpng16 -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o help.o help.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -pedantic -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/libpng16 -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o help-acm.o `test -f './help-acm.cpp' || echo './'`./help-acm.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -pedantic -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/libpng16 -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o fim_stream.o `test -f './fim_stream.cpp' || echo './'`./fim_stream.cpp In file included from ./DebugConsole.h:27, from ./DisplayDevice.h:24, from ./FramebufferDevice.h:37, from ./FbiStuff.h:31, from ./fim.h:473, from ./fim_stream.cpp:23: ./Var.h: In member function ‘fim::string fim::Var::getString() const’: ./Var.h:178:57: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘fim_int’ {aka ‘long int’} [-Wformat=] 178 | sprintf(buf,"%lld",(int64_t)i); | ~~~^ ~~~~~~~~~~ | | | | | fim_int {aka long int} | long long int | %ld In file included from ./fim.h:476: ./Image.h: At global scope: ./Image.h:199:57: warning: ‘template struct std::binary_function’ is deprecated [-Wdeprecated-declarations] 199 | template struct ImgDscsCmp:public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/string:48, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/locale_classes.h:40, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/ios_base.h:41, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/ios:42, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/ostream:38, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/iostream:39, from ./fim.h:45: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ./Image.h: In member function ‘std::map, std::__cxx11::basic_string >::iterator ImgDscs::fo(const std::map, std::__cxx11::basic_string >::key_type&, const std::map, std::__cxx11::basic_string >::iterator&)’: ./Image.h:210:58: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = ImgDscs::ImgDscsCmp; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 210 | return std::find_if(li,end(),std::bind2nd(ImgDscsCmp(),sk)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/stl_function.h:1438: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ./Image.h: In member function ‘std::map, std::__cxx11::basic_string >::const_iterator ImgDscs::fo(const std::map, std::__cxx11::basic_string >::key_type&, const std::map, std::__cxx11::basic_string >::const_iterator&) const’: ./Image.h:214:58: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = ImgDscs::ImgDscsCmp; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 214 | return std::find_if(li,end(),std::bind2nd(ImgDscsCmp(),sk)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ./Image.h: In member function ‘std::map, std::__cxx11::basic_string >::const_iterator ImgDscs::fo(const std::map, std::__cxx11::basic_string >::key_type&) const’: ./Image.h:219:63: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = ImgDscs::ImgDscsCmp; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 219 | return std::find_if(begin(),end(),std::bind2nd(ImgDscsCmp(),sk)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -pedantic -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/libpng16 -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o readline.o `test -f './readline.cpp' || echo './'`./readline.cpp In file included from ./DebugConsole.h:27, from ./DisplayDevice.h:24, from ./FramebufferDevice.h:37, from ./FbiStuff.h:31, from ./fim.h:473, from ./CommandConsole.h:24, from ./readline.cpp:22: ./Var.h: In member function ‘fim::string fim::Var::getString() const’: ./Var.h:178:57: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘fim_int’ {aka ‘long int’} [-Wformat=] 178 | sprintf(buf,"%lld",(int64_t)i); | ~~~^ ~~~~~~~~~~ | | | | | fim_int {aka long int} | long long int | %ld In file included from ./fim.h:476: ./Image.h: At global scope: ./Image.h:199:57: warning: ‘template struct std::binary_function’ is deprecated [-Wdeprecated-declarations] 199 | template struct ImgDscsCmp:public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/string:48, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/locale_classes.h:40, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/ios_base.h:41, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/ios:42, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/ostream:38, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/iostream:39, from ./fim.h:45: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ./Image.h: In member function ‘std::map, std::__cxx11::basic_string >::iterator ImgDscs::fo(const std::map, std::__cxx11::basic_string >::key_type&, const std::map, std::__cxx11::basic_string >::iterator&)’: ./Image.h:210:58: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = ImgDscs::ImgDscsCmp; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 210 | return std::find_if(li,end(),std::bind2nd(ImgDscsCmp(),sk)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/stl_function.h:1438: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ./Image.h: In member function ‘std::map, std::__cxx11::basic_string >::const_iterator ImgDscs::fo(const std::map, std::__cxx11::basic_string >::key_type&, const std::map, std::__cxx11::basic_string >::const_iterator&) const’: ./Image.h:214:58: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = ImgDscs::ImgDscsCmp; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 214 | return std::find_if(li,end(),std::bind2nd(ImgDscsCmp(),sk)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ./Image.h: In member function ‘std::map, std::__cxx11::basic_string >::const_iterator ImgDscs::fo(const std::map, std::__cxx11::basic_string >::key_type&) const’: ./Image.h:219:63: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = ImgDscs::ImgDscsCmp; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 219 | return std::find_if(begin(),end(),std::bind2nd(ImgDscsCmp(),sk)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ./readline.cpp: In function ‘void rl::initialize_readline(fim_bool_t, fim_bool_t)’: ./readline.cpp:397:21: warning: ignoring return value of ‘int pipe(int*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 397 | pipe(isp); | ~~~~^~~~~ x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -pedantic -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/libpng16 -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o AADevice.o `test -f './AADevice.cpp' || echo './'`./AADevice.cpp In file included from ./DebugConsole.h:27, from ./DisplayDevice.h:24, from ./FramebufferDevice.h:37, from ./FbiStuff.h:31, from ./fim.h:473, from ./AADevice.cpp:22: ./Var.h: In member function ‘fim::string fim::Var::getString() const’: ./Var.h:178:57: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘fim_int’ {aka ‘long int’} [-Wformat=] 178 | sprintf(buf,"%lld",(int64_t)i); | ~~~^ ~~~~~~~~~~ | | | | | fim_int {aka long int} | long long int | %ld In file included from ./fim.h:476: ./Image.h: At global scope: ./Image.h:199:57: warning: ‘template struct std::binary_function’ is deprecated [-Wdeprecated-declarations] 199 | template struct ImgDscsCmp:public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/string:48, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/locale_classes.h:40, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/ios_base.h:41, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/ios:42, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/ostream:38, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/iostream:39, from ./fim.h:45: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ./Image.h: In member function ‘std::map, std::__cxx11::basic_string >::iterator ImgDscs::fo(const std::map, std::__cxx11::basic_string >::key_type&, const std::map, std::__cxx11::basic_string >::iterator&)’: ./Image.h:210:58: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = ImgDscs::ImgDscsCmp; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 210 | return std::find_if(li,end(),std::bind2nd(ImgDscsCmp(),sk)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/stl_function.h:1438: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ./Image.h: In member function ‘std::map, std::__cxx11::basic_string >::const_iterator ImgDscs::fo(const std::map, std::__cxx11::basic_string >::key_type&, const std::map, std::__cxx11::basic_string >::const_iterator&) const’: ./Image.h:214:58: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = ImgDscs::ImgDscsCmp; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 214 | return std::find_if(li,end(),std::bind2nd(ImgDscsCmp(),sk)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ./Image.h: In member function ‘std::map, std::__cxx11::basic_string >::const_iterator ImgDscs::fo(const std::map, std::__cxx11::basic_string >::key_type&) const’: ./Image.h:219:63: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = ImgDscs::ImgDscsCmp; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 219 | return std::find_if(begin(),end(),std::bind2nd(ImgDscsCmp(),sk)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ./AADevice.cpp: In member function ‘virtual fim_err_t AADevice::fill_rect(fim_coo_t, fim_coo_t, fim_coo_t, fim_coo_t, fim_color_t)’: ./AADevice.cpp:491:27: warning: comparison of integer expressions of different signedness: ‘fim_color_t’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare] 491 | if( color == FIM_CNS_WHITE ) ./AADevice.cpp:492:58: error: no matching function for call to ‘AADevice::clear_rect_<4294967295>(unsigned char*&, fim_coo_t&, fim_coo_t&, fim_coo_t, fim_coo_t, int&)’ 492 | return clear_rect_(aa_image(ascii_context_),y1, x1, y2-y1+1, x2-x1+1,aa_imgwidth(ascii_context_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./AADevice.cpp:41:19: note: candidate: ‘template fim_err_t AADevice::clear_rect_(void*, fim_coo_t, fim_coo_t, fim_coo_t, fim_coo_t, fim_coo_t)’ 41 | fim_err_t AADevice::clear_rect_( | ^~~~~~~~ ./AADevice.cpp:41:19: note: template argument deduction/substitution failed: ./AADevice.cpp:492:58: error: narrowing conversion of ‘4294967295’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] 492 | return clear_rect_(aa_image(ascii_context_),y1, x1, y2-y1+1, x2-x1+1,aa_imgwidth(ascii_context_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: *** [Makefile:712: AADevice.o] Error 1 make[4]: Leaving directory '/var/tmp/portage/media-gfx/fim-0.5_rc3/work/fim-0.5-rc3/src' make[3]: *** [Makefile:919: all-recursive] Error 1 make[3]: Leaving directory '/var/tmp/portage/media-gfx/fim-0.5_rc3/work/fim-0.5-rc3/src' make[2]: *** [Makefile:545: all] Error 2 make[2]: Leaving directory '/var/tmp/portage/media-gfx/fim-0.5_rc3/work/fim-0.5-rc3/src' make[1]: *** [Makefile:522: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-gfx/fim-0.5_rc3/work/fim-0.5-rc3' make: *** [Makefile:434: all] Error 2 * ERROR: media-gfx/fim-0.5_rc3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-gfx/fim-0.5_rc3::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-gfx/fim-0.5_rc3::gentoo'`. * The complete build log is located at '/var/log/portage/media-gfx:fim-0.5_rc3:20220701-003457.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-gfx/fim-0.5_rc3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/fim-0.5_rc3/temp/environment'. * Working directory: '/var/tmp/portage/media-gfx/fim-0.5_rc3/work/fim-0.5-rc3' * S: '/var/tmp/portage/media-gfx/fim-0.5_rc3/work/fim-0.5-rc3'