+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/surf-geometry.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0wSjtE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf surf-1.0.6 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/surf-1.0.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd surf-1.0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (surf-geometry-min-max.patch):' Patch #0 (surf-geometry-min-max.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/def.h + sed -i 's|^\(pkgdatadir = $(datadir)\)/@PACKAGE@|\1|' Makefile.in + sed -i 's|/surf\(/surf\.xpm\)|\1|' gtkgui/showAbout.cc + chmod -x gtkgui/PrintImageDialog.cc gtkgui/PrintImageDialog.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rP9s4X + umask 022 + cd /builddir/build/BUILD + cd surf-1.0.6 + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC' + export 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC' + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --bindir=/usr/lib64/surf-geometry --datadir=/usr/lib64/surf-geometry --with-gmp=/usr --with-gtk=/usr --with-x checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... missing checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for AIX... no checking for library containing strerror... none required checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for ANSI C header files... (cached) yes checking for flex... no checking for lex... no ./configure: line 4495: flex: command not found checking for flex... no checking for lex... no checking for bison... no checking for byacc... no checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking whether gcc accepts -Wall... yes checking whether gcc accepts -W... yes checking whether gcc accepts -Wwrite-strings... yes checking whether gcc accepts -Wpointer-arith... yes checking whether gcc accepts -Wconversion... yes checking whether gcc accepts -Wno-unused... yes checking whether gcc accepts -Wstrict-prototypes... no checking whether gcc accepts -Wmissing-prototypes... no checking whether gcc accepts -Wmissing-declarations... no checking whether gcc accepts -Wnested-externs... yes checking whether g++ supports bool... yes checking whether g++ accepts -fno-rtti... yes checking whether g++ accepts -fno-exceptions... yes checking whether g++ accepts -Wall... yes checking whether g++ accepts -W... yes checking whether g++ accepts -Wwrite-strings... yes checking whether g++ accepts -Wpointer-arith... yes checking whether g++ accepts -Wconversion... yes checking whether g++ accepts -Wno-unused... yes checking whether g++ accepts -Wstrict-prototypes... no checking whether g++ accepts -Wmissing-prototypes... no checking whether g++ accepts -Woverloaded-virtual... yes checking whether g++ accepts -Wno-deprecated... yes checking whether g++ supports explicit template instantiation... yes checking whether the compiler supports function templates with non-type parameters... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for main in -lpthread... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking if compilation of multithreaded programs works... yes checking whether there is a prototype for gethostname in unistd.h... yes checking for cups-config... /usr/bin/cups-config checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.2.0... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for main in -lm... yes checking if pow(0,0)!=1... no checking for main in -lz... yes checking for main in -ljpeg... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking for main in -ltiff... yes checking for tiffio.h... no checking tiff34/tiffio.h usability... no checking tiff34/tiffio.h presence... no checking for tiff34/tiffio.h... no checking gmp.h usability... yes checking gmp.h presence... yes checking for gmp.h... yes checking for main in -lgmp... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting config.status: creating src/Makefile config.status: WARNING: src/Makefile.in seems to ignore the --datarootdir setting config.status: creating image-formats/Makefile config.status: WARNING: image-formats/Makefile.in seems to ignore the --datarootdir setting config.status: creating drawfunc/Makefile config.status: WARNING: drawfunc/Makefile.in seems to ignore the --datarootdir setting config.status: creating yaccsrc/Makefile config.status: WARNING: yaccsrc/Makefile.in seems to ignore the --datarootdir setting config.status: creating curve/Makefile config.status: WARNING: curve/Makefile.in seems to ignore the --datarootdir setting config.status: creating mt/Makefile config.status: WARNING: mt/Makefile.in seems to ignore the --datarootdir setting config.status: creating draw/Makefile config.status: WARNING: draw/Makefile.in seems to ignore the --datarootdir setting config.status: creating misc/Makefile config.status: WARNING: misc/Makefile.in seems to ignore the --datarootdir setting config.status: creating debug/Makefile config.status: WARNING: debug/Makefile.in seems to ignore the --datarootdir setting config.status: creating gtkgui/Makefile config.status: WARNING: gtkgui/Makefile.in seems to ignore the --datarootdir setting config.status: creating dither/Makefile config.status: WARNING: dither/Makefile.in seems to ignore the --datarootdir setting + make -j4 Making all in yaccsrc make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6/yaccsrc' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c bezierarith.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c hornerarith.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c monomarith.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c mymemory.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c polyarith.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c polyroot.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c polyx.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c simple.cc gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Wnested-externs -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c polyyacc.c polyroot.cc: In function 'int polyx_all_roots(polyx*, double, double, double*, int*)': polyroot.cc:822:34: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] flags[num] = hroots[i]; ~~~~~~~~^ polyyacc.y: In function 'itotexascii': polyyacc.y:87:15: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] s[length]= 'a'+(i%26); ^~~ y.tab.c: In function 'yyparse': y.tab.c:1569:12: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] y.tab.c:1574:25: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] y.tab.c:1208:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] y.tab.c:1661:16: note: in expansion of macro 'YYLEX' y.tab.c:1208:16: warning: nested extern declaration of 'yylex' [-Wnested-externs] y.tab.c:1661:16: note: in expansion of macro 'YYLEX' polyyacc.y:513:53: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] $$ = new_char( len + 1 ); ^ polyyacc.y:534:53: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] $$ = new_char( length + 1 ); ^~~~ polyyacc.y:545:53: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] $$ = new_char( length + 1 ); ^~~~ polyyacc.y:557:75: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( $3 > 50 || $3 < length ) ^ polyyacc.y:564:59: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] zeroes = $3 - length; ^ polyyacc.y:564:42: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] zeroes = $3 - length; ^ polyyacc.y:584:75: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( $3 > 50 || $3 < length ) ^ polyyacc.y:591:59: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] zeroes = $3 - length; ^ polyyacc.y:591:42: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] zeroes = $3 - length; ^ polyyacc.y:206:6: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system ($2); ^~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Wnested-externs -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c polylex.c simple.cc: In function 'int itotexascii(int, char*, int)': simple.cc:191:18: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] s[length]= 'a'+(i%26); ~~~^~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c lexfunc.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c SymbolTable.cc lex.yy.c: In function 'yylex': lex.yy.c:806:28: warning: conversion to 'YY_CHAR {aka unsigned char}' from 'flex_int32_t {aka const int}' may alter its value [-Wconversion] lex.yy.c:816:13: warning: conversion to 'YY_CHAR {aka unsigned char}' from 'flex_int32_t {aka const int}' may alter its value [-Wconversion] lex.yy.c:818:56: warning: conversion to 'unsigned int' from 'flex_int16_t {aka const short int}' may change the sign of the result [-Wsign-conversion] lex.yy.c:349:11: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] lex.yy.c:832:3: note: in expansion of macro 'YY_DO_BEFORE_ACTION' polylex.l:102:18: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] length = strlen( yytext ) - 2; ^~~~~~ polylex.l:104:40: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] strncpy( yylval.str,&yytext[1],length ); ^~~~~~ lex.yy.c:666:37: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] polylex.l:345:1: note: in expansion of macro 'ECHO' %% ^~ lex.yy.c: In function 'yy_get_next_buffer': lex.yy.c:1496:42: warning: conversion to 'yy_size_t {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lex.yy.c:1509:20: warning: conversion to 'int' from 'yy_size_t {aka unsigned int}' may change the sign of the result [-Wsign-conversion] lex.yy.c:1530:56: warning: conversion to 'yy_size_t {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lex.yy.c:1540:18: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] polylex.l:64:48: note: in definition of macro 'YY_INPUT' #define YY_INPUT( b,r,ms ) ( r = the_yyinput(b,ms) ) ^~ lex.yy.c: In function 'yy_get_previous_state': lex.yy.c:1584:27: warning: conversion to 'YY_CHAR {aka unsigned char}' from 'int' may alter its value [-Wconversion] lex.yy.c:1594:12: warning: conversion to 'YY_CHAR {aka unsigned char}' from 'flex_int32_t {aka const int}' may alter its value [-Wconversion] lex.yy.c:1596:55: warning: conversion to 'unsigned int' from 'flex_int16_t {aka const short int}' may change the sign of the result [-Wsign-conversion] lex.yy.c: In function 'yy_try_NUL_trans': lex.yy.c:1622:11: warning: conversion to 'YY_CHAR {aka unsigned char}' from 'flex_int32_t {aka const int}' may alter its value [-Wconversion] lex.yy.c:1624:54: warning: conversion to 'unsigned int' from 'flex_int16_t {aka const short int}' may change the sign of the result [-Wsign-conversion] lex.yy.c: In function 'yyunput': lex.yy.c:261:34: warning: conversion to 'int' from 'yy_size_t {aka unsigned int}' may change the sign of the result [-Wsign-conversion] lex.yy.c:1654:19: note: in expansion of macro 'YY_CURRENT_BUFFER_LVALUE' lex.yy.c: In function 'input': lex.yy.c:1691:17: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] lex.yy.c: In function 'yy_create_buffer': lex.yy.c:1816:19: warning: conversion to 'yy_size_t {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lex.yy.c: In function 'yyensure_buffer_stack': lex.yy.c:1977:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] lex.yy.c:1977:10: warning: conversion to 'yy_size_t {aka unsigned int}' from 'long unsigned int' may alter its value [-Wconversion] lex.yy.c:1980:45: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] lex.yy.c:1982:27: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lex.yy.c:1992:40: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lex.yy.c:1992:18: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] lex.yy.c:1995:22: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] lex.yy.c:1995:9: warning: conversion to 'yy_size_t {aka unsigned int}' from 'long unsigned int' may alter its value [-Wconversion] lex.yy.c:1999:66: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] lex.yy.c:2000:27: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lex.yy.c: In function 'yy_scan_buffer': lex.yy.c:2028:18: warning: conversion to 'int' from 'yy_size_t {aka unsigned int}' may change the sign of the result [-Wsign-conversion] lex.yy.c: In function 'yy_scan_string': lex.yy.c:2050:30: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] lex.yy.c: In function 'yy_scan_bytes': lex.yy.c:2068:6: warning: conversion to 'yy_size_t {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lexfunc.cc: In function 'void set_the_yyinput(char*, long int, long int)': lexfunc.cc:77:35: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] main_formula_data_length = strlen( buffer ); ~~~~~~^~~~~~~~~~ lexfunc.cc: In function 'symtab* symtab_add_name(const char*)': lexfunc.cc:121:15: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] s->label = char_number; ^~~~~~~~~~~ lexfunc.cc:122:15: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] s->lineno = line_number; ^~~~~~~~~~~ lexfunc.cc: In function 'void yyerror(const char*)': lexfunc.cc:413:32: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] error_begin_char = char_number-strlen(yytext); ~~~~~~~~~~~^~~~~~~~~~~~~~~ lexfunc.cc: In function 'void scan_labels(char*)': lexfunc.cc:433:25: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] int length = strlen( buffer ); ~~~~~~^~~~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c Script.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c ExecuteScriptStruct.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c addDefaultSymbols.cc In file included from ../src/RgbBuffer.h:65:0, from ../mt/TSDrawingArea.h:31, from ExecuteScriptStruct.cc:29: ../src/color.h: In member function 'unsigned char colorrgb::getRedByte() const': ../src/color.h:47:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return red >= 1.0 ? 255: (int) (red*255); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getGreenByte() const': ../src/color.h:52:24: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return green >= 1.0 ? 255: (int) (green*255); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getBlueByte() const': ../src/color.h:57:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return blue >= 1.0 ? 255: (int) (blue*255); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/RgbBuffer.h:65:0, from ../mt/TSDrawingArea.h:31, from Script.h:35, from Script.cc:50: ../src/color.h: In member function 'unsigned char colorrgb::getRedByte() const': ../src/color.h:47:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return red >= 1.0 ? 255: (int) (red*255); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getGreenByte() const': ../src/color.h:52:24: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return green >= 1.0 ? 255: (int) (green*255); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getBlueByte() const': ../src/color.h:57:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return blue >= 1.0 ? 255: (int) (blue*255); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from Script.cc:56:0: ../draw/SurfaceCalc.h: In member function 'void SurfaceCalc::surface_set_pixel(int, int, const colorrgb&)': ../draw/SurfaceCalc.h:97:67: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~ ../draw/SurfaceCalc.h:97:78: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~~~ ../draw/SurfaceCalc.h:97:91: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~~ ../draw/SurfaceCalc.h: In member function 'void SurfaceCalc::surface_set_r_pixel(int, int, const colorrgb&)': ../draw/SurfaceCalc.h:102:68: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawRSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~ ../draw/SurfaceCalc.h:102:79: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawRSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~~~ ../draw/SurfaceCalc.h:102:92: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawRSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~~ ../draw/SurfaceCalc.h: In member function 'void SurfaceCalc::surface_set_gb_pixel(int, int, const colorrgb&)': ../draw/SurfaceCalc.h:107:69: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawGBSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~ ../draw/SurfaceCalc.h:107:80: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawGBSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~~~ ../draw/SurfaceCalc.h:107:93: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawGBSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~~ Script.cc: In static member function 'static void* Script::startThread(void*)': Script.cc:141:19: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] ess->error_end = char_number; ^~~~~~~~~~~ Script.cc: In static member function 'static char* Script::readFile(const char*)': Script.cc:271:26: warning: conversion to 'unsigned int' from '__off_t {aka long int}' may alter its value [-Wconversion] unsigned int size = buf.st_size; ~~~~^~~~~~~ Script.cc: In static member function 'static void Script::drawSurface()': Script.cc:414:70: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] float distf = display_numeric.stereo_z*display_numeric.stereo_eye/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ position_numeric.spectator_z; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Script.cc:424:43: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] intensity->StereoRight( display_numeric.stereo_red,display_numeric.stereo_green, ~~~~~~~~~~~~~~~~^~~~~~~~~~ Script.cc:424:70: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] intensity->StereoRight( display_numeric.stereo_red,display_numeric.stereo_green, ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ Script.cc:425:57: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] display_numeric.stereo_blue,dist,back ); ~~~~~~~~~~~~~~~~^~~~~~~~~~~ Script.cc: In static member function 'static void Script::ditherSurface()': Script.cc:699:65: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] dither_pixel_radius_adjust (fbuffer, (float)print_p_radius_data/100.0); ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ Script.cc: In static member function 'static void Script::cutWithSurface()': Script.cc:823:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=1; i= 1.0 ? 255: (int) (red*255); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ color.h: In member function 'unsigned char colorrgb::getGreenByte() const': color.h:52:24: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return green >= 1.0 ? 255: (int) (green*255); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ color.h: In member function 'unsigned char colorrgb::getBlueByte() const': color.h:57:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return blue >= 1.0 ? 255: (int) (blue*255); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ oct_quan.cc: In member function 'void OctColor::Dither(int, int, double)': oct_quan.cc:57:32: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] float rr=((float)red )/255.0; ~~~~~~~~~~~~~~^~~~~~ oct_quan.cc:58:32: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] float gg=((float)green)/255.0; ~~~~~~~~~~~~~~^~~~~~ oct_quan.cc:59:32: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] float bb=((float)blue )/255.0; ~~~~~~~~~~~~~~^~~~~~ oct_quan.cc:61:12: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] rr *= display_dither_value_data; ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ oct_quan.cc:62:12: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] gg *= display_dither_value_data; ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ oct_quan.cc:63:12: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] bb *= display_dither_value_data; ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ oct_quan.cc:67:18: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] if( rr - (int)rr > c ) rr += 1.0; ^~~~~~~ oct_quan.cc:67:35: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] if( rr - (int)rr > c ) rr += 1.0; ~~~^~~~~~ oct_quan.cc:68:18: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] if( gg - (int)gg > c ) gg += 1.0; ^~~~~~~ oct_quan.cc:68:35: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] if( gg - (int)gg > c ) gg += 1.0; ~~~^~~~~~ oct_quan.cc:69:18: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] if( bb - (int)bb > c ) bb += 1.0; ^~~~~~~ oct_quan.cc:69:35: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] if( bb - (int)bb > c ) bb += 1.0; ~~~^~~~~~ oct_quan.cc:71:62: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] rr = ((float)((int)rr))/(display_dither_value_data+1)*255; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ oct_quan.cc:72:62: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] gg = ((float)((int)gg))/(display_dither_value_data+1)*255; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ oct_quan.cc:73:62: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] bb = ((float)((int)bb))/(display_dither_value_data+1)*255; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c stop.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c bit_buffer.cc In file included from ./RgbBuffer.h:65:0, from ../mt/TSDrawingArea.h:31, from ../yaccsrc/Script.h:35, from main.cc:29: ./color.h: In member function 'unsigned char colorrgb::getRedByte() const': ./color.h:47:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return red >= 1.0 ? 255: (int) (red*255); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ./color.h: In member function 'unsigned char colorrgb::getGreenByte() const': ./color.h:52:24: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return green >= 1.0 ? 255: (int) (green*255); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./color.h: In member function 'unsigned char colorrgb::getBlueByte() const': ./color.h:57:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return blue >= 1.0 ? 255: (int) (blue*255); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c SurfaceDataStruct.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c CanvasDataStruct.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c symtab.cc bit_buffer.cc: In member function 'void bit_buffer::setPixel(int, int, int)': bit_buffer.cc:108:6: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] c |= ( (1 << (CHAR_BIT-1)) >> x % CHAR_BIT); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bit_buffer.cc:110:6: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] c &= ~( (1 << (CHAR_BIT-1)) >> x % CHAR_BIT); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c RgbBuffer.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c WindowGeometry.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c antialiasing_factor.cc antialiasing_factor.cc: In function 'float antialiasing_factor(int, int, int)': antialiasing_factor.cc:104:43: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] case 2: return antialias_filter_2x2[x][y]/4.0; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ antialiasing_factor.cc:105:43: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] case 3: return antialias_filter_3x3[x][y]/16.0; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ antialiasing_factor.cc:106:43: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] case 4: return antialias_filter_4x4[x][y]/36.0; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ antialiasing_factor.cc:107:43: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] case 5: return antialias_filter_5x5[x][y]/81.0; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ antialiasing_factor.cc:108:43: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] case 6: return antialias_filter_6x6[x][y]/144.0; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ antialiasing_factor.cc:109:43: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] case 7: return antialias_filter_7x7[x][y]/264.0; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ antialiasing_factor.cc:110:43: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] case 8: return antialias_filter_8x8[x][y]/408.0; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c RGBToNetscape.cc RGBToNetscape.cc: In function 'int RGBToNetscape(float, float, float, int, int)': RGBToNetscape.cc:32:5: warning: conversion to 'float' alters 'double' constant value [-Wfloat-conversion] r=0.9999; ^~~~~~ RGBToNetscape.cc:34:5: warning: conversion to 'float' alters 'double' constant value [-Wfloat-conversion] g=0.9999; ^~~~~~ RGBToNetscape.cc:36:5: warning: conversion to 'float' alters 'double' constant value [-Wfloat-conversion] b=0.9999; ^~~~~~ RGBToNetscape.cc:44:15: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] if( r-(int)r > c ) ^~~~~~ RGBToNetscape.cc:45:4: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] r+=1.0; ~^~~~~ RGBToNetscape.cc:46:15: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] if( g-(int)g > c ) ^~~~~~ RGBToNetscape.cc:47:4: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] g+=1.0; ~^~~~~ RGBToNetscape.cc:48:15: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] if( b-(int)b > c ) ^~~~~~ RGBToNetscape.cc:49:4: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] b+=1.0; ~^~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c Options.cc In file included from RgbBuffer.h:65:0, from symtab.cc:41: color.h: In member function 'unsigned char colorrgb::getRedByte() const': color.h:47:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return red >= 1.0 ? 255: (int) (red*255); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ color.h: In member function 'unsigned char colorrgb::getGreenByte() const': color.h:52:24: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return green >= 1.0 ? 255: (int) (green*255); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ color.h: In member function 'unsigned char colorrgb::getBlueByte() const': color.h:57:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return blue >= 1.0 ? 255: (int) (blue*255); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from RgbBuffer.cc:55:0: color.h: In member function 'unsigned char colorrgb::getRedByte() const': color.h:47:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return red >= 1.0 ? 255: (int) (red*255); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ color.h: In member function 'unsigned char colorrgb::getGreenByte() const': color.h:52:24: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return green >= 1.0 ? 255: (int) (green*255); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ color.h: In member function 'unsigned char colorrgb::getBlueByte() const': color.h:57:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return blue >= 1.0 ? 255: (int) (blue*255); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ RgbBuffer.cc: In member function 'void RgbBuffer::clearCurveTags()': RgbBuffer.cc:124:10: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] tag[i] &= ~ (CURVELINEBIT | CURVEBIT); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RgbBuffer.cc: In member function 'void RgbBuffer::Set(int, int, int, int, int)': RgbBuffer.cc:351:39: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] r[ y * width + x ] = (value0>255.0) ? 255 : value0; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ RgbBuffer.cc:352:39: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] g[ y * width + x ] = (value1>255.0) ? 255 : value1; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ RgbBuffer.cc:353:39: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] b[ y * width + x ] = (value2>255.0) ? 255 : value2; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ RgbBuffer.cc: In member function 'float RgbBuffer::Get_Gray_value(int, int)': RgbBuffer.cc:416:43: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] return (0.299*r[n]+0.587*g[n]+0.114*b[n])/255.0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ RgbBuffer.cc: In member function 'void RgbBuffer::SetTag(int, int, int)': RgbBuffer.cc:455:17: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] tag[y*width+x] |= position; ~~~~~~~~~~~~~~~^~~~~~~~~~~ RgbBuffer.cc: In member function 'void RgbBuffer::DelTag(int, int, int)': RgbBuffer.cc:463:17: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] tag[y*width+x] &= ~position; ~~~~~~~~~~~~~~~^~~~~~~~~~~~ RgbBuffer.cc: In member function 'void RgbBuffer::SetLayerTwo(int, int, int)': RgbBuffer.cc:474:26: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] curv[ y * width + x ] =value; ^~~~~ RgbBuffer.cc: In member function 'void RgbBuffer::NetscapeColor()': RgbBuffer.cc:520:41: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] map[i] = RGBToNetscape( ((float)r[i])/255.0, ~~~~~~~~~~~~~^~~~~~ RgbBuffer.cc:521:20: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] ((float)g[i])/255.0, ~~~~~~~~~~~~~^~~~~~ RgbBuffer.cc:522:20: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] ((float)b[i])/255.0,x,y ); ~~~~~~~~~~~~~^~~~~~ RgbBuffer.cc:520:26: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] map[i] = RGBToNetscape( ((float)r[i])/255.0, ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ((float)g[i])/255.0, ~~~~~~~~~~~~~~~~~~~~ ((float)b[i])/255.0,x,y ); ~~~~~~~~~~~~~~~~~~~~~~~~~ RgbBuffer.cc: In member function 'void RgbBuffer::OptimizedColor(bool, double)': RgbBuffer.cc:578:30: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] map[i]=Trees.QuantizeColor( Trees.proot,rgb ); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ RgbBuffer.cc: In member function 'void RgbBuffer::StereoLeft()': RgbBuffer.cc:599:11: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] map[i] =(int)( 0.299*((float)(r[i])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +0.587*((float)(g[i])) ~~~~~~~~~~~~~~~~~~~~~~ +0.114*((float)(b[i]))); ~~~~~~~~~~~~~~~~~~~~~~~ RgbBuffer.cc: In member function 'void RgbBuffer::StereoRight(float, float, float, int, int)': RgbBuffer.cc:610:12: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] curv[i] =(int)( 0.299*((float)(r[i])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +0.587*((float)(g[i])) ~~~~~~~~~~~~~~~~~~~~~~ +0.114*((float)(b[i]))); ~~~~~~~~~~~~~~~~~~~~~~~ RgbBuffer.cc:621:24: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] r[i] = ( xr < width ? (int)(rm*((float)( map[ir]))):back ); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RgbBuffer.cc:621:24: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] RgbBuffer.cc:622:24: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] g[i] = ( xl >=0 ? (int)(gm*((float)(curv[il]))):back ); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RgbBuffer.cc:622:24: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] RgbBuffer.cc:623:24: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] b[i] = ( xl >=0 ? (int)(bm*((float)(curv[il]))):back ); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RgbBuffer.cc:623:24: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] RgbBuffer.cc: In member function 'void RgbBuffer::AddCurve(int, int, int)': RgbBuffer.cc:721:20: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] r[num]=Layer1r = (r_tmp >255) ? 255 : r_tmp; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ RgbBuffer.cc:722:20: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] g[num]=Layer1g = (g_tmp >255) ? 255 : g_tmp; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ RgbBuffer.cc:723:20: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] b[num]=Layer1b = (b_tmp >255) ? 255 : b_tmp; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ RgbBuffer.cc:728:17: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] rr = Layer1r/255.0; ~~~~~~~^~~~~~ RgbBuffer.cc:729:17: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] gg = Layer1g/255.0; ~~~~~~~^~~~~~ RgbBuffer.cc:730:17: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] bb = Layer1b/255.0; ~~~~~~~^~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/src' Making all in image-formats make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6/image-formats' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c eps.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c ps.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c tiffprint.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c xbitmap.cc xbitmap.cc: In function 'unsigned char rotateByte(unsigned char)': xbitmap.cc:47:10: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] retval <<= 1; ~~~~~~~^~~~~ xbitmap.cc:49:5: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] c >>= 1; ~~^~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c sun.cc In file included from ../src/RgbBuffer.h:65:0, from eps.cc:60: ../src/color.h: In member function 'unsigned char colorrgb::getRedByte() const': ../src/color.h:47:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return red >= 1.0 ? 255: (int) (red*255); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getGreenByte() const': ../src/color.h:52:24: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return green >= 1.0 ? 255: (int) (green*255); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getBlueByte() const': ../src/color.h:57:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return blue >= 1.0 ? 255: (int) (blue*255); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ tiffprint.cc: In function 'bool tiffprint(bit_buffer&, const char*, int)': tiffprint.cc:159:14: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] byte = 255-pixel.getByte(px,py); ~~~^~~~~~~~~~~~~~~~~~~~~ In file included from ../src/RgbBuffer.h:65:0, from ps.cc:64: ../src/color.h: In member function 'unsigned char colorrgb::getRedByte() const': ../src/color.h:47:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return red >= 1.0 ? 255: (int) (red*255); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getGreenByte() const': ../src/color.h:52:24: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return green >= 1.0 ? 255: (int) (green*255); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getBlueByte() const': ../src/color.h:57:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return blue >= 1.0 ? 255: (int) (blue*255); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c xwd.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c jpeg.cc xwd.cc: In function 'bool write_xwd8_file(byte*, int, int, byte*, byte*, byte*, int, FILE*)': xwd.cc:128:35: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] win_name_size = strlen(win_name) + sizeof(char); ~~~~~~~~~~~~~~~~~^~~~~~~~~ xwd.cc:132:31: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] header_size = sizeof(header) + win_name_size; ~~~~~~~~~^~~~~~~~~~~~~~~ xwd.cc:164:27: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] colors[i].red =rmap[i] << 8; ~~~~~~~~^~~~ xwd.cc:165:27: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] colors[i].green=gmap[i] << 8; ~~~~~~~~^~~~ xwd.cc:166:27: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] colors[i].blue =bmap[i] << 8; ~~~~~~~~^~~~ xwd.cc: In function 'bool write_xwd24_file(byte*, byte*, byte*, int, int, FILE*)': xwd.cc:214:35: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] win_name_size = strlen(win_name) + sizeof(char); ~~~~~~~~~~~~~~~~~^~~~~~~~~ xwd.cc:218:31: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] header_size = sizeof(header) + win_name_size; ~~~~~~~~~^~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/image-formats' Making all in drawfunc make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6/drawfunc' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c Bezier.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c Clip.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c DrawFunc.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c DrawfuncData.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c Horner.cc In file included from Clip.cc:40:0: ../src/color.h: In member function 'unsigned char colorrgb::getRedByte() const': ../src/color.h:47:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return red >= 1.0 ? 255: (int) (red*255); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getGreenByte() const': ../src/color.h:52:24: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return green >= 1.0 ? 255: (int) (green*255); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getBlueByte() const': ../src/color.h:57:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return blue >= 1.0 ? 255: (int) (blue*255); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/RgbBuffer.h:65:0, from DrawfuncData.cc:38: ../src/color.h: In member function 'unsigned char colorrgb::getRedByte() const': ../src/color.h:47:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return red >= 1.0 ? 255: (int) (red*255); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getGreenByte() const': ../src/color.h:52:24: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return green >= 1.0 ? 255: (int) (green*255); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getBlueByte() const': ../src/color.h:57:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return blue >= 1.0 ? 255: (int) (blue*255); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/RgbBuffer.h:65:0, from ../mt/TSDrawingArea.h:31, from ../yaccsrc/Script.h:35, from DrawFunc.cc:31: ../src/color.h: In member function 'unsigned char colorrgb::getRedByte() const': ../src/color.h:47:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return red >= 1.0 ? 255: (int) (red*255); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getGreenByte() const': ../src/color.h:52:24: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return green >= 1.0 ? 255: (int) (green*255); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getBlueByte() const': ../src/color.h:57:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return blue >= 1.0 ? 255: (int) (blue*255); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ DrawfuncData.cc: In member function 'bool DrawfuncData::SetZbuffer(int, int, double)': DrawfuncData.cc:446:22: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] zbuffer->Set(x,y,z); ^ In file included from DrawFunc.cc:44:0: ../draw/SurfaceCalc.h: In member function 'void SurfaceCalc::surface_set_pixel(int, int, const colorrgb&)': ../draw/SurfaceCalc.h:97:67: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~ ../draw/SurfaceCalc.h:97:78: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~~~ ../draw/SurfaceCalc.h:97:91: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~~ ../draw/SurfaceCalc.h: In member function 'void SurfaceCalc::surface_set_r_pixel(int, int, const colorrgb&)': ../draw/SurfaceCalc.h:102:68: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawRSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~ ../draw/SurfaceCalc.h:102:79: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawRSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~~~ ../draw/SurfaceCalc.h:102:92: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawRSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~~ ../draw/SurfaceCalc.h: In member function 'void SurfaceCalc::surface_set_gb_pixel(int, int, const colorrgb&)': ../draw/SurfaceCalc.h:107:69: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawGBSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~ ../draw/SurfaceCalc.h:107:80: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawGBSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~~~ ../draw/SurfaceCalc.h:107:93: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawGBSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~~ DrawFunc.cc: In function 'void draw_func_draw()': DrawFunc.cc:138:9: warning: deleting object of abstract class type 'Clip' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete clip; ^~~~ DrawFunc.cc: In function 'void draw_func_cut()': DrawFunc.cc:196:9: warning: deleting object of abstract class type 'Clip' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete clip; ^~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c Hornergroup.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c MappingMatrix.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c MultiVariatePolynom.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c Position.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c Sturmchain.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c UniVariatePolynom.cc In file included from Position.cc:37:0: ../src/color.h: In member function 'unsigned char colorrgb::getRedByte() const': ../src/color.h:47:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return red >= 1.0 ? 255: (int) (red*255); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getGreenByte() const': ../src/color.h:52:24: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return green >= 1.0 ? 255: (int) (green*255); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getBlueByte() const': ../src/color.h:57:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return blue >= 1.0 ? 255: (int) (blue*255); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c Vector.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c HornergroupXY.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c HornergroupXYZ.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c RationalHornerXY.cc make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/drawfunc' Making all in curve make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6/curve' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c RBTree.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c resultant.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c RootFinder2d.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c RootFinder3d.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c DrawCurve.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c mygmp.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c BigInteger.cc mygmp.cc: In function 'std::ostream& operator<<(std::ostream&, __mpz_struct*)': mygmp.cc:39:35: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] int size = mpz_sizeinbase (z, 10)+4; ^ BigInteger.cc: In member function 'void BigInteger::print(std::ostream&) const': BigInteger.cc:67:37: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] int size = mpz_sizeinbase (mpz, 10)+4; ^ In file included from ../src/RgbBuffer.h:65:0, from DrawCurve.h:30, from DrawCurve.cc:26: ../src/color.h: In member function 'unsigned char colorrgb::getRedByte() const': ../src/color.h:47:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return red >= 1.0 ? 255: (int) (red*255); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getGreenByte() const': ../src/color.h:52:24: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return green >= 1.0 ? 255: (int) (green*255); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getBlueByte() const': ../src/color.h:57:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return blue >= 1.0 ? 255: (int) (blue*255); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ DrawCurve.cc: In member function 'bool DrawCurve::setZbuffer(int, int, double)': DrawCurve.cc:327:22: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] zbuffer->Set(x,y,z); ^ make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/curve' Making all in mt make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6/mt' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c Thread.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c GuiThread.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c TSDrawingArea.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c cthread.cc In file included from ../src/RgbBuffer.h:65:0, from TSDrawingArea.h:31, from TSDrawingArea.cc:30: ../src/color.h: In member function 'unsigned char colorrgb::getRedByte() const': ../src/color.h:47:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return red >= 1.0 ? 255: (int) (red*255); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getGreenByte() const': ../src/color.h:52:24: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return green >= 1.0 ? 255: (int) (green*255); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getBlueByte() const': ../src/color.h:57:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return blue >= 1.0 ? 255: (int) (blue*255); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ GuiThread.cc: In static member function 'static void GuiThread::readAll()': GuiThread.cc:157:7: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] read(filedes[0], &c, 1); ~~~~^~~~~~~~~~~~~~~~~~~ GuiThread.cc: In static member function 'static void GuiThread::wakeup()': GuiThread.cc:171:8: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(filedes[1], "a", 1); ~~~~~^~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/mt' Making all in draw make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6/draw' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c SurfaceCalc.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c NewClip.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c NewSimpleClip.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c NewClipSphere.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c NewClipSphereParallel.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c NewClipSphereCentral.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c NewClipAlgebraic.cc In file included from SurfaceCalc.h:31:0, from SurfaceCalc.cc:31: ../src/color.h: In member function 'unsigned char colorrgb::getRedByte() const': ../src/color.h:47:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return red >= 1.0 ? 255: (int) (red*255); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getGreenByte() const': ../src/color.h:52:24: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return green >= 1.0 ? 255: (int) (green*255); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getBlueByte() const': ../src/color.h:57:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return blue >= 1.0 ? 255: (int) (blue*255); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c NewClipAlgebraicTetra.cc In file included from SurfaceCalc.cc:31:0: SurfaceCalc.h: In member function 'void SurfaceCalc::surface_set_pixel(int, int, const colorrgb&)': SurfaceCalc.h:97:67: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~ SurfaceCalc.h:97:78: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~~~ SurfaceCalc.h:97:91: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~~ SurfaceCalc.h: In member function 'void SurfaceCalc::surface_set_r_pixel(int, int, const colorrgb&)': SurfaceCalc.h:102:68: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawRSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~ SurfaceCalc.h:102:79: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawRSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~~~ SurfaceCalc.h:102:92: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawRSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~~ SurfaceCalc.h: In member function 'void SurfaceCalc::surface_set_gb_pixel(int, int, const colorrgb&)': SurfaceCalc.h:107:69: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawGBSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~ SurfaceCalc.h:107:80: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawGBSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~~~ SurfaceCalc.h:107:93: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vdisplay->drawGBSquare (x-(jump-1)/2, y-(jump-1)/2, jump, color.red, color.green, color.blue); ~~~~~~^~~~ SurfaceCalc.cc: In function 'void set_null_root_n(int*)': SurfaceCalc.cc:55:32: warning: 'sizeof' on array function parameter 'roots' will return size of 'int*' [-Wsizeof-array-argument] memset (roots, 0, sizeof(roots)); ^ SurfaceCalc.cc:53:70: note: declared here static inline void set_null_root_n (int roots[MAIN_SURFACE_AMOUNT_NUM]) ^ SurfaceCalc.cc:55:26: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset (roots, 0, sizeof(roots)); ^ SurfaceCalc.cc: In function 'void set_null_root_n_with_curve(int*)': SurfaceCalc.cc:60:32: warning: 'sizeof' on array function parameter 'roots' will return size of 'int*' [-Wsizeof-array-argument] memset (roots, 0, sizeof(roots)); ^ SurfaceCalc.cc:58:83: note: declared here static inline void set_null_root_n_with_curve (int roots[MAIN_SURFACE_AMOUNT_NUM+1]) ^ SurfaceCalc.cc:60:26: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset (roots, 0, sizeof(roots)); ^ SurfaceCalc.cc: In member function 'void SurfaceCalc::surface_refine_pixel(int, int, colorrgb&)': SurfaceCalc.cc:115:22: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] float refine_radius=display_ref_radius_data; ^~~~~~~~~~~~~~~~~~~~~~~ SurfaceCalc.cc:118:26: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] p_inc = ( refine_radius*jump )/display_ref_level_data; ^~~~ SurfaceCalc.cc:118:33: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] p_inc = ( refine_radius*jump )/display_ref_level_data; ^~~~~~~~~~~~~~~~~~~~~~ SurfaceCalc.cc: In member function 'void SurfaceCalc::color_of_single_point_old(Vector&, Vector&, colorrgb&, int)': SurfaceCalc.cc:620:25: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] float cm = ( cb + cf )/2.0; // midpoint of clipping area ~~~~~~~~~~~^~~~ SurfaceCalc.cc:630:29: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] fadecol = ( P.z - cm )/cd + 0.5; ~~~~~~~~~~~~~~~~^~~~~ SurfaceCalc.cc:631:30: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: fadecol = max( fadecol,0.0 ); ^ In file included from SurfaceCalc.h:29:0, from SurfaceCalc.cc:31: ../src/def.h:99:22: note: candidate 1: double max(double, double) static inline double max(double a, double b) { return MAX(a,b); } ^~~ ../src/def.h:98:21: note: candidate 2: float max(float, float) static inline float max(float a, float b) { return MAX(a,b); } ^~~ SurfaceCalc.cc:631:16: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] fadecol = max( fadecol,0.0 ); ~~~^~~~~~~~~~~~~~~ SurfaceCalc.cc:632:30: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: fadecol = min( fadecol,1.0 ); ^ In file included from SurfaceCalc.h:29:0, from SurfaceCalc.cc:31: ../src/def.h:88:22: note: candidate 1: double min(double, double) static inline double min(double a, double b) { return MIN(a,b); } ^~~ ../src/def.h:87:21: note: candidate 2: float min(float, float) static inline float min(float a, float b) { return MIN(a,b); } ^~~ SurfaceCalc.cc:632:16: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] fadecol = min( fadecol,1.0 ); ~~~^~~~~~~~~~~~~~~ SurfaceCalc.cc:636:17: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] fadecoln = 1.0 - fadecol; ~~~~^~~~~~~~~ SurfaceCalc.cc:701:49: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] fade = 1.3*( P.z - display_depth_value_data )/cd; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ SurfaceCalc.cc:702:25: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: fade = max( fade,0.0 ); ^ In file included from SurfaceCalc.h:29:0, from SurfaceCalc.cc:31: ../src/def.h:99:22: note: candidate 1: double max(double, double) static inline double max(double a, double b) { return MAX(a,b); } ^~~ ../src/def.h:98:21: note: candidate 2: float max(float, float) static inline float max(float a, float b) { return MAX(a,b); } ^~~ SurfaceCalc.cc:702:14: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] fade = max( fade,0.0 ); ~~~^~~~~~~~~~~~ SurfaceCalc.cc:703:25: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: fade = min( fade,1.0 ); ^ In file included from SurfaceCalc.h:29:0, from SurfaceCalc.cc:31: ../src/def.h:88:22: note: candidate 1: double min(double, double) static inline double min(double a, double b) { return MIN(a,b); } ^~~ ../src/def.h:87:21: note: candidate 2: float min(float, float) static inline float min(float a, float b) { return MIN(a,b); } ^~~ SurfaceCalc.cc:703:14: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] fade = min( fade,1.0 ); ~~~^~~~~~~~~~~~ SurfaceCalc.cc: In member function 'void SurfaceCalc::color_of_single_point(Vector&, Vector&, colorrgb&, int)': SurfaceCalc.cc:733:55: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] fade = 1.3*( P.z - display_depth_value_data )/( cf - cb ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ SurfaceCalc.cc:740:25: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: fade = min( fade,1.0 ); ^ In file included from SurfaceCalc.h:29:0, from SurfaceCalc.cc:31: ../src/def.h:88:22: note: candidate 1: double min(double, double) static inline double min(double a, double b) { return MIN(a,b); } ^~~ ../src/def.h:87:21: note: candidate 2: float min(float, float) static inline float min(float a, float b) { return MIN(a,b); } ^~~ SurfaceCalc.cc:740:14: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] fade = min( fade,1.0 ); ~~~^~~~~~~~~~~~ SurfaceCalc.cc: In member function 'void SurfaceCalc::illumination_of_surface(double, double, double (*)[99], double (*)[99], double, colorrgb&)': SurfaceCalc.cc:833:30: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] register float norm_it = display_max_i_data; ^~~~~~~~~~~~~~~~~~ SurfaceCalc.cc:930:42: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] part_D = sf_ds.surfaces[best_i].diffuse; ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ SurfaceCalc.cc:941:66: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] ambient[RED] [SURFS] = ambient[RED] [INSIDE] = part_A*sf_ds.curve.red; ~~~~~~^~~~~~~~~~~~~~~~ SurfaceCalc.cc:942:66: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] ambient[GREEN][SURFS] = ambient[GREEN][INSIDE] = part_A*sf_ds.curve.green; ~~~~~~^~~~~~~~~~~~~~~~~~ SurfaceCalc.cc:943:66: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] ambient[BLUE] [SURFS] = ambient[BLUE] [INSIDE] = part_A*sf_ds.curve.blue; ~~~~~~^~~~~~~~~~~~~~~~~ SurfaceCalc.cc:945:66: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] diffuse[RED] [SURFS] = diffuse[RED] [INSIDE] = part_D*sf_ds.curve.red; ~~~~~~^~~~~~~~~~~~~~~~ SurfaceCalc.cc:946:66: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] diffuse[GREEN][SURFS] = diffuse[GREEN][INSIDE] = part_D*sf_ds.curve.green; ~~~~~~^~~~~~~~~~~~~~~~~~ SurfaceCalc.cc:947:66: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] diffuse[BLUE] [SURFS] = diffuse[BLUE] [INSIDE] = part_D*sf_ds.curve.blue; ~~~~~~^~~~~~~~~~~~~~~~~ SurfaceCalc.cc:949:68: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] ambient[RED] [SURFS] = sf_ds.surfaces[best_i].red *part_A*solidfak; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ SurfaceCalc.cc:950:68: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] ambient[GREEN][SURFS] = sf_ds.surfaces[best_i].green *part_A*solidfak; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ SurfaceCalc.cc:951:68: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] ambient[BLUE] [SURFS] = sf_ds.surfaces[best_i].blue *part_A*solidfak; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ SurfaceCalc.cc:952:68: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] ambient[RED] [INSIDE] = sf_ds.surfaces[best_i].ins_red *part_A*solidfak; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ SurfaceCalc.cc:953:68: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] ambient[GREEN][INSIDE] = sf_ds.surfaces[best_i].ins_green*part_A*solidfak; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ SurfaceCalc.cc:954:68: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] ambient[BLUE] [INSIDE] = sf_ds.surfaces[best_i].ins_blue *part_A*solidfak; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ SurfaceCalc.cc:956:68: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] diffuse[RED] [SURFS] = sf_ds.surfaces[best_i].red *part_D*solidfak; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ SurfaceCalc.cc:957:68: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] diffuse[GREEN][SURFS] = sf_ds.surfaces[best_i].green *part_D*solidfak; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ SurfaceCalc.cc:958:68: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] diffuse[BLUE] [SURFS] = sf_ds.surfaces[best_i].blue *part_D*solidfak; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ SurfaceCalc.cc:959:68: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] diffuse[RED] [INSIDE] = sf_ds.surfaces[best_i].ins_red *part_D*solidfak; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ SurfaceCalc.cc:960:68: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] diffuse[GREEN][INSIDE] = sf_ds.surfaces[best_i].ins_green*part_D*solidfak; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ SurfaceCalc.cc:961:68: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] diffuse[BLUE] [INSIDE] = sf_ds.surfaces[best_i].ins_blue *part_D*solidfak; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ SurfaceCalc.cc: In member function 'void SurfaceCalc::CalculateCurveOnSurface(int, int, int, int, RgbBuffer&, float_buffer&)': SurfaceCalc.cc:1050:76: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] float distf = display_numeric.stereo_z*display_numeric.stereo_eye/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ position_numeric.spectator_z; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SurfaceCalc.cc: In member function 'void SurfaceCalc::initVars()': SurfaceCalc.cc:1323:43: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] part_A=((float)light_settings[0].ambient)/100.0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ SurfaceCalc.cc:1326:66: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] tocolor[RED] =(((double)color_gradient_end_data[RED] )/255.0)*part_A; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ SurfaceCalc.cc:1327:66: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] tocolor[GREEN] =(((double)color_gradient_end_data[GREEN])/255.0)*part_A; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ SurfaceCalc.cc:1328:66: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] tocolor[BLUE] =(((double)color_gradient_end_data[BLUE] )/255.0)*part_A; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c NewClipAlgebraicCube.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c NewClipAlgebraicOcta.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c NewClipAlgebraicDode.cc SurfaceCalc.cc: In member function 'void SurfaceCalc::CalculateCurveOnSurface(int, int, int, int, RgbBuffer&, float_buffer&)': SurfaceCalc.cc:1062:42: warning: array subscript is above array bounds [-Warray-bounds] thickness = light_settings[i].thickness; ~~~~~~~~~~~~~~~~^ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c NewClipAlgebraicIco.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c NewClipAlgebraicCyl.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c NewClipAlgebraicUser.cc make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/draw' Making all in misc make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6/misc' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c welcomeMessage.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c Misc.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c mystrdup.cc make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/misc' Making all in debug make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6/debug' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c debug.cc make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/debug' Making all in dither make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6/dither' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c dither_brute.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c dither_clustered.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c dither_dispersed.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c dither_floyd_steinberg.cc dither_floyd_steinberg.cc: In function 'void dither_floyd_steinberg(float_buffer&, bit_buffer&, bool, double, bool)': dither_floyd_steinberg.cc:47:38: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] weight_rand_7_5 = print_weight_data*5.0; ~~~~~~~~~~~~~~~~~^~~~ dither_floyd_steinberg.cc:48:38: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] weight_rand_3_1 = print_weight_data*1.0; ~~~~~~~~~~~~~~~~~^~~~ dither_floyd_steinberg.cc:77:17: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] err = value - 1.0; ~~~~~~^~~~~ dither_floyd_steinberg.cc:90:48: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] weight_7_5 = ( rand( )/4294967295.0 - 1.0 )*weight_rand_7_5; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ dither_floyd_steinberg.cc:91:48: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] weight_3_1 = ( rand( )/4294967295.0 - 1.0 )*weight_rand_3_1; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c dither_jarvis_judis_ninke.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c dither_stucki.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c dither_dot_diffusion.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c dither_smooth_dot_diffusion.cc dither_jarvis_judis_ninke.cc: In function 'void dither_jarvis_judis_ninke(float_buffer&, bit_buffer&, bool, double, bool)': dither_jarvis_judis_ninke.cc:57:36: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] weight_rand_7 = print_weight_data*7.0; ~~~~~~~~~~~~~~~~~^~~~ dither_jarvis_judis_ninke.cc:58:36: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] weight_rand_5 = print_weight_data*5.0; ~~~~~~~~~~~~~~~~~^~~~ dither_jarvis_judis_ninke.cc:59:36: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] weight_rand_3 = print_weight_data*3.0; ~~~~~~~~~~~~~~~~~^~~~ dither_jarvis_judis_ninke.cc:60:36: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] weight_rand_1 = print_weight_data*1.0; ~~~~~~~~~~~~~~~~~^~~~ dither_stucki.cc: In function 'void dither_stucki(float_buffer&, bit_buffer&, bool, double, bool)': dither_stucki.cc:60:36: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] weight_rand_8 = print_weight_data*8.0; ~~~~~~~~~~~~~~~~~^~~~ dither_stucki.cc:61:36: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] weight_rand_4 = print_weight_data*4.0; ~~~~~~~~~~~~~~~~~^~~~ dither_stucki.cc:62:36: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] weight_rand_2 = print_weight_data*2.0; ~~~~~~~~~~~~~~~~~^~~~ dither_stucki.cc:63:36: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] weight_rand_1 = print_weight_data*1.0; ~~~~~~~~~~~~~~~~~^~~~ dither_jarvis_judis_ninke.cc:94:17: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] err = value - 1.0; ~~~~~~^~~~~ dither_jarvis_judis_ninke.cc:123:46: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] weight_7 = ( rand( )/4294967295.0 - 1.0 )*weight_rand_7; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ dither_stucki.cc:97:17: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] err = value - 1.0; ~~~~~~^~~~~ dither_jarvis_judis_ninke.cc:124:46: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] weight_5 = ( rand( )/4294967295.0 - 1.0 )*weight_rand_5; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ dither_jarvis_judis_ninke.cc:125:46: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] weight_3 = ( rand( )/4294967295.0 - 1.0 )*weight_rand_3; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ dither_jarvis_judis_ninke.cc:126:46: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] weight_1 = ( rand( )/4294967295.0 - 1.0 )*weight_rand_1; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ dither_stucki.cc:126:46: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] weight_8 = ( rand( )/4294967295.0 - 1.0 )*weight_rand_8; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ dither_stucki.cc:127:46: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] weight_4 = ( rand( )/4294967295.0 - 1.0 )*weight_rand_4; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ dither_stucki.cc:128:46: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] weight_2 = ( rand( )/4294967295.0 - 1.0 )*weight_rand_2; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ dither_stucki.cc:129:46: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] weight_1 = ( rand( )/4294967295.0 - 1.0 )*weight_rand_1; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ dither_dot_diffusion.cc: In function 'void dither_dot_diffusion(float_buffer&, bit_buffer&, int)': dither_dot_diffusion.cc:67:18: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] err = value - 1.0; ~~~~~~^~~~~ dither_dot_diffusion.cc:72:17: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] err*(*d_d_s[print_barons_data])[k].err[j] ); ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dither_smooth_dot_diffusion.cc: In function 'void dither_smooth_dot_diffusion(float_buffer&, bit_buffer&, int)': dither_smooth_dot_diffusion.cc:54:16: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] compare = 0.5/( 64 - k ); ~~~^~~~~~~~~~~ dither_smooth_dot_diffusion.cc:69:18: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] err = value - 1.0; ~~~~~~^~~~~ dither_smooth_dot_diffusion.cc:73:17: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] err /= 63 - k; ~~~^~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c copy_rgb_to_float.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c copy_rgb_to_float_curve.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c dither_pixel_radius_adjust.cc In file included from ../src/RgbBuffer.h:65:0, from copy_rgb_to_float.cc:27: ../src/color.h: In member function 'unsigned char colorrgb::getRedByte() const': ../src/color.h:47:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return red >= 1.0 ? 255: (int) (red*255); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getGreenByte() const': ../src/color.h:52:24: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return green >= 1.0 ? 255: (int) (green*255); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getBlueByte() const': ../src/color.h:57:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return blue >= 1.0 ? 255: (int) (blue*255); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ copy_rgb_to_float.cc: In function 'void copy_rgb_to_float(RgbBuffer&, float_buffer&, double)': copy_rgb_to_float.cc:38:52: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] gray.Set( j,i,( intensity.GetTag( j,i,DATABIT ) ? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ intensity.Get_Gray_value( j,i ) : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print_background_data ) ); ~~~~~~~~~~~~~~~~~~~~~~~ copy_rgb_to_float.cc:38:52: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] In file included from ../src/RgbBuffer.h:65:0, from copy_rgb_to_float_curve.cc:29: ../src/color.h: In member function 'unsigned char colorrgb::getRedByte() const': ../src/color.h:47:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return red >= 1.0 ? 255: (int) (red*255); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getGreenByte() const': ../src/color.h:52:24: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return green >= 1.0 ? 255: (int) (green*255); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getBlueByte() const': ../src/color.h:57:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return blue >= 1.0 ? 255: (int) (blue*255); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ dither_pixel_radius_adjust.cc: In function 'void dither_pixel_radius_adjust(float_buffer&, float)': dither_pixel_radius_adjust.cc:43:18: warning: conversion to 'float' alters 'double' constant value [-Wfloat-conversion] float d = 2.54/300; ~~~~^~~~ dither_pixel_radius_adjust.cc:45:15: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] float a = d/M_SQRT2; ^ dither_pixel_radius_adjust.cc:53:52: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] alpha1 = ( r*r*( 3*M_PI - 8*gamma ) + 4*c*d )/4/d/d; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ dither_pixel_radius_adjust.cc:55:24: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] alpha2 = r*r*M_PI/2/d/d; ~~~~~~~~~~~~^~ dither_pixel_radius_adjust.cc:57:24: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] alpha3 = r*r*M_PI/4/d/d; ~~~~~~~~~~~~^~ dither_pixel_radius_adjust.cc:61:8: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] h = e/M_SQRT2; ^ dither_pixel_radius_adjust.cc:67:51: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] alpha1 = ( r*r*(2*M_PI - 8*beta) +8*a*b )/4/d/d + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ( h*h + l*h -r*r*delta )/d/d; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dither_pixel_radius_adjust.cc:70:49: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] alpha2 = ( r*r*(2*M_PI - 8*beta) + 8*a*b )/4/d/d; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ dither_pixel_radius_adjust.cc:72:24: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] alpha3 = r*r*M_PI/4/d/d; ~~~~~~~~~~~~^~ dither_pixel_radius_adjust.cc:75:19: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] float b1 = 1.0 - alpha1; ~~~~^~~~~~~~ dither_pixel_radius_adjust.cc:76:19: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] float b2 = 1.0 - alpha2; ~~~~^~~~~~~~ dither_pixel_radius_adjust.cc:77:19: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] float b3 = 1.0 - alpha3; ~~~~^~~~~~~~ dither_pixel_radius_adjust.cc:79:20: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] float m1 = 1.0/4/( alpha1 - 1.0 ); ~~~~~^~~~~~~~~~~~~~~~~ dither_pixel_radius_adjust.cc:80:20: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] float m2 = 1.0/4/( alpha2 - alpha1 ); ~~~~~^~~~~~~~~~~~~~~~~~~~ dither_pixel_radius_adjust.cc:81:20: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] float m3 = 1.0/4/( alpha3 - alpha2 ); ~~~~~^~~~~~~~~~~~~~~~~~~~ dither_pixel_radius_adjust.cc:82:20: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] float m4 = 1.0/4/( -alpha3 ); ~~~~~^~~~~~~~~~~~ dither_pixel_radius_adjust.cc:88:24: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] value = m1 * value + 1.0; ~~~~~~~~~~~^~~~~ dither_pixel_radius_adjust.cc:90:33: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] value = m2 * ( value - b1 ) + 0.75; ~~~~~~~~~~~~~~~~~~~~^~~~~~ dither_pixel_radius_adjust.cc:92:33: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] value = m3 * ( value - b2 ) + 0.5; ~~~~~~~~~~~~~~~~~~~~^~~~~ dither_pixel_radius_adjust.cc:94:33: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] value = m4 * ( value - b3 ) + 0.25; ~~~~~~~~~~~~~~~~~~~~^~~~~~ dither_pixel_radius_adjust.cc:95:16: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] value = 1.0 - value; ~~~~^~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/dither' Making all in gtkgui make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6/gtkgui' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c mycolor.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c MainWindowController.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c TextWidget.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c start.cc In file included from TextWidget.h:40:0, from TextWidget.cc:38: mygtk.h: In function 'GtkWidget* mygtk_new_spin(double, double, double, double, double, double, int)': mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] GtkObject *adj = gtk_adjustment_new (value, lower, upper, inc1, inc2, 0); ^ mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:63:64: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] return gtk_spin_button_new (GTK_ADJUSTMENT(adj), accel, digits); ^ In file included from start.cc:28:0: mygtk.h: In function 'GtkWidget* mygtk_new_spin(double, double, double, double, double, double, int)': mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] GtkObject *adj = gtk_adjustment_new (value, lower, upper, inc1, inc2, 0); ^ mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:63:64: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] return gtk_spin_button_new (GTK_ADJUSTMENT(adj), accel, digits); ^ mycolor.cc: In function 'int alloc_netscape_colors(GdkColormap*)': mycolor.cc:276:24: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] xcolor.red = 51*r*256; ~~~~^~~~ mycolor.cc:277:24: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] xcolor.green = 51*g*256; ~~~~^~~~ mycolor.cc:278:24: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] xcolor.blue = 51*b*256; ~~~~^~~~ In file included from OptionMenuBuilder.h:29:0, from PrintImageDialog.h:40, from MainWindowController.h:42, from MainWindowController.cc:47: mygtk.h: In function 'GtkWidget* mygtk_new_spin(double, double, double, double, double, double, int)': mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] GtkObject *adj = gtk_adjustment_new (value, lower, upper, inc1, inc2, 0); ^ mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:63:64: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] return gtk_spin_button_new (GTK_ADJUSTMENT(adj), accel, digits); ^ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c mygtk.cc In file included from ../src/RgbBuffer.h:65:0, from ../mt/TSDrawingArea.h:31, from ../yaccsrc/Script.h:35, from MainWindowController.cc:48: ../src/color.h: In member function 'unsigned char colorrgb::getRedByte() const': ../src/color.h:47:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return red >= 1.0 ? 255: (int) (red*255); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getGreenByte() const': ../src/color.h:52:24: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return green >= 1.0 ? 255: (int) (green*255); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getBlueByte() const': ../src/color.h:57:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return blue >= 1.0 ? 255: (int) (blue*255); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c showAbout.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c ProgressDialog.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c ColorWindow.cc In file included from mygtk.cc:26:0: mygtk.h: In function 'GtkWidget* mygtk_new_spin(double, double, double, double, double, double, int)': mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] GtkObject *adj = gtk_adjustment_new (value, lower, upper, inc1, inc2, 0); ^ mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:63:64: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] return gtk_spin_button_new (GTK_ADJUSTMENT(adj), accel, digits); ^ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c DrawingArea.cc ProgressDialog.cc: In member function 'void ProgressDialog::updateDisplay()': ProgressDialog.cc:121:58: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] gtk_progress_set_percentage (GTK_PROGRESS(progress), done); ^~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c PositionWindow.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c ConfigurationWindow.cc In file included from OptionMenuBuilder.h:29:0, from PrintImageDialog.h:40, from MainWindowController.h:42, from ColorWindow.cc:30: mygtk.h: In function 'GtkWidget* mygtk_new_spin(double, double, double, double, double, double, int)': mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] GtkObject *adj = gtk_adjustment_new (value, lower, upper, inc1, inc2, 0); ^ mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:63:64: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] return gtk_spin_button_new (GTK_ADJUSTMENT(adj), accel, digits); ^ In file included from DrawingArea.cc:31:0: ../src/color.h: In member function 'unsigned char colorrgb::getRedByte() const': ../src/color.h:47:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return red >= 1.0 ? 255: (int) (red*255); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getGreenByte() const': ../src/color.h:52:24: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return green >= 1.0 ? 255: (int) (green*255); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getBlueByte() const': ../src/color.h:57:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return blue >= 1.0 ? 255: (int) (blue*255); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c NumericWindow.cc DrawingArea.cc: In member function 'void DrawingArea::draw(int, int, int, int)': DrawingArea.cc:131:11: warning: conversion to 'gint16 {aka short int}' from 'int' may alter its value [-Wconversion] rect.x = x; ^ DrawingArea.cc:132:11: warning: conversion to 'gint16 {aka short int}' from 'int' may alter its value [-Wconversion] rect.y = y; ^ DrawingArea.cc:133:15: warning: conversion to 'guint16 {aka short unsigned int}' from 'int' may alter its value [-Wconversion] rect.width = w; ^ DrawingArea.cc:134:16: warning: conversion to 'guint16 {aka short unsigned int}' from 'int' may alter its value [-Wconversion] rect.height = h; ^ DrawingArea.cc: In member function 'void DrawingArea::drawRgbBuffer(RgbBuffer&)': DrawingArea.cc:173:27: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] ((float)buffer.r[i])/255.0, ~~~~~~~~~~~~~~~~~~~~^~~~~~ DrawingArea.cc:174:27: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] ((float)buffer.g[i])/255.0, ~~~~~~~~~~~~~~~~~~~~^~~~~~ DrawingArea.cc:175:27: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] ((float)buffer.b[i])/255.0); ~~~~~~~~~~~~~~~~~~~~^~~~~~ DrawingArea.cc: In member function 'void DrawingArea::drawCurve(RgbBuffer&, int, int, int)': DrawingArea.cc:204:30: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] rgbbuffer.r[num]=Layer1r = (r_tmp >255) ? 255 : r_tmp; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ DrawingArea.cc:205:30: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] rgbbuffer.g[num]=Layer1g = (g_tmp >255) ? 255 : g_tmp; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ DrawingArea.cc:206:30: warning: conversion to 'byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] rgbbuffer.b[num]=Layer1b = (b_tmp >255) ? 255 : b_tmp; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ DrawingArea.cc:211:17: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] rr = Layer1r/255.0; ~~~~~~~^~~~~~ DrawingArea.cc:212:17: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] gg = Layer1g/255.0; ~~~~~~~^~~~~~ DrawingArea.cc:213:17: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] bb = Layer1b/255.0; ~~~~~~~^~~~~~ In file included from TableBuilder.h:31:0, from PositionWindow.cc:28: mygtk.h: In function 'GtkWidget* mygtk_new_spin(double, double, double, double, double, double, int)': mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] GtkObject *adj = gtk_adjustment_new (value, lower, upper, inc1, inc2, 0); ^ mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:63:64: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] return gtk_spin_button_new (GTK_ADJUSTMENT(adj), accel, digits); ^ In file included from PositionWindow.cc:28:0: TableBuilder.h: In member function 'void TableBuilder::newLine(GtkWidget*, GtkWidget*, double)': TableBuilder.h:57:55: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] gtk_misc_set_alignment (GTK_MISC(left),1,alignment); ^ In file included from ConfigurationWindow.h:30:0, from ConfigurationWindow.cc:27: mygtk.h: In function 'GtkWidget* mygtk_new_spin(double, double, double, double, double, double, int)': mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] GtkObject *adj = gtk_adjustment_new (value, lower, upper, inc1, inc2, 0); ^ mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:63:64: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] return gtk_spin_button_new (GTK_ADJUSTMENT(adj), accel, digits); ^ In file included from DisplayWindow.h:34:0, from ConfigurationWindow.cc:31: TableBuilder.h: In member function 'void TableBuilder::newLine(GtkWidget*, GtkWidget*, double)': TableBuilder.h:57:55: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] gtk_misc_set_alignment (GTK_MISC(left),1,alignment); ^ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c ColorSelectionButton.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c IlluminationWindow.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c Requester.cc In file included from NumericWindow.h:31:0, from NumericWindow.cc:30: mygtk.h: In function 'GtkWidget* mygtk_new_spin(double, double, double, double, double, double, int)': mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] GtkObject *adj = gtk_adjustment_new (value, lower, upper, inc1, inc2, 0); ^ mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:63:64: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] return gtk_spin_button_new (GTK_ADJUSTMENT(adj), accel, digits); ^ In file included from NumericWindow.cc:32:0: TableBuilder.h: In member function 'void TableBuilder::newLine(GtkWidget*, GtkWidget*, double)': TableBuilder.h:57:55: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] gtk_misc_set_alignment (GTK_MISC(left),1,alignment); ^ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c DisplayWindow.cc In file included from ColorSelectionButton.h:32:0, from ColorSelectionButton.cc:30: mygtk.h: In function 'GtkWidget* mygtk_new_spin(double, double, double, double, double, double, int)': mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] GtkObject *adj = gtk_adjustment_new (value, lower, upper, inc1, inc2, 0); ^ mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:63:64: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] return gtk_spin_button_new (GTK_ADJUSTMENT(adj), accel, digits); ^ ColorSelectionButton.cc: In member function 'void ColorSelectionButton::setColor(double, double, double)': ColorSelectionButton.cc:91:24: warning: conversion to 'gushort {aka short unsigned int}' from 'int' may alter its value [-Wconversion] style->bg[i].red = (int) (r*0xffff); ^~~~~~~~~~~~~~~~ ColorSelectionButton.cc:92:24: warning: conversion to 'gushort {aka short unsigned int}' from 'int' may alter its value [-Wconversion] style->bg[i].green = (int) (g*0xffff); ^~~~~~~~~~~~~~~~ ColorSelectionButton.cc:93:24: warning: conversion to 'gushort {aka short unsigned int}' from 'int' may alter its value [-Wconversion] style->bg[i].blue = (int) (b*0xffff); ^~~~~~~~~~~~~~~~ ColorSelectionButton.cc:96:24: warning: conversion to 'gushort {aka short unsigned int}' from 'int' may alter its value [-Wconversion] style->fg[i].red = (int) (r*0xffff); ^~~~~~~~~~~~~~~~ ColorSelectionButton.cc:97:24: warning: conversion to 'gushort {aka short unsigned int}' from 'int' may alter its value [-Wconversion] style->fg[i].green = (int) (g*0xffff); ^~~~~~~~~~~~~~~~ ColorSelectionButton.cc:98:24: warning: conversion to 'gushort {aka short unsigned int}' from 'int' may alter its value [-Wconversion] style->fg[i].blue = (int) (b*0xffff); ^~~~~~~~~~~~~~~~ In file included from IlluminationWindow.h:29:0, from IlluminationWindow.cc:31: mygtk.h: In function 'GtkWidget* mygtk_new_spin(double, double, double, double, double, double, int)': mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] GtkObject *adj = gtk_adjustment_new (value, lower, upper, inc1, inc2, 0); ^ mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:63:64: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] return gtk_spin_button_new (GTK_ADJUSTMENT(adj), accel, digits); ^ In file included from IlluminationWindow.cc:34:0: TableBuilder.h: In member function 'void TableBuilder::newLine(GtkWidget*, GtkWidget*, double)': TableBuilder.h:57:55: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] gtk_misc_set_alignment (GTK_MISC(left),1,alignment); ^ Requester.cc: In function 'void addChoice(const char*, int)': Requester.cc:68:93: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_signal_connect (GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(closeAlert), (gpointer) nr); ^~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c WidgetReadWriter.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c DitherWindow.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c ClipWindow.cc In file included from DisplayWindow.h:31:0, from DisplayWindow.cc:26: mygtk.h: In function 'GtkWidget* mygtk_new_spin(double, double, double, double, double, double, int)': mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] GtkObject *adj = gtk_adjustment_new (value, lower, upper, inc1, inc2, 0); ^ mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:63:64: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] return gtk_spin_button_new (GTK_ADJUSTMENT(adj), accel, digits); ^ In file included from DisplayWindow.h:34:0, from DisplayWindow.cc:26: TableBuilder.h: In member function 'void TableBuilder::newLine(GtkWidget*, GtkWidget*, double)': TableBuilder.h:57:55: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] gtk_misc_set_alignment (GTK_MISC(left),1,alignment); ^ DisplayWindow.cc: In function 'GtkWidget* get_color_spin()': DisplayWindow.cc:64:59: warning: conversion to 'gfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] adj = gtk_adjustment_new (0.0, 0.0, 1.0, 0.001, 0.01, 0.0); ^ DisplayWindow.cc:64:59: warning: conversion to 'gfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] DisplayWindow.cc:65:58: warning: conversion to 'gfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] spin = gtk_spin_button_new (GTK_ADJUSTMENT(adj), 0.01, 3); ^ In file included from WidgetReadWriter.h:29:0, from WidgetReadWriter.cc:28: mygtk.h: In function 'GtkWidget* mygtk_new_spin(double, double, double, double, double, double, int)': mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] GtkObject *adj = gtk_adjustment_new (value, lower, upper, inc1, inc2, 0); ^ mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:63:64: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] return gtk_spin_button_new (GTK_ADJUSTMENT(adj), accel, digits); ^ WidgetReadWriter.cc: In function 'void write_symbol(gpointer, gpointer)': WidgetReadWriter.cc:82:43: warning: conversion to 'int' from 'gfloat {aka float}' may alter its value [-Wfloat-conversion] st->insertInt (name, adj->value ); ~~~~~^~~~~ WidgetReadWriter.cc: In function 'void read_symbol(gpointer, gpointer)': WidgetReadWriter.cc:179:71: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] gtk_spin_button_set_value (GTK_SPIN_BUTTON(widget), st->lookupDouble(name)); ~~~~~~~~~~~~~~~~^~~~~~ WidgetReadWriter.cc:186:60: warning: conversion to 'gfloat {aka float}' from 'int' may alter its value [-Wconversion] gtk_adjustment_set_value( adj,st->lookupInt(name) ); ~~~~~~~~~~~~~^~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c Document.cc In file included from DitherWindow.h:30:0, from DitherWindow.cc:27: mygtk.h: In function 'GtkWidget* mygtk_new_spin(double, double, double, double, double, double, int)': mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] GtkObject *adj = gtk_adjustment_new (value, lower, upper, inc1, inc2, 0); ^ mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:63:64: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] return gtk_spin_button_new (GTK_ADJUSTMENT(adj), accel, digits); ^ In file included from DitherWindow.cc:29:0: TableBuilder.h: In member function 'void TableBuilder::newLine(GtkWidget*, GtkWidget*, double)': TableBuilder.h:57:55: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] gtk_misc_set_alignment (GTK_MISC(left),1,alignment); ^ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c RGBToStandard.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c SaveImageDialog.cc In file included from ClipWindow.h:30:0, from ClipWindow.cc:28: mygtk.h: In function 'GtkWidget* mygtk_new_spin(double, double, double, double, double, double, int)': mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] GtkObject *adj = gtk_adjustment_new (value, lower, upper, inc1, inc2, 0); ^ mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:63:64: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] return gtk_spin_button_new (GTK_ADJUSTMENT(adj), accel, digits); ^ RGBToStandard.cc: In function 'long unsigned int RGBToStandard(float, float, float, XStandardColormap*)': RGBToStandard.cc:38:31: warning: conversion to 'float' from 'long unsigned int' may alter its value [-Wconversion] + ((unsigned long)(0.5+r*m->red_max ))*m->red_mult ~~~^~~~~~~ RGBToStandard.cc:39:31: warning: conversion to 'float' from 'long unsigned int' may alter its value [-Wconversion] + ((unsigned long)(0.5+g*m->green_max))*m->green_mult ~~~^~~~~~~~~ RGBToStandard.cc:40:31: warning: conversion to 'float' from 'long unsigned int' may alter its value [-Wconversion] + ((unsigned long)(0.5+b*m->blue_max ))*m->blue_mult; ~~~^~~~~~~~ In file included from ClipWindow.cc:31:0: TableBuilder.h: In member function 'void TableBuilder::newLine(GtkWidget*, GtkWidget*, double)': TableBuilder.h:57:55: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] gtk_misc_set_alignment (GTK_MISC(left),1,alignment); ^ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../gtkgui -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"/usr/lib64/surf-geometry\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -c PrintImageDialog.cc In file included from ../src/RgbBuffer.h:65:0, from ../mt/TSDrawingArea.h:31, from ../yaccsrc/Script.h:35, from Document.cc:32: ../src/color.h: In member function 'unsigned char colorrgb::getRedByte() const': ../src/color.h:47:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return red >= 1.0 ? 255: (int) (red*255); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getGreenByte() const': ../src/color.h:52:24: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return green >= 1.0 ? 255: (int) (green*255); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/color.h: In member function 'unsigned char colorrgb::getBlueByte() const': ../src/color.h:57:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return blue >= 1.0 ? 255: (int) (blue*255); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ Document.cc: In member function 'void Document::saveAs(const char*)': Document.cc:192:21: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] int length = strlen(text); ~~~~~~^~~~~~ In file included from OptionMenuBuilder.h:29:0, from SaveImageDialog.h:29, from SaveImageDialog.cc:40: mygtk.h: In function 'GtkWidget* mygtk_new_spin(double, double, double, double, double, double, int)': mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] GtkObject *adj = gtk_adjustment_new (value, lower, upper, inc1, inc2, 0); ^ mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:63:64: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] return gtk_spin_button_new (GTK_ADJUSTMENT(adj), accel, digits); ^ In file included from OptionMenuBuilder.h:29:0, from PrintImageDialog.h:40, from PrintImageDialog.cc:39: mygtk.h: In function 'GtkWidget* mygtk_new_spin(double, double, double, double, double, double, int)': mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] GtkObject *adj = gtk_adjustment_new (value, lower, upper, inc1, inc2, 0); ^ mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:62:73: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] mygtk.h:63:64: warning: conversion to 'gfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] return gtk_spin_button_new (GTK_ADJUSTMENT(adj), accel, digits); ^ PrintImageDialog.cc: In member function 'char* PrintImageDialog::getOptionByName(char*, char*)': PrintImageDialog.cc:329:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(strcmp(printer->name, pname) == 0) ^ PrintImageDialog.cc: In member function 'bool PrintImageDialog::getScaling()': PrintImageDialog.cc:414:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ PrintImageDialog.cc: In member function 'bool PrintImageDialog::getFormat()': PrintImageDialog.cc:425:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/gtkgui' make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6' g++ curve/RBTree.o curve/resultant.o curve/RootFinder2d.o curve/RootFinder3d.o curve/DrawCurve.o curve/BigInteger.o misc/welcomeMessage.o misc/Misc.o misc/mystrdup.o drawfunc/Bezier.o drawfunc/Clip.o drawfunc/DrawfuncData.o drawfunc/DrawFunc.o drawfunc/Hornergroup.o drawfunc/Horner.o drawfunc/MappingMatrix.o drawfunc/MultiVariatePolynom.o drawfunc/Position.o drawfunc/Sturmchain.o drawfunc/UniVariatePolynom.o drawfunc/Vector.o drawfunc/HornergroupXY.o drawfunc/HornergroupXYZ.o drawfunc/RationalHornerXY.o image-formats/eps.o image-formats/ps.o image-formats/sun.o image-formats/tiffprint.o image-formats/xbitmap.o image-formats/xwd.o image-formats/jpeg.o src/RGBToNetscape.o src/compfn.o src/cube.o src/float_buffer.o src/gui_config.o src/init_parser.o src/main.o src/oct_quan.o src/RgbBuffer.o src/roots.o src/bit_buffer.o src/SurfaceDataStruct.o src/CanvasDataStruct.o src/symtab.o src/WindowGeometry.o src/antialiasing_factor.o src/stop.o src/Options.o yaccsrc/bezierarith.o yaccsrc/hornerarith.o yaccsrc/monomarith.o yaccsrc/mymemory.o yaccsrc/polyarith.o yaccsrc/polylex.o yaccsrc/polyroot.o yaccsrc/polyyacc.o yaccsrc/simple.o yaccsrc/polyx.o yaccsrc/lexfunc.o yaccsrc/SymbolTable.o yaccsrc/addDefaultSymbols.o yaccsrc/Script.o yaccsrc/ExecuteScriptStruct.o mt/GuiThread.o mt/Thread.o mt/TSDrawingArea.o mt/cthread.o draw/NewClip.o draw/NewClipSphere.o draw/NewClipSphereCentral.o draw/NewClipSphereParallel.o draw/NewClipAlgebraic.o draw/NewClipAlgebraicCube.o draw/NewClipAlgebraicTetra.o draw/NewClipAlgebraicOcta.o draw/NewClipAlgebraicDode.o draw/NewClipAlgebraicIco.o draw/NewClipAlgebraicCyl.o draw/NewClipAlgebraicUser.o draw/NewSimpleClip.o draw/SurfaceCalc.o debug/debug.o dither/dither_brute.o dither/dither_clustered.o dither/dither_dispersed.o dither/dither_floyd_steinberg.o dither/dither_jarvis_judis_ninke.o dither/dither_stucki.o dither/dither_dot_diffusion.o dither/dither_smooth_dot_diffusion.o dither/copy_rgb_to_float.o dither/copy_rgb_to_float_curve.o dither/dither_pixel_radius_adjust.o gtkgui/start.o gtkgui/MainWindowController.o gtkgui/mycolor.o gtkgui/TextWidget.o gtkgui/showAbout.o gtkgui/ProgressDialog.o gtkgui/ColorWindow.o gtkgui/DrawingArea.o gtkgui/PositionWindow.o gtkgui/ConfigurationWindow.o gtkgui/NumericWindow.o gtkgui/ColorSelectionButton.o gtkgui/IlluminationWindow.o gtkgui/Requester.o gtkgui/DisplayWindow.o gtkgui/WidgetReadWriter.o gtkgui/DitherWindow.o gtkgui/ClipWindow.o gtkgui/Document.o gtkgui/RGBToStandard.o gtkgui/mygtk.o gtkgui/SaveImageDialog.o gtkgui/PrintImageDialog.o -o surf -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lXmu -lXext -lXt -lSM -lICE -lX11 -lgmp -ltiff -ljpeg -lz -lm -lcups -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lpthread -lm -lcrypt -lpthread -lfl -L/usr/lib64 -lgtk -lgdk -rdynamic -lgmodule -ldl -lglib -lXi -lXext -lX11 -lm -lcups make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EwkUTm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64 + cd surf-1.0.6 + make DESTDIR=/builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64 install Making install in yaccsrc make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6/yaccsrc' make[2]: Entering directory '/builddir/build/BUILD/surf-1.0.6/yaccsrc' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/yaccsrc' make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/yaccsrc' Making install in src make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6/src' make[2]: Entering directory '/builddir/build/BUILD/surf-1.0.6/src' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/src' make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/src' Making install in image-formats make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6/image-formats' make[2]: Entering directory '/builddir/build/BUILD/surf-1.0.6/image-formats' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/image-formats' make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/image-formats' Making install in drawfunc make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6/drawfunc' make[2]: Entering directory '/builddir/build/BUILD/surf-1.0.6/drawfunc' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/drawfunc' make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/drawfunc' Making install in curve make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6/curve' make[2]: Entering directory '/builddir/build/BUILD/surf-1.0.6/curve' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/curve' make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/curve' Making install in mt make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6/mt' make[2]: Entering directory '/builddir/build/BUILD/surf-1.0.6/mt' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/mt' make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/mt' Making install in draw make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6/draw' make[2]: Entering directory '/builddir/build/BUILD/surf-1.0.6/draw' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/draw' make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/draw' Making install in misc make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6/misc' make[2]: Entering directory '/builddir/build/BUILD/surf-1.0.6/misc' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/misc' make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/misc' Making install in debug make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6/debug' make[2]: Entering directory '/builddir/build/BUILD/surf-1.0.6/debug' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/debug' make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/debug' Making install in dither make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6/dither' make[2]: Entering directory '/builddir/build/BUILD/surf-1.0.6/dither' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/dither' make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/dither' Making install in gtkgui make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6/gtkgui' make[2]: Entering directory '/builddir/build/BUILD/surf-1.0.6/gtkgui' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/gtkgui' make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6/gtkgui' make[1]: Entering directory '/builddir/build/BUILD/surf-1.0.6' make[2]: Entering directory '/builddir/build/BUILD/surf-1.0.6' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/lib64/surf-geometry mkdir /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr mkdir /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/lib64 mkdir /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/lib64/surf-geometry /usr/bin/install -c surf /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/lib64/surf-geometry/surf make install-man1 make[3]: Entering directory '/builddir/build/BUILD/surf-1.0.6' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/share mkdir /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/share/man mkdir /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/share/man/man1 /usr/bin/install -c -m 644 ./surf.1 /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/share/man/man1/surf.1 make[3]: Leaving directory '/builddir/build/BUILD/surf-1.0.6' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/lib64/surf-geometry /usr/bin/install -c -m 644 ./surf.xpm /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/lib64/surf-geometry/surf.xpm make[2]: Leaving directory '/builddir/build/BUILD/surf-1.0.6' make[1]: Leaving directory '/builddir/build/BUILD/surf-1.0.6' + mkdir -p /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/share/modulefiles + sed 's#@BINDIR@#/usr/lib64/surf-geometry#g;' + mv /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/share/man/man1/surf.1 /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/share/man/man1/surf-geometry.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: surf-geometry-1.0.6-19.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kQ4RoQ + umask 022 + cd /builddir/build/BUILD + cd surf-1.0.6 + DOCDIR=/builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/share/doc/surf-geometry + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/share/doc/surf-geometry + cp -pr AUTHORS /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/share/doc/surf-geometry + cp -pr ChangeLog /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/share/doc/surf-geometry + cp -pr NEWS /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/share/doc/surf-geometry + cp -pr README /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/share/doc/surf-geometry + cp -pr TODO /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/share/doc/surf-geometry + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.4xaV3U + umask 022 + cd /builddir/build/BUILD + cd surf-1.0.6 + LICENSEDIR=/builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/share/licenses/surf-geometry + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/share/licenses/surf-geometry + cp -pr COPYING /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64/usr/share/licenses/surf-geometry + exit 0 Provides: surf-geometry = 1.0.6-19.fc28 surf-geometry(riscv-64) = 1.0.6-19.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libICE.so.6()(64bit) libSM.so.6()(64bit) libX11.so.6()(64bit) libXext.so.6()(64bit) libXi.so.6()(64bit) libXmu.so.6()(64bit) libXt.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcom_err.so.2()(64bit) libcrypt.so.1()(64bit) libcups.so.2()(64bit) libdl.so.2()(64bit) libgcc_s.so.1()(64bit) libgdk-1.2.so.0()(64bit) libglib-1.2.so.0()(64bit) libgmodule-1.2.so.0()(64bit) libgmp.so.10()(64bit) libgssapi_krb5.so.2()(64bit) libgtk-1.2.so.0()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libk5crypto.so.3()(64bit) libkrb5.so.3()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtiff.so.5()(64bit) libtiff.so.5(LIBTIFF_4.0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64 Wrote: /builddir/build/SRPMS/surf-geometry-1.0.6-19.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/surf-geometry-1.0.6-19.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.29OUcg + umask 022 + cd /builddir/build/BUILD + cd surf-1.0.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/surf-geometry-1.0.6-19.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff