* Package: x11-misc/3ddesktop-0.2.9-r1 * Repository: gentoo * Maintainer: desktop-misc@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking 3ddesktop-0.2.9.tar.gz to /var/tmp/portage/x11-misc/3ddesktop-0.2.9-r1/work >>> Source unpacked in /var/tmp/portage/x11-misc/3ddesktop-0.2.9-r1/work >>> Preparing source in /var/tmp/portage/x11-misc/3ddesktop-0.2.9-r1/work/3ddesktop-0.2.9 ... * Applying 3ddesktop-0.2.9-gcc4.patch ... [ ok ] * Applying 3ddesktop-0.2.9-asneeded.patch ... [ ok ] * Applying 3ddesktop-0.2.9-missing-include.patch ... [ ok ] * Applying 3ddesktop-0.2.9-gl_init.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/x11-misc/3ddesktop-0.2.9-r1/work/3ddesktop-0.2.9' ... * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --force-missing ... [ ok ] * Running elibtoolize in: 3ddesktop-0.2.9/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-misc/3ddesktop-0.2.9-r1/work/3ddesktop-0.2.9 ... * econf: updating 3ddesktop-0.2.9/config.sub with /usr/share/gnuconfig/config.sub * econf: updating 3ddesktop-0.2.9/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-pc-linux-gnu-g++... none checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E 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 dirent.h that defines DIR... yes checking for library containing opendir... none required checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking for XextCreateExtension in -lXext... yes checking for XF86VidModeSetViewPort in -lXxf86vm... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for main in -lm... yes checking for OpenGL... yes checking for cos in -lm... yes checking for imlib2-config... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking for gettimeofday... yes checking for mkdir... yes checking for strerror... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating 3ddesktop.spec config.status: creating maketar.sh config.status: creating config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-misc/3ddesktop-0.2.9-r1/work/3ddesktop-0.2.9 ... make -j1 make all-am make[1]: Entering directory '/var/tmp/portage/x11-misc/3ddesktop-0.2.9-r1/work/3ddesktop-0.2.9' x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O3 -DQT_CLEAN_NAMESPACE -DSHAREDIR=\"/usr/share/3ddesktop\" -DSYSCONFDIR=\"/etc\" -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -c -o 3ddesk.o 3ddesk.cpp x86_64-pc-linux-gnu-g++ -Wall -O3 -DQT_CLEAN_NAMESPACE -DSHAREDIR=\"/usr/share/3ddesktop\" -DSYSCONFDIR=\"/etc\" -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -Wl,-O1 -Wl,--as-needed -o 3ddesk 3ddesk.o -lm -lXxf86vm -lXext -lSM -lICE -lSM -lICE x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O3 -DQT_CLEAN_NAMESPACE -DSHAREDIR=\"/usr/share/3ddesktop\" -DSYSCONFDIR=\"/etc\" -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -c -o 3ddeskd.o 3ddeskd.cpp In file included from 3ddeskd.cpp:56: face.hpp: In constructor ‘Face::Face(int)’: face.hpp:61:43: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class Point’; use assignment or value-initialization instead [-Wclass-memaccess] 61 | memset (&topleft, 0, sizeof(Point)); | ^ face.hpp:33:7: note: ‘class Point’ declared here 33 | class Point { | ^~~~~ face.hpp:62:44: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class Point’; use assignment or value-initialization instead [-Wclass-memaccess] 62 | memset (&topright, 0, sizeof(Point)); | ^ face.hpp:33:7: note: ‘class Point’ declared here 33 | class Point { | ^~~~~ face.hpp:63:46: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class Point’; use assignment or value-initialization instead [-Wclass-memaccess] 63 | memset (&bottomleft, 0, sizeof(Point)); | ^ face.hpp:33:7: note: ‘class Point’ declared here 33 | class Point { | ^~~~~ face.hpp:64:47: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class Point’; use assignment or value-initialization instead [-Wclass-memaccess] 64 | memset (&bottomright, 0, sizeof(Point)); | ^ face.hpp:33:7: note: ‘class Point’ declared here 33 | class Point { | ^~~~~ face.hpp:65:42: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class Point’; use assignment or value-initialization instead [-Wclass-memaccess] 65 | memset (&normal, 0, sizeof(Point)); | ^ face.hpp:33:7: note: ‘class Point’ declared here 33 | class Point { | ^~~~~ In file included from arrange.hpp:27, from 3ddeskd.cpp:57: faceset.hpp: In constructor ‘FaceSet::FaceSet(int, int)’: faceset.hpp:52:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 52 | msgout (ERROR, "Out of memory: faceset constructor\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ faceset.hpp: In member function ‘void FaceSet::reconfigure(int, int)’: faceset.hpp:74:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 74 | msgout (DEBUG, "uuuu deleted %d\n", i + number_of_faces); | ^~~~~~~~~~~~~~~~~~~ faceset.hpp:83:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 83 | msgout (DEBUG, "uuuu new face %d\n", i + old_num); | ^~~~~~~~~~~~~~~~~~~~ faceset.hpp:86:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 86 | msgout (ERROR, "Out of memory: faceset constructor\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ faceset.hpp: In member function ‘uint FaceSet::get_texture_id(int)’: faceset.hpp:155:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 155 | msgout (ERROR, "BUG: FaceSet::get_texture_id i >= n\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ faceset.hpp: In member function ‘void FaceSet::load_texture_data(int, int, unsigned char*)’: faceset.hpp:163:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 163 | msgout (ERROR, "BUG: FaceSet::load_texture_data i >= n\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ faceset.hpp: In member function ‘void FaceSet::set_list(int, uint)’: faceset.hpp:171:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 171 | msgout (ERROR, "BUG: FaceSet::set_list i >= n\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ faceset.hpp: In member function ‘void FaceSet::set_active(int)’: faceset.hpp:179:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 179 | msgout (ERROR, "BUG: FaceSet::set_active i >= n\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ faceset.hpp: In member function ‘void FaceSet::set_face(int, Point, Point, Point, Point)’: faceset.hpp:187:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 187 | msgout (ERROR, "BUG: FaceSet::set_face i >= n\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from 3ddeskd.cpp:60: event.hpp: In member function ‘void EventManager::add_event(event_t, void (*)(Event*), void*, int)’: event.hpp:133:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 133 | msgout (ERROR, "out of memory: Event\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp: At global scope: 3ddeskd.cpp:105:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 105 | char *TexModesStr[] = {"GL_DECAL","GL_MODULATE","GL_BLEND","GL_REPLACE"}; | ^~~~~~~~~~ 3ddeskd.cpp:105:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 105 | char *TexModesStr[] = {"GL_DECAL","GL_MODULATE","GL_BLEND","GL_REPLACE"}; | ^~~~~~~~~~~~~ 3ddeskd.cpp:105:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 105 | char *TexModesStr[] = {"GL_DECAL","GL_MODULATE","GL_BLEND","GL_REPLACE"}; | ^~~~~~~~~~ 3ddeskd.cpp:105:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 105 | char *TexModesStr[] = {"GL_DECAL","GL_MODULATE","GL_BLEND","GL_REPLACE"}; | ^~~~~~~~~~~~ 3ddeskd.cpp: In function ‘void switch_desktop_on_exit(Event*)’: 3ddeskd.cpp:266:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 266 | msgout (DEBUG, "Doing exit VD switch c=%d r=%d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp: In function ‘void entry_move_start_hook(Event*)’: 3ddeskd.cpp:277:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 277 | msgout (DEBUG, "################ ENTRY START!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp: In function ‘void exit_move_start_hook(Event*)’: 3ddeskd.cpp:290:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 290 | msgout (DEBUG, "################ EXIT START!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp: In function ‘void setup_goto_face(desktop_coords_t, desktop_coords_t, desktop_coords_t)’: 3ddeskd.cpp:306:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 306 | msgout (DEBUG, "**** setting up goto = %d x %d\n", goto_coords.column, goto_coords.row); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:354:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 354 | msgout (DEBUG, "**** complete - going with = %d x %d\n", goto_coords.column, goto_coords.row); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp: In function ‘void calc_fps()’: 3ddeskd.cpp:458:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 458 | msgout(DEBUG, "FPS: %lf\n", framerate); | ^~~~~~~~~~~~ 3ddeskd.cpp: In function ‘void key_pressed(KeySym)’: 3ddeskd.cpp:1243:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1243 | msgout (DEBUG, "glTexEnv mode=%s (%d)\n", TexModesStr[Curr_TexMode], | ^~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:1380:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1380 | msgout (DEBUG, "KP: No action for %ld / 0x%lx.\n", key, key); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp: In function ‘Arrangement* demand_load_arrangement(FaceType_t)’: 3ddeskd.cpp:1447:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1447 | msgout (DEBUG, "DDDDDDDDDDDDDD demand loading %d\n", type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:1482:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1482 | msgout(ERROR, "out of memory\n"); | ^~~~~~~~~~~~~~~~~ 3ddeskd.cpp: In function ‘void set_arrangement(float)’: 3ddeskd.cpp:1506:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1506 | msgout (ERROR, "BUG: Unknown face type (?)\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:1513:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1513 | msgout (ERROR, "BUG: could not demand load arrangement %d!\n", type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp: In function ‘void begin_exit()’: 3ddeskd.cpp:1538:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1538 | msgout (DEBUG, "cant exit in goto....\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:1552:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1552 | msgout (DEBUG, "Doing VD switch c=%d r=%d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp: In function ‘desktop_coords_t wait_for_activation()’: 3ddeskd.cpp:1628:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1628 | msgout (ERROR, "flush failed: %s\n", strerror(errno)); | ^~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:1634:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1634 | msgout (ERROR, "msgrcv failed: %s\n", strerror(errno)); | ^~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:1641:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1641 | msgout (DEBUG, "MSG: %ld\n", msgmgr.msg.mtype); | ^~~~~~~~~~~~ 3ddeskd.cpp:1649:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1649 | msgout(DEBUG, "####### current %d x %d\n", current_col, current_row); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:1654:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1654 | msgout (DEBUG, "-- quiting\n"); | ^~~~~~~~~~~~~~ 3ddeskd.cpp:1665:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1665 | msgout (ERROR, "couldn't grab screen image\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:1689:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1689 | msgout (DEBUG, "acquire sleep is %d\n", msgmgr.msg.acquire_sleep); | ^~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:1694:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1694 | msgout (ERROR, "couldn't grab screen image\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:1735:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1735 | msgout (DEBUG, "Ignoring out of bounds goto column of %d\n", goto_coords.column); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:1744:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1744 | msgout (DEBUG, "Ignoring out of bounds goto row of %d\n", goto_coords.row); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:1750:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1750 | msgout (ERROR, "couldn't grab screen image\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:1763:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1763 | msgout (ERROR, "couldn't grab screen image\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:1791:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1791 | cfg->set_config_set ("default"); | ^~~~~~~~~ 3ddeskd.cpp:1805:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1805 | msgout (DEBUG, "ZOOM is %d\n", cfg->options->entry_exit_movement); | ^~~~~~~~~~~~~~ 3ddeskd.cpp:1841:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1841 | msgout (DEBUG, "Ignoring out of bounds goto column of %d\n", goto_coords.column); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:1853:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1853 | msgout (DEBUG, "Ignoring out of bounds goto row of %d\n", goto_coords.row); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:1878:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1878 | msgout (DEBUG, "++++ column_count changed from %d to %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:1894:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1894 | msgout (ERROR, "Unknown message! mytpe = %d\n", msgmgr.msg.mtype); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:1901:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1901 | msgout (DEBUG, "Activated\n"); | ^~~~~~~~~~~~~ 3ddeskd.cpp: In function ‘void acquire_desktop(int)’: 3ddeskd.cpp:1962:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1962 | msgout (DEBUG, ")))) GRABBING %d x %d\n", current_col, current_row); | ^~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:1965:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1965 | msgout (ERROR, "couldn't grab screen image\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp: In function ‘int main_loop()’: 3ddeskd.cpp:2015:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2015 | msgout (ERROR, "couldn't grab screen image\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:2087:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2087 | msgout(INFO, "Exiting sanely...\n"); | ^~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp: In function ‘void load_digits()’: 3ddeskd.cpp:2178:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2178 | msgout(ERROR, "Error allocating space for image"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:2202:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2202 | msgout (DEBUG, "no digits.bmp found\n"); | ^~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp: In function ‘void load_background_image()’: 3ddeskd.cpp:2253:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2253 | msgout(ERROR, "Error allocating space for image"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:2280:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2280 | msgout (DEBUG, "background image: %s not found\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp: In function ‘void initialize_3ddesktop()’: 3ddeskd.cpp:2328:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2328 | msgout (ERROR, "3ddesktop is already running. bye\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:2333:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2333 | msgout (ERROR, "Failed to initialize display.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:2363:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2363 | "\n" | ^~~~ 2364 | "================================================================\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2365 | "3ddesktop will be acquiring images in one moment. Please wait...\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2366 | "================================================================\n\n"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:2374:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2374 | msgout(ERROR, "Failed to daemonize.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:2404:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2404 | msgout(ERROR, "Could not create message queue! %s\n", strerror(errno)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:2417:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2417 | GLWin.create_GL_window("Enhanced 3-dimensional workspace visualization magic machine", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:2435:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2435 | msgout (ERROR, "Out of memory: face_set\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:2463:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2463 | msgout(DEBUG, "sleeping %d...\n", cfg->options->acquire); | ^~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:2470:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2470 | msgout (ERROR, "couldn't grab screen image\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:2495:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2495 | msgout(ERROR, "Oops, someone beat us to start up!! Amazing!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp: In function ‘int main(int, char**)’: 3ddeskd.cpp:2510:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2510 | msgout (ERROR, "new Config: out of memory\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:2522:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2522 | msgout(DEBUG, "~~~~~ failed to set priority %d\n", cfg->priority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp: In function ‘void load_background_image()’: 3ddeskd.cpp:2264:25: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 100 [-Wformat-overflow=] 2264 | sprintf (filename, "%s", cfg->default_background); | ^~ In file included from /usr/include/stdio.h:867, from 3ddeskd.cpp:34: /usr/include/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 1 and 4096 bytes into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : warning: ‘%s’ directive writing up to 4095 bytes into a region of size 79 [-Wformat-overflow=] 3ddeskd.cpp:2268:28: note: in expansion of macro ‘SHAREDIR’ 2268 | sprintf (filename, SHAREDIR "/%s", cfg->default_background); | ^~~~~~~~ In file included from /usr/include/stdio.h:867, from 3ddeskd.cpp:34: /usr/include/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 22 and 4117 bytes into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:2272:33: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 100 [-Wformat-overflow=] 2272 | sprintf (filename, "%s/%s", cfg->working_dir, | ^~ In file included from /usr/include/stdio.h:867, from 3ddeskd.cpp:34: /usr/include/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 2 and 8192 bytes into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:2277:39: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 98 [-Wformat-overflow=] 2277 | sprintf (filename, "./%s", cfg->default_background); | ^~ In file included from /usr/include/stdio.h:867, from 3ddeskd.cpp:34: /usr/include/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 3 and 4098 bytes into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp: In function ‘void initialize_3ddesktop()’: 3ddeskd.cpp:2187:25: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 100 [-Wformat-overflow=] 2187 | sprintf (filename, "%s/digits.bmp", cfg->options->base_dir); | ^~ In file included from /usr/include/stdio.h:867, from 3ddeskd.cpp:34: /usr/include/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 12 and 4107 bytes into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3ddeskd.cpp:2195:33: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 100 [-Wformat-overflow=] 2195 | sprintf (filename, "%s/digits.bmp", cfg->working_dir); | ^~ In file included from /usr/include/stdio.h:867, from 3ddeskd.cpp:34: /usr/include/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 12 and 4107 bytes into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O3 -DQT_CLEAN_NAMESPACE -DSHAREDIR=\"/usr/share/3ddesktop\" -DSYSCONFDIR=\"/etc\" -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -c -o xutil.o xutil.cpp xutil.cpp: In member function ‘int VDesktops::init(Config*)’: xutil.cpp:56:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 56 | msgout (ERROR, "Can not open display!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ xutil.cpp: In member function ‘void VDesktops::get_vdesktop_info(int*, int*, int*, int*)’: xutil.cpp:94:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 94 | msgout(DEBUG, "vdesktops: sawfish only\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xutil.cpp:100:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 100 | msgout (DEBUG, "vdesktops: EWMH\n"); | ^~~~~~~~~~~~~~~~~~~ xutil.cpp:108:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 108 | msgout(DEBUG, "vdesktops: areas\n"); | ^~~~~~~~~~~~~~~~~~~~ xutil.cpp:124:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 124 | msgout (ERROR, "Could not find more then one virtual desktop!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xutil.cpp:130:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 130 | msgout(DEBUG, "vdesktops: workspaces only\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xutil.cpp:139:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 139 | msgout (DEBUG, "vdesktops: making best guess...\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xutil.cpp:162:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 162 | else msgout (ERROR, "Could not find more then one virtual desktop!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xutil.cpp:171:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 171 | msgout (DEBUG, "c=%d, r=%d, nc=%d, nr=%d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xutil.cpp: In member function ‘void VDesktops::set_vdesktop(int, int)’: xutil.cpp:221:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 221 | msgout (DEBUG, "vdesktops: set: no type predetermined.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xutil.cpp: In member function ‘void VDesktops::gnome_set_current_area(int, int)’: xutil.cpp:334:9: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] 334 | int rc; | ^~ xutil.cpp: In member function ‘void VDesktops::gnome_get_area_info(gnome_area_info*)’: xutil.cpp:369:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 369 | msgout(DEBUG, "get property WIN_AREA failed - setting one\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xutil.cpp:383:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 383 | msgout(DEBUG, "get property WIN_AREA_COUNT failed - setting one\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xutil.cpp: In member function ‘void VDesktops::gnome_set_current_workspace(int)’: xutil.cpp:401:9: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] 401 | int rc; | ^~ xutil.cpp: In member function ‘void VDesktops::gnome_get_workspace_info(gnome_workspace_info*)’: xutil.cpp:432:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 432 | msgout(DEBUG, "get property WIN_WORKSPACE failed - setting one\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xutil.cpp:442:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 442 | msgout(DEBUG, "get property WIN_WORKSPACE_COUNT failed - setting one\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xutil.cpp: In member function ‘void VDesktops::ewmh_set_current_desktop(int)’: xutil.cpp:459:9: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] 459 | int rc; | ^~ xutil.cpp: In member function ‘void VDesktops::ewmh_get_desktop_info(gnome_workspace_info*)’: xutil.cpp:491:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 491 | msgout(DEBUG, "get property _NET_CURRENT_DESKTOP failed - setting one\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xutil.cpp:501:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 501 | msgout(DEBUG, "get property _NET_NUMBER_OF_DESKTOPS failed - setting one\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xutil.cpp: In function ‘int ignore_all_errors_ehandler(Display*, XErrorEvent*)’: xutil.cpp:680:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 680 | msgout (ERROR, "X error\n"); | ^~~~~~~~~~~ xutil.cpp: In member function ‘int VDesktops::sawfish_get_current_workspace()’: xutil.cpp:525:11: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] 525 | fscanf(pipe,"%i",¤t_workspace); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xutil.cpp: In member function ‘int VDesktops::sawfish_get_workspace_count()’: xutil.cpp:543:11: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] 543 | fscanf(pipe,"%i",&workspace_count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xutil.cpp: In member function ‘void VDesktops::sawfish_set_current_workspace(int)’: xutil.cpp:557:11: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result] 557 | system(cmd); | ~~~~~~^~~~~ x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O3 -DQT_CLEAN_NAMESPACE -DSHAREDIR=\"/usr/share/3ddesktop\" -DSYSCONFDIR=\"/etc\" -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -c -o arrange.o arrange.cpp In file included from arrange.hpp:26, from arrange.cpp:30: face.hpp: In constructor ‘Face::Face(int)’: face.hpp:61:43: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class Point’; use assignment or value-initialization instead [-Wclass-memaccess] 61 | memset (&topleft, 0, sizeof(Point)); | ^ face.hpp:33:7: note: ‘class Point’ declared here 33 | class Point { | ^~~~~ face.hpp:62:44: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class Point’; use assignment or value-initialization instead [-Wclass-memaccess] 62 | memset (&topright, 0, sizeof(Point)); | ^ face.hpp:33:7: note: ‘class Point’ declared here 33 | class Point { | ^~~~~ face.hpp:63:46: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class Point’; use assignment or value-initialization instead [-Wclass-memaccess] 63 | memset (&bottomleft, 0, sizeof(Point)); | ^ face.hpp:33:7: note: ‘class Point’ declared here 33 | class Point { | ^~~~~ face.hpp:64:47: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class Point’; use assignment or value-initialization instead [-Wclass-memaccess] 64 | memset (&bottomright, 0, sizeof(Point)); | ^ face.hpp:33:7: note: ‘class Point’ declared here 33 | class Point { | ^~~~~ face.hpp:65:42: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class Point’; use assignment or value-initialization instead [-Wclass-memaccess] 65 | memset (&normal, 0, sizeof(Point)); | ^ face.hpp:33:7: note: ‘class Point’ declared here 33 | class Point { | ^~~~~ In file included from arrange.hpp:27, from arrange.cpp:30: faceset.hpp: In constructor ‘FaceSet::FaceSet(int, int)’: faceset.hpp:52:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 52 | msgout (ERROR, "Out of memory: faceset constructor\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ faceset.hpp: In member function ‘void FaceSet::reconfigure(int, int)’: faceset.hpp:74:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 74 | msgout (DEBUG, "uuuu deleted %d\n", i + number_of_faces); | ^~~~~~~~~~~~~~~~~~~ faceset.hpp:83:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 83 | msgout (DEBUG, "uuuu new face %d\n", i + old_num); | ^~~~~~~~~~~~~~~~~~~~ faceset.hpp:86:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 86 | msgout (ERROR, "Out of memory: faceset constructor\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ faceset.hpp: In member function ‘uint FaceSet::get_texture_id(int)’: faceset.hpp:155:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 155 | msgout (ERROR, "BUG: FaceSet::get_texture_id i >= n\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ faceset.hpp: In member function ‘void FaceSet::load_texture_data(int, int, unsigned char*)’: faceset.hpp:163:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 163 | msgout (ERROR, "BUG: FaceSet::load_texture_data i >= n\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ faceset.hpp: In member function ‘void FaceSet::set_list(int, uint)’: faceset.hpp:171:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 171 | msgout (ERROR, "BUG: FaceSet::set_list i >= n\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ faceset.hpp: In member function ‘void FaceSet::set_active(int)’: faceset.hpp:179:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 179 | msgout (ERROR, "BUG: FaceSet::set_active i >= n\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ faceset.hpp: In member function ‘void FaceSet::set_face(int, Point, Point, Point, Point)’: faceset.hpp:187:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 187 | msgout (ERROR, "BUG: FaceSet::set_face i >= n\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arrange.cpp: In constructor ‘Arrangement::Arrangement(FaceSet*, Config*)’: arrange.cpp:52:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 52 | msgout(DEBUG, "Arrangement constructor\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ arrange.cpp: In member function ‘virtual void LinearArrangement::set_current_face(int, int)’: arrange.cpp:1396:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1396 | msgout (DEBUG, "set_current_face: Y_Trans = %f, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1397 | "current_col=%d, current_row=%d, face_height=%f, " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1398 | "between=%f, hfh=%f\n", Y_Trans, current_col, current_row, | ~~~~~~~~~~~~~~~~~~~~~~ arrange.cpp: In constructor ‘FlipArrangement::FlipArrangement(VDesktops&, float, float, FaceSet*, Config*, Camera*)’: arrange.cpp:1698:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1698 | msgout(ERROR, "out of memory\n"); | ^~~~~~~~~~~~~~~~~ arrange.cpp:1704:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1704 | msgout(ERROR, "out of memory\n"); | ^~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O3 -DQT_CLEAN_NAMESPACE -DSHAREDIR=\"/usr/share/3ddesktop\" -DSYSCONFDIR=\"/etc\" -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -c -o util.o util.cpp util.cpp: In function ‘void msgout(int, char*, ...)’: util.cpp:70:26: error: format not a string literal and no format arguments [-Werror=format-security] 70 | syslog (LOG_ERR, buff); | ^~~~ util.cpp: In function ‘int load_image(char*, unsigned char*, unsigned int*, unsigned int*, int)’: util.cpp:153:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 153 | msgout(ERROR,"Error reading width from %s.\n", filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.cpp:159:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 159 | msgout(DEBUG,"Error: width of %s is %u not %u\n", filename, size_x, *sizex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.cpp:166:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 166 | msgout(ERROR,"Error reading height from %s.\n", filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.cpp:172:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 172 | msgout(DEBUG,"Error: height of %s is %u not %u\n", filename, size_y, *sizey); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.cpp:179:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 179 | msgout(ERROR,"Error reading planes from %s.\n", filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.cpp:185:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 185 | msgout(ERROR,"Planes from %s is not 1: %u\n", filename, planes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.cpp:191:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 191 | msgout(ERROR,"Error reading bpp from %s.\n", filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.cpp:202:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 202 | msgout(ERROR,"Bpp from %s is not 24 or 32: %u\n", filename, bpp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.cpp:221:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 221 | msgout(ERROR,"Out of memory\n"); | ^~~~~~~~~~~~~~~~~ util.cpp:227:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 227 | msgout(ERROR,"Error reading image data from %s.\n", filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.cpp:251:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 251 | if (add_alpha) | ^ util.cpp: In function ‘int check_if_i_am_running()’: util.cpp:363:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 363 | msgout(ERROR,"ftok failed: %d: %s\n", errno, strerror(errno)); | ^~~~~~~~~~~~~~~~~~~~~~~ util.cpp:375:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 375 | msgout(ERROR,"semget (2) failed: %d: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.cpp:382:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 382 | msgout (ERROR, "semctl GETVAL zero failed: %d: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.cpp:392:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 392 | msgout(ERROR, "semget failed: %d: %s\n", errno, strerror(errno)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ util.cpp:406:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 406 | msgout (ERROR, "semctl SETVAL zero failed: %d: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.cpp: In function ‘int flag_that_i_am_running()’: util.cpp:441:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 441 | msgout(ERROR,"ftok failed: %d: %s\n", errno, strerror(errno)); | ^~~~~~~~~~~~~~~~~~~~~~~ util.cpp:454:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 454 | msgout(ERROR,"semget (2) failed: %d: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.cpp:461:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 461 | msgout(ERROR, "semget failed: %d: %s\n", errno, strerror(errno)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ util.cpp:478:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 478 | msgout (ERROR, "semctl SETVAL zero failed: %d: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.cpp:513:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 513 | msgout (ERROR, "semop failed: %d: %s\n", errno, | ^~~~~~~~~~~~~~~~~~~~~~~~ util.cpp: In function ‘int daemon_init()’: util.cpp:693:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 693 | msgout (DEBUG, "daemon init\n"); | ^~~~~~~~~~~~~~~ util.cpp:696:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 696 | msgout (ERROR, "daemon_init: fork failed: %s\n", strerror(errno)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.cpp:699:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 699 | msgout (INFO, "Daemon started. Run 3ddesk to activate.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.cpp: In function ‘void end_program(int)’: util.cpp:727:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 727 | msgout(ERROR, "Could not delete message queue: %s\n", strerror(errno)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.cpp: In function ‘int daemon_init()’: util.cpp:707:11: warning: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result [-Wunused-result] 707 | chdir ("/"); | ~~~~~~^~~~~ cc1plus: some warnings being treated as errors make[1]: *** [Makefile:528: util.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/x11-misc/3ddesktop-0.2.9-r1/work/3ddesktop-0.2.9' make: *** [Makefile:395: all] Error 2 * ERROR: x11-misc/3ddesktop-0.2.9-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-misc/3ddesktop-0.2.9-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-misc/3ddesktop-0.2.9-r1::gentoo'`. * The complete build log is located at '/var/log/portage/x11-misc:3ddesktop-0.2.9-r1:20200325-231612.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-misc/3ddesktop-0.2.9-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-misc/3ddesktop-0.2.9-r1/temp/environment'. * Working directory: '/var/tmp/portage/x11-misc/3ddesktop-0.2.9-r1/work/3ddesktop-0.2.9' * S: '/var/tmp/portage/x11-misc/3ddesktop-0.2.9-r1/work/3ddesktop-0.2.9'