>>> Building on exopi-3 under x11/treewm BDEPENDS = [devel/gmake;devel/imake] DIST = [x11/treewm:treewm-0.4.5.tar.gz] FULLPKGNAME = treewm-0.4.5p9 (Junk lock obtained for exopi-3 at 1764969207.01) >>> Running depends in x11/treewm at 1764969207.07 last junk was in cad/netgen-mesher /usr/sbin/pkg_add -aI -Drepair gmake-4.4.1p0 imake-1.0.10 was: /usr/sbin/pkg_add -aI -Drepair gmake-4.4.1p0 imake-1.0.10 /usr/sbin/pkg_add -aI -Drepair gmake-4.4.1p0 imake-1.0.10 >>> Running show-prepare-results in x11/treewm at 1764969211.82 ===> x11/treewm ===> Building from scratch treewm-0.4.5p9 ===> treewm-0.4.5p9 depends on: imake-* -> imake-1.0.10 ===> treewm-0.4.5p9 depends on: gmake-* -> gmake-4.4.1p0 ===> Verifying specs: ICE SM X11 Xau Xdmcp Xext Xmu Xpm Xt Xxf86vm c m c++ c++abi pthread ===> found ICE.12.0 SM.9.0 X11.19.0 Xau.10.0 Xdmcp.11.0 Xext.13.0 Xmu.11.0 Xpm.10.0 Xt.11.1 Xxf86vm.6.0 c.102.2 m.10.1 c++.12.0 c++abi.9.0 pthread.28.1 gmake-4.4.1p0 imake-1.0.10 (Junk lock released for exopi-3 at 1764969212.55) distfiles size=104108 >>> Running build in x11/treewm at 1764969212.59 ===> x11/treewm ===> Checking files for treewm-0.4.5p9 `/exopi-cvs/ports/distfiles/treewm-0.4.5.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for treewm-0.4.5p9 ===> Patching for treewm-0.4.5p9 ===> Applying OpenBSD patch patch-src_client_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/client.h |--- src/client.h.orig |+++ src/client.h -------------------------- Patching file src/client.h using Plan A... Hunk #1 succeeded at 43. done ===> Applying OpenBSD patch patch-src_resmanager_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/resmanager.h |--- src/resmanager.h.orig |+++ src/resmanager.h -------------------------- Patching file src/resmanager.h using Plan A... Hunk #1 succeeded at 9. done ===> Applying OpenBSD patch patch-src_tile_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/tile.cc.orig |+++ src/tile.cc -------------------------- Patching file src/tile.cc using Plan A... Hunk #1 succeeded at 4. done ===> Applying OpenBSD patch patch-xprop_dsimple_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- xprop/dsimple.c.orig |+++ xprop/dsimple.c -------------------------- Patching file xprop/dsimple.c using Plan A... Hunk #1 succeeded at 32. Hunk #2 succeeded at 70. Hunk #3 succeeded at 86. done ===> Applying OpenBSD patch patch-xprop_xprop_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- xprop/xprop.c.orig |+++ xprop/xprop.c -------------------------- Patching file xprop/xprop.c using Plan A... Hunk #1 succeeded at 46. Hunk #2 succeeded at 584. Hunk #3 succeeded at 1351. Hunk #4 succeeded at 1507. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for treewm-0.4.5p9 ===> Configuring for treewm-0.4.5p9 ===> Building for treewm-0.4.5p9 c++ -O2 -pipe -DSHAPE -DVIDMODE -DPIXMAPS=\"/usr/local/share/treewm/pixmaps/\" -I/usr/X11R6/include -o src/action.o -c src/action.cc In file included from src/action.cc:7: In file included from src/action.h:10: src/global.h:16:17: warning: using directive refers to implicitly-defined namespace 'std' 16 | using namespace std; | ^ In file included from src/action.cc:7: In file included from src/action.h:11: src/resmanager.h:42:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 42 | {"shaded",CF_SHADED}, | ^ src/resmanager.h:43:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | {"autoshade",CF_AUTOSHADE}, | ^ src/resmanager.h:44:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | {"fixedsize",CF_FIXEDSIZE}, | ^ src/resmanager.h:45:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | {"noclose",CF_NOCLOSE}, | ^ src/resmanager.h:46:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | {"nominimize",CF_NOMINIMIZE}, | ^ src/resmanager.h:47:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | {"sticky",CF_STICKY}, | ^ src/resmanager.h:48:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | {"hastitle",CF_HASTITLE}, | ^ src/resmanager.h:49:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | {"hastbentry",CF_HASTBENTRY}, | ^ src/resmanager.h:50:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | {"grabaltclick", CF_GRABALTCLICK}, | ^ src/resmanager.h:51:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | {"passfirstclick", CF_PASSFIRSTCLICK}, | ^ src/resmanager.h:52:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | {"titlebarbuttons",CF_TITLEBARBUTTONS}, | ^ src/resmanager.h:53:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 53 | {"snap",CF_SNAP}, | ^ src/resmanager.h:54:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 54 | {"above",CF_ABOVE}, | ^ src/resmanager.h:55:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 55 | {"below",CF_BELOW}, | ^ src/resmanager.h:56:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 56 | {"hidemouse",CF_HIDEMOUSE}, | ^ src/resmanager.h:57:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | {"raiseonclick", CF_RAISEONCLICK}, | ^ src/resmanager.h:58:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | {"raiseonenter", CF_RAISEONENTER}, | ^ src/resmanager.h:59:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | {"focusonclick", CF_FOCUSONCLICK}, | ^ src/resmanager.h:60:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | {"focusonenter", CF_FOCUSONENTER}, | ^ src/resmanager.h:61:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | {"autoscroll", DF_AUTOSCROLL}, | ^ src/resmanager.h:62:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | {"tile", DF_TILE}, | ^ src/resmanager.h:63:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 63 | {"autoresize",DF_AUTORESIZE}, | ^ src/resmanager.h:64:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | {"taskbarbuttons",DF_TASKBARBUTTONS}, | ^ src/resmanager.h:65:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | {"buttons",CF_TITLEBARBUTTONS | DF_TASKBARBUTTONS}, | ^ src/resmanager.h:66:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | {"grabkeyboard",DF_GRABKEYBOARD} | ^ src/resmanager.h:72:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 72 | {"set",FLAG_SET}, | ^ src/resmanager.h:73:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | {"unset", FLAG_UNSET}, | ^ src/resmanager.h:74:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | {"toggle", FLAG_TOGGLE}, | ^ src/resmanager.h:75:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | {"remove", FLAG_REMOVE}, | ^ src/resmanager.h:76:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | {"dset", FLAG_DSET}, | ^ src/resmanager.h:77:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | {"dunset", FLAG_DUNSET}, | ^ src/resmanager.h:78:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | {"dtoggle", FLAG_DTOGGLE}, | ^ src/resmanager.h:79:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | {"dremove", FLAG_DREMOVE}, | ^ src/resmanager.h:80:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | {"cset", FLAG_CSET}, | ^ src/resmanager.h:81:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | {"cunset", FLAG_CUNSET}, | ^ src/resmanager.h:82:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 82 | {"ctoggle", FLAG_CTOGGLE}, | ^ src/resmanager.h:83:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | {"cremove", FLAG_CREMOVE} | ^ src/action.cc:24:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 24 | if (s && s->GetIntEntry("XIcon",v)) { | ^ src/action.cc:28:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 28 | if (s && s->GetIntEntry("YIcon",v)) { | ^ src/action.cc:33:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 33 | c = s ? s->GetEntry("IconPath") : 0; | ^ src/action.cc:38:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 38 | c = s ? s->GetEntry("Name") : 0; | ^ src/action.cc:46:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | if (s && s->GetIntEntry("AutoStart",v)) | ^ src/action.cc:50:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | if (s && s->GetIntEntry("WM_COMMAND",v)) | ^ src/action.cc:54:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 54 | c = s ? s->GetEntry("regex") : 0; | ^ src/action.cc:60:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | c = s ? s->GetEntry("WM_CLASS") : 0; | ^ src/action.cc:66:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | if (s && s->GetIntEntry("Keep",v) && v) | ^ src/action.cc:70:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 70 | if (s && s->GetIntEntry("Desktop",v)) | ^ src/action.cc:73:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | c = s ? s->GetEntry("Command") : 0; | ^ src/action.cc:79:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | c = s ? s->GetEntry("Client") : 0; | ^ 50 warnings generated. c++ -O2 -pipe -DSHAPE -DVIDMODE -DPIXMAPS=\"/usr/local/share/treewm/pixmaps/\" -I/usr/X11R6/include -o src/client.o -c src/client.cc In file included from src/client.cc:11: In file included from src/client.h:9: src/global.h:16:17: warning: using directive refers to implicitly-defined namespace 'std' 16 | using namespace std; | ^ In file included from src/client.cc:13: In file included from src/sceme.h:7: src/resmanager.h:42:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 42 | {"shaded",CF_SHADED}, | ^ src/resmanager.h:43:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | {"autoshade",CF_AUTOSHADE}, | ^ src/resmanager.h:44:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | {"fixedsize",CF_FIXEDSIZE}, | ^ src/resmanager.h:45:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | {"noclose",CF_NOCLOSE}, | ^ src/resmanager.h:46:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | {"nominimize",CF_NOMINIMIZE}, | ^ src/resmanager.h:47:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | {"sticky",CF_STICKY}, | ^ src/resmanager.h:48:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | {"hastitle",CF_HASTITLE}, | ^ src/resmanager.h:49:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | {"hastbentry",CF_HASTBENTRY}, | ^ src/resmanager.h:50:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | {"grabaltclick", CF_GRABALTCLICK}, | ^ src/resmanager.h:51:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | {"passfirstclick", CF_PASSFIRSTCLICK}, | ^ src/resmanager.h:52:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | {"titlebarbuttons",CF_TITLEBARBUTTONS}, | ^ src/resmanager.h:53:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 53 | {"snap",CF_SNAP}, | ^ src/resmanager.h:54:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 54 | {"above",CF_ABOVE}, | ^ src/resmanager.h:55:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 55 | {"below",CF_BELOW}, | ^ src/resmanager.h:56:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 56 | {"hidemouse",CF_HIDEMOUSE}, | ^ src/resmanager.h:57:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | {"raiseonclick", CF_RAISEONCLICK}, | ^ src/resmanager.h:58:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | {"raiseonenter", CF_RAISEONENTER}, | ^ src/resmanager.h:59:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | {"focusonclick", CF_FOCUSONCLICK}, | ^ src/resmanager.h:60:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | {"focusonenter", CF_FOCUSONENTER}, | ^ src/resmanager.h:61:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | {"autoscroll", DF_AUTOSCROLL}, | ^ src/resmanager.h:62:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | {"tile", DF_TILE}, | ^ src/resmanager.h:63:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 63 | {"autoresize",DF_AUTORESIZE}, | ^ src/resmanager.h:64:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | {"taskbarbuttons",DF_TASKBARBUTTONS}, | ^ src/resmanager.h:65:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | {"buttons",CF_TITLEBARBUTTONS | DF_TASKBARBUTTONS}, | ^ src/resmanager.h:66:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | {"grabkeyboard",DF_GRABKEYBOARD} | ^ src/resmanager.h:72:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 72 | {"set",FLAG_SET}, | ^ src/resmanager.h:73:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | {"unset", FLAG_UNSET}, | ^ src/resmanager.h:74:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | {"toggle", FLAG_TOGGLE}, | ^ src/resmanager.h:75:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | {"remove", FLAG_REMOVE}, | ^ src/resmanager.h:76:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | {"dset", FLAG_DSET}, | ^ src/resmanager.h:77:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | {"dunset", FLAG_DUNSET}, | ^ src/resmanager.h:78:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | {"dtoggle", FLAG_DTOGGLE}, | ^ src/resmanager.h:79:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | {"dremove", FLAG_DREMOVE}, | ^ src/resmanager.h:80:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | {"cset", FLAG_CSET}, | ^ src/resmanager.h:81:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | {"cunset", FLAG_CUNSET}, | ^ src/resmanager.h:82:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 82 | {"ctoggle", FLAG_CTOGGLE}, | ^ src/resmanager.h:83:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | {"cremove", FLAG_CREMOVE} | ^ src/client.cc:143:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 143 | Sc = (Sceme *)rman->GetInfo(SE_SCEME,""); | ^ src/client.cc:274:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 274 | m[i].text = ""; | ^ src/client.cc:1100:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1100 | } else { | ^ src/client.cc:1511:36: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1511 | XMapWindow(dpy, window); else | ^ src/client.cc:1506:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1506 | } else { // R_REMAP | ^ 43 warnings generated. c++ -O2 -pipe -DSHAPE -DVIDMODE -DPIXMAPS=\"/usr/local/share/treewm/pixmaps/\" -I/usr/X11R6/include -o src/clientinfo.o -c src/clientinfo.cc In file included from src/clientinfo.cc:7: In file included from src/clientinfo.h:10: src/global.h:16:17: warning: using directive refers to implicitly-defined namespace 'std' 16 | using namespace std; | ^ In file included from src/clientinfo.cc:7: In file included from src/clientinfo.h:11: src/resmanager.h:42:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 42 | {"shaded",CF_SHADED}, | ^ src/resmanager.h:43:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | {"autoshade",CF_AUTOSHADE}, | ^ src/resmanager.h:44:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | {"fixedsize",CF_FIXEDSIZE}, | ^ src/resmanager.h:45:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | {"noclose",CF_NOCLOSE}, | ^ src/resmanager.h:46:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | {"nominimize",CF_NOMINIMIZE}, | ^ src/resmanager.h:47:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | {"sticky",CF_STICKY}, | ^ src/resmanager.h:48:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | {"hastitle",CF_HASTITLE}, | ^ src/resmanager.h:49:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | {"hastbentry",CF_HASTBENTRY}, | ^ src/resmanager.h:50:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | {"grabaltclick", CF_GRABALTCLICK}, | ^ src/resmanager.h:51:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | {"passfirstclick", CF_PASSFIRSTCLICK}, | ^ src/resmanager.h:52:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | {"titlebarbuttons",CF_TITLEBARBUTTONS}, | ^ src/resmanager.h:53:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 53 | {"snap",CF_SNAP}, | ^ src/resmanager.h:54:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 54 | {"above",CF_ABOVE}, | ^ src/resmanager.h:55:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 55 | {"below",CF_BELOW}, | ^ src/resmanager.h:56:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 56 | {"hidemouse",CF_HIDEMOUSE}, | ^ src/resmanager.h:57:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | {"raiseonclick", CF_RAISEONCLICK}, | ^ src/resmanager.h:58:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | {"raiseonenter", CF_RAISEONENTER}, | ^ src/resmanager.h:59:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | {"focusonclick", CF_FOCUSONCLICK}, | ^ src/resmanager.h:60:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | {"focusonenter", CF_FOCUSONENTER}, | ^ src/resmanager.h:61:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | {"autoscroll", DF_AUTOSCROLL}, | ^ src/resmanager.h:62:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | {"tile", DF_TILE}, | ^ src/resmanager.h:63:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 63 | {"autoresize",DF_AUTORESIZE}, | ^ src/resmanager.h:64:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | {"taskbarbuttons",DF_TASKBARBUTTONS}, | ^ src/resmanager.h:65:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | {"buttons",CF_TITLEBARBUTTONS | DF_TASKBARBUTTONS}, | ^ src/resmanager.h:66:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | {"grabkeyboard",DF_GRABKEYBOARD} | ^ src/resmanager.h:72:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 72 | {"set",FLAG_SET}, | ^ src/resmanager.h:73:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | {"unset", FLAG_UNSET}, | ^ src/resmanager.h:74:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | {"toggle", FLAG_TOGGLE}, | ^ src/resmanager.h:75:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | {"remove", FLAG_REMOVE}, | ^ src/resmanager.h:76:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | {"dset", FLAG_DSET}, | ^ src/resmanager.h:77:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | {"dunset", FLAG_DUNSET}, | ^ src/resmanager.h:78:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | {"dtoggle", FLAG_DTOGGLE}, | ^ src/resmanager.h:79:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | {"dremove", FLAG_DREMOVE}, | ^ src/resmanager.h:80:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | {"cset", FLAG_CSET}, | ^ src/resmanager.h:81:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | {"cunset", FLAG_CUNSET}, | ^ src/resmanager.h:82:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 82 | {"ctoggle", FLAG_CTOGGLE}, | ^ src/resmanager.h:83:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | {"cremove", FLAG_CREMOVE} | ^ src/clientinfo.cc:20:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 20 | c = s ? s->GetEntry("Name") : 0; | ^ src/clientinfo.cc:25:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 25 | if (s && s->GetIntEntry("X",v)) { | ^ src/clientinfo.cc:29:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 29 | if (s && s->GetIntEntry("Y",v)) { | ^ src/clientinfo.cc:33:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 33 | if (s && s->GetIntEntry("Width",v)) { | ^ src/clientinfo.cc:37:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 37 | if (s && s->GetIntEntry("Height",v)) { | ^ src/clientinfo.cc:41:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 41 | if (s && s->GetIntEntry("XIcon",v)) { | ^ src/clientinfo.cc:45:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | if (s && s->GetIntEntry("XIcon",v)) { | ^ src/clientinfo.cc:49:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | if (s && s->GetIntEntry("VirtualX",v) && v>=1) { | ^ src/clientinfo.cc:53:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 53 | if (s && s->GetIntEntry("VirtualY",v) && v>=1) { | ^ src/clientinfo.cc:57:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | c = s ? s->GetEntry("IconPath") : 0; | ^ src/clientinfo.cc:62:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | c = s ? s->GetEntry("BGPixmap") : 0; | ^ src/clientinfo.cc:67:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 67 | c = s ? s->GetEntry("Sceme") : 0; | ^ src/clientinfo.cc:74:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | if (s && s->GetIntEntry("NoBackGround",v) && v) | ^ 51 warnings generated. c++ -O2 -pipe -DSHAPE -DVIDMODE -DPIXMAPS=\"/usr/local/share/treewm/pixmaps/\" -I/usr/X11R6/include -o src/clienttree.o -c src/clienttree.cc In file included from src/clienttree.cc:7: In file included from src/clienttree.h:12: src/global.h:16:17: warning: using directive refers to implicitly-defined namespace 'std' 16 | using namespace std; | ^ In file included from src/clienttree.cc:8: In file included from src/sceme.h:7: src/resmanager.h:42:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 42 | {"shaded",CF_SHADED}, | ^ src/resmanager.h:43:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | {"autoshade",CF_AUTOSHADE}, | ^ src/resmanager.h:44:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | {"fixedsize",CF_FIXEDSIZE}, | ^ src/resmanager.h:45:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | {"noclose",CF_NOCLOSE}, | ^ src/resmanager.h:46:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | {"nominimize",CF_NOMINIMIZE}, | ^ src/resmanager.h:47:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | {"sticky",CF_STICKY}, | ^ src/resmanager.h:48:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | {"hastitle",CF_HASTITLE}, | ^ src/resmanager.h:49:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | {"hastbentry",CF_HASTBENTRY}, | ^ src/resmanager.h:50:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | {"grabaltclick", CF_GRABALTCLICK}, | ^ src/resmanager.h:51:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | {"passfirstclick", CF_PASSFIRSTCLICK}, | ^ src/resmanager.h:52:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | {"titlebarbuttons",CF_TITLEBARBUTTONS}, | ^ src/resmanager.h:53:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 53 | {"snap",CF_SNAP}, | ^ src/resmanager.h:54:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 54 | {"above",CF_ABOVE}, | ^ src/resmanager.h:55:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 55 | {"below",CF_BELOW}, | ^ src/resmanager.h:56:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 56 | {"hidemouse",CF_HIDEMOUSE}, | ^ src/resmanager.h:57:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | {"raiseonclick", CF_RAISEONCLICK}, | ^ src/resmanager.h:58:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | {"raiseonenter", CF_RAISEONENTER}, | ^ src/resmanager.h:59:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | {"focusonclick", CF_FOCUSONCLICK}, | ^ src/resmanager.h:60:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | {"focusonenter", CF_FOCUSONENTER}, | ^ src/resmanager.h:61:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | {"autoscroll", DF_AUTOSCROLL}, | ^ src/resmanager.h:62:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | {"tile", DF_TILE}, | ^ src/resmanager.h:63:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 63 | {"autoresize",DF_AUTORESIZE}, | ^ src/resmanager.h:64:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | {"taskbarbuttons",DF_TASKBARBUTTONS}, | ^ src/resmanager.h:65:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | {"buttons",CF_TITLEBARBUTTONS | DF_TASKBARBUTTONS}, | ^ src/resmanager.h:66:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | {"grabkeyboard",DF_GRABKEYBOARD} | ^ src/resmanager.h:72:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 72 | {"set",FLAG_SET}, | ^ src/resmanager.h:73:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | {"unset", FLAG_UNSET}, | ^ src/resmanager.h:74:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | {"toggle", FLAG_TOGGLE}, | ^ src/resmanager.h:75:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | {"remove", FLAG_REMOVE}, | ^ src/resmanager.h:76:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | {"dset", FLAG_DSET}, | ^ src/resmanager.h:77:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | {"dunset", FLAG_DUNSET}, | ^ src/resmanager.h:78:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | {"dtoggle", FLAG_DTOGGLE}, | ^ src/resmanager.h:79:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | {"dremove", FLAG_DREMOVE}, | ^ src/resmanager.h:80:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | {"cset", FLAG_CSET}, | ^ src/resmanager.h:81:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | {"cunset", FLAG_CUNSET}, | ^ src/resmanager.h:82:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 82 | {"ctoggle", FLAG_CTOGGLE}, | ^ src/resmanager.h:83:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | {"cremove", FLAG_CREMOVE} | ^ src/clienttree.cc:38:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 38 | ClientInfo *ci = (ClientInfo *)rman->GetInfo(SE_CLIENTINFO, "root"); | ^ 39 warnings generated. c++ -O2 -pipe -DSHAPE -DVIDMODE -DPIXMAPS=\"/usr/local/share/treewm/pixmaps/\" -I/usr/X11R6/include -o src/desktop.o -c src/desktop.cc In file included from src/desktop.cc:12: In file included from src/desktop.h:10: src/global.h:16:17: warning: using directive refers to implicitly-defined namespace 'std' 16 | using namespace std; | ^ In file included from src/desktop.cc:15: In file included from src/sceme.h:7: src/resmanager.h:42:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 42 | {"shaded",CF_SHADED}, | ^ src/resmanager.h:43:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | {"autoshade",CF_AUTOSHADE}, | ^ src/resmanager.h:44:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | {"fixedsize",CF_FIXEDSIZE}, | ^ src/resmanager.h:45:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | {"noclose",CF_NOCLOSE}, | ^ src/resmanager.h:46:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | {"nominimize",CF_NOMINIMIZE}, | ^ src/resmanager.h:47:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | {"sticky",CF_STICKY}, | ^ src/resmanager.h:48:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | {"hastitle",CF_HASTITLE}, | ^ src/resmanager.h:49:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | {"hastbentry",CF_HASTBENTRY}, | ^ src/resmanager.h:50:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | {"grabaltclick", CF_GRABALTCLICK}, | ^ src/resmanager.h:51:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | {"passfirstclick", CF_PASSFIRSTCLICK}, | ^ src/resmanager.h:52:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | {"titlebarbuttons",CF_TITLEBARBUTTONS}, | ^ src/resmanager.h:53:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 53 | {"snap",CF_SNAP}, | ^ src/resmanager.h:54:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 54 | {"above",CF_ABOVE}, | ^ src/resmanager.h:55:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 55 | {"below",CF_BELOW}, | ^ src/resmanager.h:56:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 56 | {"hidemouse",CF_HIDEMOUSE}, | ^ src/resmanager.h:57:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | {"raiseonclick", CF_RAISEONCLICK}, | ^ src/resmanager.h:58:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | {"raiseonenter", CF_RAISEONENTER}, | ^ src/resmanager.h:59:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | {"focusonclick", CF_FOCUSONCLICK}, | ^ src/resmanager.h:60:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | {"focusonenter", CF_FOCUSONENTER}, | ^ src/resmanager.h:61:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | {"autoscroll", DF_AUTOSCROLL}, | ^ src/resmanager.h:62:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | {"tile", DF_TILE}, | ^ src/resmanager.h:63:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 63 | {"autoresize",DF_AUTORESIZE}, | ^ src/resmanager.h:64:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | {"taskbarbuttons",DF_TASKBARBUTTONS}, | ^ src/resmanager.h:65:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | {"buttons",CF_TITLEBARBUTTONS | DF_TASKBARBUTTONS}, | ^ src/resmanager.h:66:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | {"grabkeyboard",DF_GRABKEYBOARD} | ^ src/resmanager.h:72:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 72 | {"set",FLAG_SET}, | ^ src/resmanager.h:73:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | {"unset", FLAG_UNSET}, | ^ src/resmanager.h:74:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | {"toggle", FLAG_TOGGLE}, | ^ src/resmanager.h:75:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | {"remove", FLAG_REMOVE}, | ^ src/resmanager.h:76:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | {"dset", FLAG_DSET}, | ^ src/resmanager.h:77:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | {"dunset", FLAG_DUNSET}, | ^ src/resmanager.h:78:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | {"dtoggle", FLAG_DTOGGLE}, | ^ src/resmanager.h:79:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | {"dremove", FLAG_DREMOVE}, | ^ src/resmanager.h:80:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | {"cset", FLAG_CSET}, | ^ src/resmanager.h:81:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | {"cunset", FLAG_CUNSET}, | ^ src/resmanager.h:82:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 82 | {"ctoggle", FLAG_CTOGGLE}, | ^ src/resmanager.h:83:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | {"cremove", FLAG_CREMOVE} | ^ src/desktop.cc:98:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 98 | Sc = (Sceme *)rman->GetInfo(SE_SCEME,""); | ^ src/desktop.cc:501:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 501 | } else { | ^ 40 warnings generated. c++ -O2 -pipe -DSHAPE -DVIDMODE -DPIXMAPS=\"/usr/local/share/treewm/pixmaps/\" -I/usr/X11R6/include -o src/icon.o -c src/icon.cc In file included from src/icon.cc:8: In file included from src/icon.h:9: src/global.h:16:17: warning: using directive refers to implicitly-defined namespace 'std' 16 | using namespace std; | ^ In file included from src/icon.cc:10: In file included from src/sceme.h:7: src/resmanager.h:42:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 42 | {"shaded",CF_SHADED}, | ^ src/resmanager.h:43:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | {"autoshade",CF_AUTOSHADE}, | ^ src/resmanager.h:44:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | {"fixedsize",CF_FIXEDSIZE}, | ^ src/resmanager.h:45:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | {"noclose",CF_NOCLOSE}, | ^ src/resmanager.h:46:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | {"nominimize",CF_NOMINIMIZE}, | ^ src/resmanager.h:47:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | {"sticky",CF_STICKY}, | ^ src/resmanager.h:48:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | {"hastitle",CF_HASTITLE}, | ^ src/resmanager.h:49:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | {"hastbentry",CF_HASTBENTRY}, | ^ src/resmanager.h:50:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | {"grabaltclick", CF_GRABALTCLICK}, | ^ src/resmanager.h:51:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | {"passfirstclick", CF_PASSFIRSTCLICK}, | ^ src/resmanager.h:52:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | {"titlebarbuttons",CF_TITLEBARBUTTONS}, | ^ src/resmanager.h:53:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 53 | {"snap",CF_SNAP}, | ^ src/resmanager.h:54:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 54 | {"above",CF_ABOVE}, | ^ src/resmanager.h:55:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 55 | {"below",CF_BELOW}, | ^ src/resmanager.h:56:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 56 | {"hidemouse",CF_HIDEMOUSE}, | ^ src/resmanager.h:57:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | {"raiseonclick", CF_RAISEONCLICK}, | ^ src/resmanager.h:58:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | {"raiseonenter", CF_RAISEONENTER}, | ^ src/resmanager.h:59:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | {"focusonclick", CF_FOCUSONCLICK}, | ^ src/resmanager.h:60:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | {"focusonenter", CF_FOCUSONENTER}, | ^ src/resmanager.h:61:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | {"autoscroll", DF_AUTOSCROLL}, | ^ src/resmanager.h:62:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | {"tile", DF_TILE}, | ^ src/resmanager.h:63:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 63 | {"autoresize",DF_AUTORESIZE}, | ^ src/resmanager.h:64:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | {"taskbarbuttons",DF_TASKBARBUTTONS}, | ^ src/resmanager.h:65:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | {"buttons",CF_TITLEBARBUTTONS | DF_TASKBARBUTTONS}, | ^ src/resmanager.h:66:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | {"grabkeyboard",DF_GRABKEYBOARD} | ^ src/resmanager.h:72:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 72 | {"set",FLAG_SET}, | ^ src/resmanager.h:73:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | {"unset", FLAG_UNSET}, | ^ src/resmanager.h:74:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | {"toggle", FLAG_TOGGLE}, | ^ src/resmanager.h:75:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | {"remove", FLAG_REMOVE}, | ^ src/resmanager.h:76:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | {"dset", FLAG_DSET}, | ^ src/resmanager.h:77:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | {"dunset", FLAG_DUNSET}, | ^ src/resmanager.h:78:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | {"dtoggle", FLAG_DTOGGLE}, | ^ src/resmanager.h:79:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | {"dremove", FLAG_DREMOVE}, | ^ src/resmanager.h:80:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | {"cset", FLAG_CSET}, | ^ src/resmanager.h:81:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | {"cunset", FLAG_CUNSET}, | ^ src/resmanager.h:82:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 82 | {"ctoggle", FLAG_CTOGGLE}, | ^ src/resmanager.h:83:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | {"cremove", FLAG_CREMOVE} | ^ src/icon.cc:260:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 260 | newname = "Icon"; | ^ 39 warnings generated. c++ -O2 -pipe -DSHAPE -DVIDMODE -DPIXMAPS=\"/usr/local/share/treewm/pixmaps/\" -I/usr/X11R6/include -o src/main.o -c src/main.cc In file included from src/main.cc:7: In file included from src/manager.h:10: src/global.h:16:17: warning: using directive refers to implicitly-defined namespace 'std' 16 | using namespace std; | ^ 1 warning generated. c++ -O2 -pipe -DSHAPE -DVIDMODE -DPIXMAPS=\"/usr/local/share/treewm/pixmaps/\" -I/usr/X11R6/include -o src/manager.o -c src/manager.cc In file included from src/manager.cc:7: In file included from src/desktop.h:10: src/global.h:16:17: warning: using directive refers to implicitly-defined namespace 'std' 16 | using namespace std; | ^ In file included from src/manager.cc:11: src/resmanager.h:42:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 42 | {"shaded",CF_SHADED}, | ^ src/resmanager.h:43:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | {"autoshade",CF_AUTOSHADE}, | ^ src/resmanager.h:44:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | {"fixedsize",CF_FIXEDSIZE}, | ^ src/resmanager.h:45:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | {"noclose",CF_NOCLOSE}, | ^ src/resmanager.h:46:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | {"nominimize",CF_NOMINIMIZE}, | ^ src/resmanager.h:47:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | {"sticky",CF_STICKY}, | ^ src/resmanager.h:48:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | {"hastitle",CF_HASTITLE}, | ^ src/resmanager.h:49:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | {"hastbentry",CF_HASTBENTRY}, | ^ src/resmanager.h:50:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | {"grabaltclick", CF_GRABALTCLICK}, | ^ src/resmanager.h:51:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | {"passfirstclick", CF_PASSFIRSTCLICK}, | ^ src/resmanager.h:52:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | {"titlebarbuttons",CF_TITLEBARBUTTONS}, | ^ src/resmanager.h:53:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 53 | {"snap",CF_SNAP}, | ^ src/resmanager.h:54:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 54 | {"above",CF_ABOVE}, | ^ src/resmanager.h:55:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 55 | {"below",CF_BELOW}, | ^ src/resmanager.h:56:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 56 | {"hidemouse",CF_HIDEMOUSE}, | ^ src/resmanager.h:57:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | {"raiseonclick", CF_RAISEONCLICK}, | ^ src/resmanager.h:58:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | {"raiseonenter", CF_RAISEONENTER}, | ^ src/resmanager.h:59:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | {"focusonclick", CF_FOCUSONCLICK}, | ^ src/resmanager.h:60:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | {"focusonenter", CF_FOCUSONENTER}, | ^ src/resmanager.h:61:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | {"autoscroll", DF_AUTOSCROLL}, | ^ src/resmanager.h:62:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | {"tile", DF_TILE}, | ^ src/resmanager.h:63:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 63 | {"autoresize",DF_AUTORESIZE}, | ^ src/resmanager.h:64:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | {"taskbarbuttons",DF_TASKBARBUTTONS}, | ^ src/resmanager.h:65:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | {"buttons",CF_TITLEBARBUTTONS | DF_TASKBARBUTTONS}, | ^ src/resmanager.h:66:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | {"grabkeyboard",DF_GRABKEYBOARD} | ^ src/resmanager.h:72:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 72 | {"set",FLAG_SET}, | ^ src/resmanager.h:73:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | {"unset", FLAG_UNSET}, | ^ src/resmanager.h:74:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | {"toggle", FLAG_TOGGLE}, | ^ src/resmanager.h:75:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | {"remove", FLAG_REMOVE}, | ^ src/resmanager.h:76:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | {"dset", FLAG_DSET}, | ^ src/resmanager.h:77:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | {"dunset", FLAG_DUNSET}, | ^ src/resmanager.h:78:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | {"dtoggle", FLAG_DTOGGLE}, | ^ src/resmanager.h:79:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | {"dremove", FLAG_DREMOVE}, | ^ src/resmanager.h:80:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | {"cset", FLAG_CSET}, | ^ src/resmanager.h:81:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | {"cunset", FLAG_CUNSET}, | ^ src/resmanager.h:82:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 82 | {"ctoggle", FLAG_CTOGGLE}, | ^ src/resmanager.h:83:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | {"cremove", FLAG_CREMOVE} | ^ 38 warnings generated. c++ -O2 -pipe -DSHAPE -DVIDMODE -DPIXMAPS=\"/usr/local/share/treewm/pixmaps/\" -I/usr/X11R6/include -o src/menu.o -c src/menu.cc In file included from src/menu.cc:7: In file included from src/menu.h:10: src/global.h:16:17: warning: using directive refers to implicitly-defined namespace 'std' 16 | using namespace std; | ^ In file included from src/menu.cc:8: In file included from src/sceme.h:7: src/resmanager.h:42:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 42 | {"shaded",CF_SHADED}, | ^ src/resmanager.h:43:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | {"autoshade",CF_AUTOSHADE}, | ^ src/resmanager.h:44:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | {"fixedsize",CF_FIXEDSIZE}, | ^ src/resmanager.h:45:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | {"noclose",CF_NOCLOSE}, | ^ src/resmanager.h:46:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | {"nominimize",CF_NOMINIMIZE}, | ^ src/resmanager.h:47:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | {"sticky",CF_STICKY}, | ^ src/resmanager.h:48:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | {"hastitle",CF_HASTITLE}, | ^ src/resmanager.h:49:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | {"hastbentry",CF_HASTBENTRY}, | ^ src/resmanager.h:50:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | {"grabaltclick", CF_GRABALTCLICK}, | ^ src/resmanager.h:51:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | {"passfirstclick", CF_PASSFIRSTCLICK}, | ^ src/resmanager.h:52:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | {"titlebarbuttons",CF_TITLEBARBUTTONS}, | ^ src/resmanager.h:53:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 53 | {"snap",CF_SNAP}, | ^ src/resmanager.h:54:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 54 | {"above",CF_ABOVE}, | ^ src/resmanager.h:55:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 55 | {"below",CF_BELOW}, | ^ src/resmanager.h:56:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 56 | {"hidemouse",CF_HIDEMOUSE}, | ^ src/resmanager.h:57:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | {"raiseonclick", CF_RAISEONCLICK}, | ^ src/resmanager.h:58:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | {"raiseonenter", CF_RAISEONENTER}, | ^ src/resmanager.h:59:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | {"focusonclick", CF_FOCUSONCLICK}, | ^ src/resmanager.h:60:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | {"focusonenter", CF_FOCUSONENTER}, | ^ src/resmanager.h:61:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | {"autoscroll", DF_AUTOSCROLL}, | ^ src/resmanager.h:62:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | {"tile", DF_TILE}, | ^ src/resmanager.h:63:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 63 | {"autoresize",DF_AUTORESIZE}, | ^ src/resmanager.h:64:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | {"taskbarbuttons",DF_TASKBARBUTTONS}, | ^ src/resmanager.h:65:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | {"buttons",CF_TITLEBARBUTTONS | DF_TASKBARBUTTONS}, | ^ src/resmanager.h:66:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | {"grabkeyboard",DF_GRABKEYBOARD} | ^ src/resmanager.h:72:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 72 | {"set",FLAG_SET}, | ^ src/resmanager.h:73:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | {"unset", FLAG_UNSET}, | ^ src/resmanager.h:74:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | {"toggle", FLAG_TOGGLE}, | ^ src/resmanager.h:75:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | {"remove", FLAG_REMOVE}, | ^ src/resmanager.h:76:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | {"dset", FLAG_DSET}, | ^ src/resmanager.h:77:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | {"dunset", FLAG_DUNSET}, | ^ src/resmanager.h:78:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | {"dtoggle", FLAG_DTOGGLE}, | ^ src/resmanager.h:79:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | {"dremove", FLAG_DREMOVE}, | ^ src/resmanager.h:80:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | {"cset", FLAG_CSET}, | ^ src/resmanager.h:81:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | {"cunset", FLAG_CUNSET}, | ^ src/resmanager.h:82:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 82 | {"ctoggle", FLAG_CTOGGLE}, | ^ src/resmanager.h:83:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | {"cremove", FLAG_CREMOVE} | ^ 38 warnings generated. c++ -O2 -pipe -DSHAPE -DVIDMODE -DPIXMAPS=\"/usr/local/share/treewm/pixmaps/\" -I/usr/X11R6/include -o src/menuinfo.o -c src/menuinfo.cc In file included from src/menuinfo.cc:7: In file included from src/menuinfo.h:10: In file included from src/resmanager.h:13: src/global.h:16:17: warning: using directive refers to implicitly-defined namespace 'std' 16 | using namespace std; | ^ In file included from src/menuinfo.cc:7: In file included from src/menuinfo.h:10: src/resmanager.h:42:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 42 | {"shaded",CF_SHADED}, | ^ src/resmanager.h:43:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | {"autoshade",CF_AUTOSHADE}, | ^ src/resmanager.h:44:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | {"fixedsize",CF_FIXEDSIZE}, | ^ src/resmanager.h:45:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | {"noclose",CF_NOCLOSE}, | ^ src/resmanager.h:46:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | {"nominimize",CF_NOMINIMIZE}, | ^ src/resmanager.h:47:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | {"sticky",CF_STICKY}, | ^ src/resmanager.h:48:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | {"hastitle",CF_HASTITLE}, | ^ src/resmanager.h:49:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | {"hastbentry",CF_HASTBENTRY}, | ^ src/resmanager.h:50:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | {"grabaltclick", CF_GRABALTCLICK}, | ^ src/resmanager.h:51:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | {"passfirstclick", CF_PASSFIRSTCLICK}, | ^ src/resmanager.h:52:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | {"titlebarbuttons",CF_TITLEBARBUTTONS}, | ^ src/resmanager.h:53:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 53 | {"snap",CF_SNAP}, | ^ src/resmanager.h:54:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 54 | {"above",CF_ABOVE}, | ^ src/resmanager.h:55:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 55 | {"below",CF_BELOW}, | ^ src/resmanager.h:56:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 56 | {"hidemouse",CF_HIDEMOUSE}, | ^ src/resmanager.h:57:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | {"raiseonclick", CF_RAISEONCLICK}, | ^ src/resmanager.h:58:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | {"raiseonenter", CF_RAISEONENTER}, | ^ src/resmanager.h:59:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | {"focusonclick", CF_FOCUSONCLICK}, | ^ src/resmanager.h:60:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | {"focusonenter", CF_FOCUSONENTER}, | ^ src/resmanager.h:61:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | {"autoscroll", DF_AUTOSCROLL}, | ^ src/resmanager.h:62:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | {"tile", DF_TILE}, | ^ src/resmanager.h:63:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 63 | {"autoresize",DF_AUTORESIZE}, | ^ src/resmanager.h:64:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | {"taskbarbuttons",DF_TASKBARBUTTONS}, | ^ src/resmanager.h:65:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | {"buttons",CF_TITLEBARBUTTONS | DF_TASKBARBUTTONS}, | ^ src/resmanager.h:66:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | {"grabkeyboard",DF_GRABKEYBOARD} | ^ src/resmanager.h:72:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 72 | {"set",FLAG_SET}, | ^ src/resmanager.h:73:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | {"unset", FLAG_UNSET}, | ^ src/resmanager.h:74:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | {"toggle", FLAG_TOGGLE}, | ^ src/resmanager.h:75:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | {"remove", FLAG_REMOVE}, | ^ src/resmanager.h:76:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | {"dset", FLAG_DSET}, | ^ src/resmanager.h:77:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | {"dunset", FLAG_DUNSET}, | ^ src/resmanager.h:78:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | {"dtoggle", FLAG_DTOGGLE}, | ^ src/resmanager.h:79:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | {"dremove", FLAG_DREMOVE}, | ^ src/resmanager.h:80:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | {"cset", FLAG_CSET}, | ^ src/resmanager.h:81:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | {"cunset", FLAG_CUNSET}, | ^ src/resmanager.h:82:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 82 | {"ctoggle", FLAG_CTOGGLE}, | ^ src/resmanager.h:83:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | {"cremove", FLAG_CREMOVE} | ^ 38 warnings generated. c++ -O2 -pipe -DSHAPE -DVIDMODE -DPIXMAPS=\"/usr/local/share/treewm/pixmaps/\" -I/usr/X11R6/include -o src/resmanager.o -c src/resmanager.cc In file included from src/resmanager.cc:7: In file included from src/resmanager.h:13: src/global.h:16:17: warning: using directive refers to implicitly-defined namespace 'std' 16 | using namespace std; | ^ In file included from src/resmanager.cc:7: src/resmanager.h:42:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 42 | {"shaded",CF_SHADED}, | ^ src/resmanager.h:43:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | {"autoshade",CF_AUTOSHADE}, | ^ src/resmanager.h:44:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | {"fixedsize",CF_FIXEDSIZE}, | ^ src/resmanager.h:45:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | {"noclose",CF_NOCLOSE}, | ^ src/resmanager.h:46:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | {"nominimize",CF_NOMINIMIZE}, | ^ src/resmanager.h:47:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | {"sticky",CF_STICKY}, | ^ src/resmanager.h:48:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | {"hastitle",CF_HASTITLE}, | ^ src/resmanager.h:49:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | {"hastbentry",CF_HASTBENTRY}, | ^ src/resmanager.h:50:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | {"grabaltclick", CF_GRABALTCLICK}, | ^ src/resmanager.h:51:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | {"passfirstclick", CF_PASSFIRSTCLICK}, | ^ src/resmanager.h:52:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | {"titlebarbuttons",CF_TITLEBARBUTTONS}, | ^ src/resmanager.h:53:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 53 | {"snap",CF_SNAP}, | ^ src/resmanager.h:54:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 54 | {"above",CF_ABOVE}, | ^ src/resmanager.h:55:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 55 | {"below",CF_BELOW}, | ^ src/resmanager.h:56:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 56 | {"hidemouse",CF_HIDEMOUSE}, | ^ src/resmanager.h:57:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | {"raiseonclick", CF_RAISEONCLICK}, | ^ src/resmanager.h:58:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | {"raiseonenter", CF_RAISEONENTER}, | ^ src/resmanager.h:59:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | {"focusonclick", CF_FOCUSONCLICK}, | ^ src/resmanager.h:60:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | {"focusonenter", CF_FOCUSONENTER}, | ^ src/resmanager.h:61:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | {"autoscroll", DF_AUTOSCROLL}, | ^ src/resmanager.h:62:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | {"tile", DF_TILE}, | ^ src/resmanager.h:63:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 63 | {"autoresize",DF_AUTORESIZE}, | ^ src/resmanager.h:64:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | {"taskbarbuttons",DF_TASKBARBUTTONS}, | ^ src/resmanager.h:65:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | {"buttons",CF_TITLEBARBUTTONS | DF_TASKBARBUTTONS}, | ^ src/resmanager.h:66:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | {"grabkeyboard",DF_GRABKEYBOARD} | ^ src/resmanager.h:72:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 72 | {"set",FLAG_SET}, | ^ src/resmanager.h:73:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | {"unset", FLAG_UNSET}, | ^ src/resmanager.h:74:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | {"toggle", FLAG_TOGGLE}, | ^ src/resmanager.h:75:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | {"remove", FLAG_REMOVE}, | ^ src/resmanager.h:76:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | {"dset", FLAG_DSET}, | ^ src/resmanager.h:77:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | {"dunset", FLAG_DUNSET}, | ^ src/resmanager.h:78:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | {"dtoggle", FLAG_DTOGGLE}, | ^ src/resmanager.h:79:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | {"dremove", FLAG_DREMOVE}, | ^ src/resmanager.h:80:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | {"cset", FLAG_CSET}, | ^ src/resmanager.h:81:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | {"cunset", FLAG_CUNSET}, | ^ src/resmanager.h:82:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 82 | {"ctoggle", FLAG_CTOGGLE}, | ^ src/resmanager.h:83:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | {"cremove", FLAG_CREMOVE} | ^ 38 warnings generated. c++ -O2 -pipe -DSHAPE -DVIDMODE -DPIXMAPS=\"/usr/local/share/treewm/pixmaps/\" -I/usr/X11R6/include -o src/sceme.o -c src/sceme.cc In file included from src/sceme.cc:9: src/global.h:16:17: warning: using directive refers to implicitly-defined namespace 'std' 16 | using namespace std; | ^ In file included from src/sceme.cc:10: In file included from src/sceme.h:7: src/resmanager.h:42:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 42 | {"shaded",CF_SHADED}, | ^ src/resmanager.h:43:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | {"autoshade",CF_AUTOSHADE}, | ^ src/resmanager.h:44:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | {"fixedsize",CF_FIXEDSIZE}, | ^ src/resmanager.h:45:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | {"noclose",CF_NOCLOSE}, | ^ src/resmanager.h:46:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | {"nominimize",CF_NOMINIMIZE}, | ^ src/resmanager.h:47:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | {"sticky",CF_STICKY}, | ^ src/resmanager.h:48:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | {"hastitle",CF_HASTITLE}, | ^ src/resmanager.h:49:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | {"hastbentry",CF_HASTBENTRY}, | ^ src/resmanager.h:50:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | {"grabaltclick", CF_GRABALTCLICK}, | ^ src/resmanager.h:51:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | {"passfirstclick", CF_PASSFIRSTCLICK}, | ^ src/resmanager.h:52:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | {"titlebarbuttons",CF_TITLEBARBUTTONS}, | ^ src/resmanager.h:53:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 53 | {"snap",CF_SNAP}, | ^ src/resmanager.h:54:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 54 | {"above",CF_ABOVE}, | ^ src/resmanager.h:55:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 55 | {"below",CF_BELOW}, | ^ src/resmanager.h:56:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 56 | {"hidemouse",CF_HIDEMOUSE}, | ^ src/resmanager.h:57:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | {"raiseonclick", CF_RAISEONCLICK}, | ^ src/resmanager.h:58:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | {"raiseonenter", CF_RAISEONENTER}, | ^ src/resmanager.h:59:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | {"focusonclick", CF_FOCUSONCLICK}, | ^ src/resmanager.h:60:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | {"focusonenter", CF_FOCUSONENTER}, | ^ src/resmanager.h:61:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | {"autoscroll", DF_AUTOSCROLL}, | ^ src/resmanager.h:62:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | {"tile", DF_TILE}, | ^ src/resmanager.h:63:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 63 | {"autoresize",DF_AUTORESIZE}, | ^ src/resmanager.h:64:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | {"taskbarbuttons",DF_TASKBARBUTTONS}, | ^ src/resmanager.h:65:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | {"buttons",CF_TITLEBARBUTTONS | DF_TASKBARBUTTONS}, | ^ src/resmanager.h:66:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | {"grabkeyboard",DF_GRABKEYBOARD} | ^ src/resmanager.h:72:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 72 | {"set",FLAG_SET}, | ^ src/resmanager.h:73:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | {"unset", FLAG_UNSET}, | ^ src/resmanager.h:74:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | {"toggle", FLAG_TOGGLE}, | ^ src/resmanager.h:75:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | {"remove", FLAG_REMOVE}, | ^ src/resmanager.h:76:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | {"dset", FLAG_DSET}, | ^ src/resmanager.h:77:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | {"dunset", FLAG_DUNSET}, | ^ src/resmanager.h:78:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | {"dtoggle", FLAG_DTOGGLE}, | ^ src/resmanager.h:79:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | {"dremove", FLAG_DREMOVE}, | ^ src/resmanager.h:80:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | {"cset", FLAG_CSET}, | ^ src/resmanager.h:81:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | {"cunset", FLAG_CUNSET}, | ^ src/resmanager.h:82:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 82 | {"ctoggle", FLAG_CTOGGLE}, | ^ src/resmanager.h:83:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | {"cremove", FLAG_CREMOVE} | ^ src/sceme.cc:57:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | v = s ? s->GetEntry("FGColor") : 0; | ^ src/sceme.cc:59:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | v = s ? s->GetEntry("BGColor") : 0; | ^ src/sceme.cc:61:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | v = s ? s->GetEntry("BDColor") : 0; | ^ src/sceme.cc:63:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 63 | v = s ? s->GetEntry("TitleBGColor") : 0; | ^ src/sceme.cc:65:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | v = s ? s->GetEntry("HTitleBGColor") : 0; | ^ src/sceme.cc:67:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 67 | v = s ? s->GetEntry("HHTitleBGColor") : 0; | ^ src/sceme.cc:69:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 69 | v = s ? s->GetEntry("IconFGColor") : 0; | ^ src/sceme.cc:71:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 71 | v = s ? s->GetEntry("IconBGColor") : 0; | ^ src/sceme.cc:73:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | v = s ? s->GetEntry("HIconBGColor") : 0; | ^ src/sceme.cc:75:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | v = s ? s->GetEntry("IconBDColor") : 0; | ^ src/sceme.cc:77:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | v = s ? s->GetEntry("MenuFGColor") : 0; | ^ src/sceme.cc:79:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | v = s ? s->GetEntry("MenuBGColor") : 0; | ^ src/sceme.cc:81:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | v = s ? s->GetEntry("HMenuBGColor") : 0; | ^ src/sceme.cc:83:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | v = s ? s->GetEntry("MenuBDColor") : 0; | ^ src/sceme.cc:85:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 85 | v = s ? s->GetEntry("DialogFGColor") : 0; | ^ src/sceme.cc:87:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 87 | v = s ? s->GetEntry("DialogBGColor") : 0; | ^ src/sceme.cc:89:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 89 | v = s ? s->GetEntry("DialogBDColor") : 0; | ^ src/sceme.cc:91:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 91 | v = s ? s->GetEntry("Font") : 0; | ^ src/sceme.cc:93:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 93 | v = s ? s->GetEntry("IconFont") : 0; | ^ src/sceme.cc:96:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 96 | v = s ? s->GetEntry("MenuFont") : 0; | ^ src/sceme.cc:99:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 99 | v = s ? s->GetEntry("DialogFont") : 0; | ^ src/sceme.cc:125:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 125 | v = s ? s->GetEntry("defaulticon") : 0; | ^ src/sceme.cc:135:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 135 | if (s && s->GetIntEntry("borderwidth",i)) { | ^ src/sceme.cc:139:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 139 | v = s ? s->GetEntry("bgpixmap") : 0; | ^ src/sceme.cc:145:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 145 | v = s ? s->GetEntry("button10") : 0; | ^ src/sceme.cc:147:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 147 | v = s ? s->GetEntry("button11") : 0; | ^ src/sceme.cc:149:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 149 | v = s ? s->GetEntry("button12") : 0; | ^ src/sceme.cc:151:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 151 | v = s ? s->GetEntry("button13") : 0; | ^ src/sceme.cc:153:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 153 | v = s ? s->GetEntry("button20") : 0; | ^ src/sceme.cc:155:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 155 | v = s ? s->GetEntry("button21") : 0; | ^ src/sceme.cc:157:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 157 | v = s ? s->GetEntry("button22") : 0; | ^ src/sceme.cc:159:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 159 | v = s ? s->GetEntry("button23") : 0; | ^ src/sceme.cc:166:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 166 | if (!s || !s->GetIntEntry("ShowKeys",i) || i) | ^ src/sceme.cc:171:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 171 | if (!s || !s->GetIntEntry("MinIconX",MinIX)) | ^ src/sceme.cc:173:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 173 | if (!s || !s->GetIntEntry("MinIconY",MinIY)) | ^ src/sceme.cc:175:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 175 | if (!s || !s->GetIntEntry("GridX",GridX)) | ^ src/sceme.cc:177:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 177 | if (!s || !s->GetIntEntry("GridY",GridY)) | ^ src/sceme.cc:179:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 179 | if (!s || !s->GetIntEntry("IconSpaceLeft",ISLeft)) | ^ src/sceme.cc:181:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 181 | if (!s || !s->GetIntEntry("IconSpaceRight",ISRight)) | ^ src/sceme.cc:183:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 183 | if (!s || !s->GetIntEntry("IconSpaceTop",ISTop)) | ^ src/sceme.cc:185:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 185 | if (!s || !s->GetIntEntry("IconSpaceBottom",ISBottom)) | ^ src/sceme.cc:187:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 187 | if (!s || !s->GetIntEntry("DoubleClickTime",i)) | ^ 80 warnings generated. c++ -O2 -pipe -DSHAPE -DVIDMODE -DPIXMAPS=\"/usr/local/share/treewm/pixmaps/\" -I/usr/X11R6/include -o src/textdialog.o -c src/textdialog.cc In file included from src/textdialog.cc:7: In file included from src/textdialog.h:10: src/global.h:16:17: warning: using directive refers to implicitly-defined namespace 'std' 16 | using namespace std; | ^ In file included from src/textdialog.cc:8: In file included from src/sceme.h:7: src/resmanager.h:42:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 42 | {"shaded",CF_SHADED}, | ^ src/resmanager.h:43:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | {"autoshade",CF_AUTOSHADE}, | ^ src/resmanager.h:44:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | {"fixedsize",CF_FIXEDSIZE}, | ^ src/resmanager.h:45:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | {"noclose",CF_NOCLOSE}, | ^ src/resmanager.h:46:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | {"nominimize",CF_NOMINIMIZE}, | ^ src/resmanager.h:47:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | {"sticky",CF_STICKY}, | ^ src/resmanager.h:48:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | {"hastitle",CF_HASTITLE}, | ^ src/resmanager.h:49:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | {"hastbentry",CF_HASTBENTRY}, | ^ src/resmanager.h:50:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | {"grabaltclick", CF_GRABALTCLICK}, | ^ src/resmanager.h:51:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | {"passfirstclick", CF_PASSFIRSTCLICK}, | ^ src/resmanager.h:52:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | {"titlebarbuttons",CF_TITLEBARBUTTONS}, | ^ src/resmanager.h:53:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 53 | {"snap",CF_SNAP}, | ^ src/resmanager.h:54:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 54 | {"above",CF_ABOVE}, | ^ src/resmanager.h:55:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 55 | {"below",CF_BELOW}, | ^ src/resmanager.h:56:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 56 | {"hidemouse",CF_HIDEMOUSE}, | ^ src/resmanager.h:57:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | {"raiseonclick", CF_RAISEONCLICK}, | ^ src/resmanager.h:58:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | {"raiseonenter", CF_RAISEONENTER}, | ^ src/resmanager.h:59:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | {"focusonclick", CF_FOCUSONCLICK}, | ^ src/resmanager.h:60:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | {"focusonenter", CF_FOCUSONENTER}, | ^ src/resmanager.h:61:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | {"autoscroll", DF_AUTOSCROLL}, | ^ src/resmanager.h:62:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | {"tile", DF_TILE}, | ^ src/resmanager.h:63:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 63 | {"autoresize",DF_AUTORESIZE}, | ^ src/resmanager.h:64:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | {"taskbarbuttons",DF_TASKBARBUTTONS}, | ^ src/resmanager.h:65:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | {"buttons",CF_TITLEBARBUTTONS | DF_TASKBARBUTTONS}, | ^ src/resmanager.h:66:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | {"grabkeyboard",DF_GRABKEYBOARD} | ^ src/resmanager.h:72:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 72 | {"set",FLAG_SET}, | ^ src/resmanager.h:73:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | {"unset", FLAG_UNSET}, | ^ src/resmanager.h:74:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | {"toggle", FLAG_TOGGLE}, | ^ src/resmanager.h:75:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | {"remove", FLAG_REMOVE}, | ^ src/resmanager.h:76:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | {"dset", FLAG_DSET}, | ^ src/resmanager.h:77:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | {"dunset", FLAG_DUNSET}, | ^ src/resmanager.h:78:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | {"dtoggle", FLAG_DTOGGLE}, | ^ src/resmanager.h:79:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | {"dremove", FLAG_DREMOVE}, | ^ src/resmanager.h:80:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | {"cset", FLAG_CSET}, | ^ src/resmanager.h:81:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | {"cunset", FLAG_CUNSET}, | ^ src/resmanager.h:82:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 82 | {"ctoggle", FLAG_CTOGGLE}, | ^ src/resmanager.h:83:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | {"cremove", FLAG_CREMOVE} | ^ 38 warnings generated. c++ -O2 -pipe -DSHAPE -DVIDMODE -DPIXMAPS=\"/usr/local/share/treewm/pixmaps/\" -I/usr/X11R6/include -o src/tile.o -c src/tile.cc c++ -O2 -pipe -DSHAPE -DVIDMODE -DPIXMAPS=\"/usr/local/share/treewm/pixmaps/\" -I/usr/X11R6/include -o src/uehandler.o -c src/uehandler.cc In file included from src/uehandler.cc:10: In file included from src/uehandler.h:12: src/global.h:16:17: warning: using directive refers to implicitly-defined namespace 'std' 16 | using namespace std; | ^ In file included from src/uehandler.cc:13: In file included from src/sceme.h:7: src/resmanager.h:42:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 42 | {"shaded",CF_SHADED}, | ^ src/resmanager.h:43:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | {"autoshade",CF_AUTOSHADE}, | ^ src/resmanager.h:44:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | {"fixedsize",CF_FIXEDSIZE}, | ^ src/resmanager.h:45:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | {"noclose",CF_NOCLOSE}, | ^ src/resmanager.h:46:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | {"nominimize",CF_NOMINIMIZE}, | ^ src/resmanager.h:47:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | {"sticky",CF_STICKY}, | ^ src/resmanager.h:48:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | {"hastitle",CF_HASTITLE}, | ^ src/resmanager.h:49:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | {"hastbentry",CF_HASTBENTRY}, | ^ src/resmanager.h:50:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | {"grabaltclick", CF_GRABALTCLICK}, | ^ src/resmanager.h:51:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | {"passfirstclick", CF_PASSFIRSTCLICK}, | ^ src/resmanager.h:52:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | {"titlebarbuttons",CF_TITLEBARBUTTONS}, | ^ src/resmanager.h:53:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 53 | {"snap",CF_SNAP}, | ^ src/resmanager.h:54:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 54 | {"above",CF_ABOVE}, | ^ src/resmanager.h:55:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 55 | {"below",CF_BELOW}, | ^ src/resmanager.h:56:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 56 | {"hidemouse",CF_HIDEMOUSE}, | ^ src/resmanager.h:57:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | {"raiseonclick", CF_RAISEONCLICK}, | ^ src/resmanager.h:58:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | {"raiseonenter", CF_RAISEONENTER}, | ^ src/resmanager.h:59:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | {"focusonclick", CF_FOCUSONCLICK}, | ^ src/resmanager.h:60:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | {"focusonenter", CF_FOCUSONENTER}, | ^ src/resmanager.h:61:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | {"autoscroll", DF_AUTOSCROLL}, | ^ src/resmanager.h:62:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | {"tile", DF_TILE}, | ^ src/resmanager.h:63:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 63 | {"autoresize",DF_AUTORESIZE}, | ^ src/resmanager.h:64:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | {"taskbarbuttons",DF_TASKBARBUTTONS}, | ^ src/resmanager.h:65:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | {"buttons",CF_TITLEBARBUTTONS | DF_TASKBARBUTTONS}, | ^ src/resmanager.h:66:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | {"grabkeyboard",DF_GRABKEYBOARD} | ^ src/resmanager.h:72:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 72 | {"set",FLAG_SET}, | ^ src/resmanager.h:73:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | {"unset", FLAG_UNSET}, | ^ src/resmanager.h:74:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | {"toggle", FLAG_TOGGLE}, | ^ src/resmanager.h:75:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | {"remove", FLAG_REMOVE}, | ^ src/resmanager.h:76:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | {"dset", FLAG_DSET}, | ^ src/resmanager.h:77:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | {"dunset", FLAG_DUNSET}, | ^ src/resmanager.h:78:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | {"dtoggle", FLAG_DTOGGLE}, | ^ src/resmanager.h:79:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | {"dremove", FLAG_DREMOVE}, | ^ src/resmanager.h:80:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | {"cset", FLAG_CSET}, | ^ src/resmanager.h:81:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | {"cunset", FLAG_CUNSET}, | ^ src/resmanager.h:82:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 82 | {"ctoggle", FLAG_CTOGGLE}, | ^ src/resmanager.h:83:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | {"cremove", FLAG_CREMOVE} | ^ src/uehandler.cc:22:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 22 | {"Shaded","shaded",0,0}, | ^ src/uehandler.cc:22:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 22 | {"Shaded","shaded",0,0}, | ^ src/uehandler.cc:23:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 23 | {"AutoShade","autoshade",0,0}, | ^ src/uehandler.cc:23:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 23 | {"AutoShade","autoshade",0,0}, | ^ src/uehandler.cc:24:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 24 | {"Fixed Size","fixedsize",0,0}, | ^ src/uehandler.cc:24:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 24 | {"Fixed Size","fixedsize",0,0}, | ^ src/uehandler.cc:25:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 25 | {"Don't Close","noclose",0,0}, | ^ src/uehandler.cc:25:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 25 | {"Don't Close","noclose",0,0}, | ^ src/uehandler.cc:26:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 26 | {"Don't Minimize","nominimize",0,0}, | ^ src/uehandler.cc:26:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 26 | {"Don't Minimize","nominimize",0,0}, | ^ src/uehandler.cc:27:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 27 | {"Sticky","sticky",0,0}, | ^ src/uehandler.cc:27:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 27 | {"Sticky","sticky",0,0}, | ^ src/uehandler.cc:28:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 28 | {"Title","hastitle",0,0}, | ^ src/uehandler.cc:28:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 28 | {"Title","hastitle",0,0}, | ^ src/uehandler.cc:29:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 29 | {"TaskBar Entry","hastbentry",0,0}, | ^ src/uehandler.cc:29:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 29 | {"TaskBar Entry","hastbentry",0,0}, | ^ src/uehandler.cc:30:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 30 | {"Grab Alt Clicks","grabaltclick",0,0}, | ^ src/uehandler.cc:30:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 30 | {"Grab Alt Clicks","grabaltclick",0,0}, | ^ src/uehandler.cc:31:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 31 | {"Pass First Click","passfirstclick",0,0}, | ^ src/uehandler.cc:31:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 31 | {"Pass First Click","passfirstclick",0,0}, | ^ src/uehandler.cc:32:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 32 | {"TitleBar Buttons","titlebarbuttons",0,0}, | ^ src/uehandler.cc:32:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 32 | {"TitleBar Buttons","titlebarbuttons",0,0}, | ^ src/uehandler.cc:33:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 33 | {"Snap","snap",0,0}, | ^ src/uehandler.cc:33:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 33 | {"Snap","snap",0,0}, | ^ src/uehandler.cc:34:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 34 | {"Always on Top","above",0,0}, | ^ src/uehandler.cc:34:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 34 | {"Always on Top","above",0,0}, | ^ src/uehandler.cc:35:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 35 | {"Below","below",0,0}, | ^ src/uehandler.cc:35:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 35 | {"Below","below",0,0}, | ^ src/uehandler.cc:36:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 36 | {"Hide Mouse","hidemouse",0,0}, | ^ src/uehandler.cc:36:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 36 | {"Hide Mouse","hidemouse",0,0}, | ^ src/uehandler.cc:37:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 37 | {"Raise On Click","raiseonclick",0,0}, | ^ src/uehandler.cc:37:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 37 | {"Raise On Click","raiseonclick",0,0}, | ^ src/uehandler.cc:38:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 38 | {"Raise On Enter","raiseonenter",0,0}, | ^ src/uehandler.cc:38:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 38 | {"Raise On Enter","raiseonenter",0,0}, | ^ src/uehandler.cc:39:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 39 | {"Focus On Click","focusonclick",0,0}, | ^ src/uehandler.cc:39:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 39 | {"Focus On Click","focusonclick",0,0}, | ^ src/uehandler.cc:40:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 40 | {"Focus On Enter","focusonenter",0,0}, | ^ src/uehandler.cc:40:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 40 | {"Focus On Enter","focusonenter",0,0}, | ^ src/uehandler.cc:41:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 41 | {"Buttons","Buttons",0,0}, | ^ src/uehandler.cc:41:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 41 | {"Buttons","Buttons",0,0}, | ^ src/uehandler.cc:42:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 42 | {"TaskBar Buttons","taskbarbuttons",0,0}, | ^ src/uehandler.cc:42:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 42 | {"TaskBar Buttons","taskbarbuttons",0,0}, | ^ src/uehandler.cc:43:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | {"Simultaneous Input","grabkeyboard",0,0}, | ^ src/uehandler.cc:43:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | {"Simultaneous Input","grabkeyboard",0,0}, | ^ src/uehandler.cc:44:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | {"Autoscroll","autoscroll",0,0}, | ^ src/uehandler.cc:44:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | {"Autoscroll","autoscroll",0,0}, | ^ src/uehandler.cc:45:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | {"Tile","tile",0,0}, | ^ src/uehandler.cc:45:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | {"Tile","tile",0,0}, | ^ src/uehandler.cc:46:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | {"Autoresize","autoresize",0,0} | ^ src/uehandler.cc:46:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | {"Autoresize","autoresize",0,0} | ^ src/uehandler.cc:57:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | {"Menu","?",0,0,0}, | ^ src/uehandler.cc:57:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | {"Menu","?",0,0,0}, | ^ src/uehandler.cc:58:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | {"Raise"," ",0,0,0}, | ^ src/uehandler.cc:58:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | {"Raise"," ",0,0,0}, | ^ src/uehandler.cc:59:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | {"Lower","x",0,0,0}, | ^ src/uehandler.cc:59:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | {"Lower","x",0,0,0}, | ^ src/uehandler.cc:60:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | {"Create Desktop","D",0,0,0}, | ^ src/uehandler.cc:60:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | {"Create Desktop","D",0,0,0}, | ^ src/uehandler.cc:61:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | {"Iconify","I",0,0,0}, | ^ src/uehandler.cc:61:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | {"Iconify","I",0,0,0}, | ^ src/uehandler.cc:62:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | {"Shade","S",0,0,0}, | ^ src/uehandler.cc:62:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | {"Shade","S",0,0,0}, | ^ src/uehandler.cc:63:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 63 | {"(Un)Stick","s",0,0,0}, | ^ src/uehandler.cc:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 63 | {"(Un)Stick","s",0,0,0}, | ^ src/uehandler.cc:64:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | {"Maximize Full","M",0,0,0}, | ^ src/uehandler.cc:64:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | {"Maximize Full","M",0,0,0}, | ^ src/uehandler.cc:65:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | {"Maximize Half","m",0,0,0}, | ^ src/uehandler.cc:65:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | {"Maximize Half","m",0,0,0}, | ^ src/uehandler.cc:66:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | {"Maximize to Fullscreen","f",0,0,0}, | ^ src/uehandler.cc:66:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | {"Maximize to Fullscreen","f",0,0,0}, | ^ src/uehandler.cc:67:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 67 | {"Move","c",0,0,0}, | ^ src/uehandler.cc:67:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 67 | {"Move","c",0,0,0}, | ^ src/uehandler.cc:68:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 68 | {"Resize","C",0,0,0}, | ^ src/uehandler.cc:68:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 68 | {"Resize","C",0,0,0}, | ^ src/uehandler.cc:69:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 69 | {"Move Up","a",0,0,0}, | ^ src/uehandler.cc:69:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 69 | {"Move Up","a",0,0,0}, | ^ src/uehandler.cc:70:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 70 | {"Move Down","A",0,0,0}, | ^ src/uehandler.cc:70:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 70 | {"Move Down","A",0,0,0}, | ^ src/uehandler.cc:72:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 72 | {"Add Hole","o",0,0,0}, | ^ src/uehandler.cc:72:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 72 | {"Add Hole","o",0,0,0}, | ^ src/uehandler.cc:73:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | {"Delete Holes","O",0,0,0}, | ^ src/uehandler.cc:73:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | {"Delete Holes","O",0,0,0}, | ^ src/uehandler.cc:75:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | {"Destroy!","Q",0,0,0}, | ^ src/uehandler.cc:75:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | {"Destroy!","Q",0,0,0}, | ^ src/uehandler.cc:76:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | {"Close","q",0,0,0}, | ^ src/uehandler.cc:76:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | {"Close","q",0,0,0}, | ^ src/uehandler.cc:77:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | {"Set Option",":set ",0,0,OMI}, | ^ src/uehandler.cc:77:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | {"Set Option",":set ",0,0,OMI}, | ^ src/uehandler.cc:78:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | {"Unset Option",":unset ",0,0,OMI}, | ^ src/uehandler.cc:78:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | {"Unset Option",":unset ",0,0,OMI}, | ^ src/uehandler.cc:79:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | {"Toggle Option",":toggle ",0,0,OMI}, | ^ src/uehandler.cc:79:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | {"Toggle Option",":toggle ",0,0,OMI}, | ^ src/uehandler.cc:80:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | {"Remove Option",":remove ",0,0,OMI}, | ^ src/uehandler.cc:80:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | {"Remove Option",":remove ",0,0,OMI}, | ^ src/uehandler.cc:82:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 82 | {"Toggle (only me)",":dtoggle ",0,0,OMI}, | ^ src/uehandler.cc:82:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 82 | {"Toggle (only me)",":dtoggle ",0,0,OMI}, | ^ src/uehandler.cc:83:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | {"Remove (only me)",":dremove ",0,0,OMI}, | ^ src/uehandler.cc:83:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | {"Remove (only me)",":dremove ",0,0,OMI}, | ^ src/uehandler.cc:84:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 84 | {"Toggle (children)",":ctoggle ",0,0,OMI}, | ^ src/uehandler.cc:84:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 84 | {"Toggle (children)",":ctoggle ",0,0,OMI}, | ^ src/uehandler.cc:85:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 85 | {"Remove (children)",":cremove ",0,0,OMI}, | ^ src/uehandler.cc:85:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 85 | {"Remove (children)",":cremove ",0,0,OMI}, | ^ src/uehandler.cc:86:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 86 | {"Show/Hide Icons","i",0,0,0}, | ^ src/uehandler.cc:86:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 86 | {"Show/Hide Icons","i",0,0,0}, | ^ src/uehandler.cc:87:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 87 | {"Release Windows","e",0,0,0}, | ^ src/uehandler.cc:87:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 87 | {"Release Windows","e",0,0,0}, | ^ src/uehandler.cc:88:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 88 | {"Rename","+=",0,0,0} | ^ src/uehandler.cc:88:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 88 | {"Rename","+=",0,0,0} | ^ src/uehandler.cc:92:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 92 | {"Menu","?",0,0,0}, | ^ src/uehandler.cc:92:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 92 | {"Menu","?",0,0,0}, | ^ src/uehandler.cc:93:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 93 | {"Execute"," ",0,0,0}, | ^ src/uehandler.cc:93:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 93 | {"Execute"," ",0,0,0}, | ^ src/uehandler.cc:94:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 94 | {"Rename","+=",0,0,0}, | ^ src/uehandler.cc:94:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 94 | {"Rename","+=",0,0,0}, | ^ src/uehandler.cc:95:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 95 | {"Remove","q",0,0,0} | ^ src/uehandler.cc:95:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 95 | {"Remove","q",0,0,0} | ^ src/uehandler.cc:182:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 182 | AddKey(XK_space, Mod1Mask, "+"); | ^ src/uehandler.cc:185:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 185 | AddKey(XK_slash, Mod1Mask, "n"); | ^ src/uehandler.cc:186:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 186 | AddKey(XK_slash, Mod1Mask | ShiftMask, "N"); | ^ src/uehandler.cc:187:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 187 | AddKey(XK_space, Mod1Mask | ShiftMask,"x"); | ^ src/uehandler.cc:188:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 188 | AddKey(XK_space, Mod1Mask | ControlMask, " "); | ^ src/uehandler.cc:189:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 189 | AddKey(XK_space, Mod1Mask | ControlMask | ShiftMask, "X"); | ^ src/uehandler.cc:190:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 190 | AddKey(XK_F3, Mod1Mask, "S"); | ^ src/uehandler.cc:191:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 191 | AddKey(XK_F3, Mod1Mask | ShiftMask, "I"); | ^ src/uehandler.cc:192:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 192 | AddKey(XK_F4, Mod1Mask, "q"); | ^ src/uehandler.cc:193:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 193 | AddKey(XK_F4, Mod1Mask | ShiftMask, "Q"); | ^ src/uehandler.cc:194:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 194 | AddKey(XK_F5, Mod1Mask, "c"); | ^ src/uehandler.cc:195:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 195 | AddKey(XK_F5, Mod1Mask | ShiftMask, "C"); | ^ src/uehandler.cc:196:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 196 | AddKey(XK_F6, Mod1Mask, "m"); | ^ src/uehandler.cc:197:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 197 | AddKey(XK_F6, Mod1Mask | ShiftMask, "M"); | ^ src/uehandler.cc:198:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 198 | AddKey(XK_F7, Mod1Mask, "D"); | ^ src/uehandler.cc:199:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 199 | AddKey(XK_F7, Mod1Mask | ShiftMask, "i"); | ^ src/uehandler.cc:200:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 200 | AddKey(XK_F8, Mod1Mask, "\"a "); | ^ src/uehandler.cc:201:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 201 | AddKey(XK_F8, Mod1Mask | ShiftMask, "\"ad"); | ^ src/uehandler.cc:202:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 202 | AddKey(XK_F9, Mod1Mask, "\"b "); | ^ src/uehandler.cc:203:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 203 | AddKey(XK_F9, Mod1Mask | ShiftMask, "\"bd"); | ^ src/uehandler.cc:204:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 204 | AddKey(XK_F10, Mod1Mask, "\"c "); | ^ src/uehandler.cc:205:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 205 | AddKey(XK_F10, Mod1Mask | ShiftMask, "\"cd"); | ^ src/uehandler.cc:206:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 206 | AddKey(XK_F11, Mod1Mask, "\"d "); | ^ src/uehandler.cc:207:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 207 | AddKey(XK_F11, Mod1Mask | ShiftMask, "\"dd"); | ^ src/uehandler.cc:208:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 208 | AddKey(XK_F12, Mod1Mask, "\"e "); | ^ src/uehandler.cc:209:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 209 | AddKey(XK_F12, Mod1Mask | ShiftMask, "\"ed"); | ^ src/uehandler.cc:211:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 211 | AddKey(XK_Tab, Mod1Mask, "t"); | ^ src/uehandler.cc:212:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 212 | AddKey(XK_Tab, Mod1Mask | ShiftMask, "T"); | ^ src/uehandler.cc:213:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 213 | AddKey(XK_Escape,Mod1Mask,"\x0d"); // ctrl-m | ^ src/uehandler.cc:216:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 216 | AddKey(XK_Left, Mod1Mask, "h"); | ^ src/uehandler.cc:217:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 217 | AddKey(XK_Right, Mod1Mask, "l"); | ^ src/uehandler.cc:218:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 218 | AddKey(XK_Up, Mod1Mask, "k"); | ^ src/uehandler.cc:219:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 219 | AddKey(XK_Down, Mod1Mask, "j"); | ^ src/uehandler.cc:220:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 220 | AddKey(XK_Page_Up, Mod1Mask, "a"); | ^ src/uehandler.cc:221:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 221 | AddKey(XK_Page_Down, Mod1Mask, "A"); | ^ src/uehandler.cc:222:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 222 | AddKey(XK_Left, Mod1Mask | ShiftMask, "H"); | ^ src/uehandler.cc:223:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 223 | AddKey(XK_Right, Mod1Mask | ShiftMask, "L"); | ^ src/uehandler.cc:224:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 224 | AddKey(XK_Up, Mod1Mask | ShiftMask, "K"); | ^ src/uehandler.cc:225:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 225 | AddKey(XK_Down, Mod1Mask | ShiftMask, "J"); | ^ src/uehandler.cc:226:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 226 | AddKey(XK_Left, Mod1Mask | ControlMask, "\x08"); | ^ src/uehandler.cc:227:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 227 | AddKey(XK_Right, Mod1Mask | ControlMask, "\x0c"); | ^ src/uehandler.cc:228:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 228 | AddKey(XK_Up, Mod1Mask | ControlMask, "\x0b"); | ^ src/uehandler.cc:229:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 229 | AddKey(XK_Down, Mod1Mask | ControlMask, "\x0a"); | ^ src/uehandler.cc:371:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 371 | MenuInfo * mi = (MenuInfo *)rman->GetInfo(SE_MENUINFO,""); | ^ src/uehandler.cc:584:22: warning: add explicit braces to avoid dangling else [-Wdangling-else] 584 | motion = true; else | ^ 199 warnings generated. c++ -o src/treewm src/action.o src/client.o src/clientinfo.o src/clienttree.o src/desktop.o src/icon.o src/main.o src/manager.o src/menu.o src/menuinfo.o src/resmanager.o src/sceme.o src/textdialog.o src/tile.o src/uehandler.o -L/usr/X11R6/lib -lXxf86vm -lXpm -lXext -lX11 ld: warning: action.cc(src/action.o:(Action::Init())): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: client.cc(src/client.o:(Client::UpdateName(bool))): warning: strcat() is almost always misused, please use strlcat() ld: warning: manager.cc(src/manager.o:(handle_xerror(_XDisplay*, XErrorEvent*))): warning: sprintf() is often misused, please use snprintf() cd xprop; [ -f Makefile ] || xmkmf; gmake all imake -DUseInstalled -I/usr/local/lib/X11/config gmake[1]: Entering directory '/exopi-obj/pobj/treewm-0.4.5/treewm-0.4.5/xprop' cc -O2 -pipe -I/usr/X11R6/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c -o xprop.o xprop.c xprop.c:74:26: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | tptr = (thunk *) Malloc( sizeof(thunk) ); | ^ xprop.c:81:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | Free_Thunk_List(list) | ^ | int xprop.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xprop.c:85:1: warning: non-void function does not return a value [-Wreturn-type] 85 | } | ^ xprop.c:97:16: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | Fatal_Error("Out of memory!"); | ^ xprop.c:87:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | thunk *Add_Thunk(list, t) | ^ xprop.c:117:23: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | new = (char *) Malloc(length); | ^ xprop.c:109:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | char *Copy_String(string) | ^ xprop.c:130:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | Fatal_Error("Bad format file: Unexpected EOF."); | ^ xprop.c:123:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | int Read_Char(stream) | ^ xprop.c:134:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 134 | Read_White_Space(stream) | ^ | int xprop.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xprop.c:141:1: warning: non-void function does not return a value [-Wreturn-type] 141 | } | ^ xprop.c:153:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | Fatal_Error("Bad format file format: missing dformat."); | ^ xprop.c:158:16: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | Fatal_Error("Bad format file format: dformat too long."); | ^ xprop.c:145:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | char *Read_Quoted(stream) | ^ xprop.c:187:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 187 | Apply_Default_Formats(format, dformat) | ^ | int xprop.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xprop.c:195:1: warning: non-void function does not return a value [-Wreturn-type] 195 | } | ^ xprop.c:197:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 197 | Lookup_Formats(atom, format, dformat) | ^ | int xprop.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xprop.c:213:1: warning: non-void function does not return a value [-Wreturn-type] 213 | } | ^ xprop.c:215:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 215 | Add_Mapping(atom, format, dformat) | ^ | int xprop.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xprop.c:230:1: warning: non-void function does not return a value [-Wreturn-type] 230 | } | ^ xprop.c:414:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 414 | Setup_Mapping() | ^ | int xprop.c:434:1: warning: non-void function does not return a value [-Wreturn-type] 434 | } | ^ xprop.c:436:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | char *GetAtomName(atom) | ^ xprop.c:461:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 461 | Read_Mappings(stream) | ^ | int xprop.c:471:16: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | Fatal_Error("Bad format file format."); | ^ xprop.c:473:20: warning: passing arguments to 'Parse_Atom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | atom = Parse_Atom(name, False); | ^ xprop.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | Read_Mappings(stream) | ^ xprop.c:485:1: warning: non-void function does not return a value [-Wreturn-type] 485 | } | ^ xprop.c:502:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | char *Format_Hex(wrd) | ^ xprop.c:509:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | char *Format_Unsigned(wrd) | ^ xprop.c:516:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | char *Format_Signed(wrd) | ^ xprop.c:524:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | int ignore_errors (dpy, ev) | ^ xprop.c:531:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | char *Format_Atom(atom) | ^ xprop.c:554:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | char *Format_Mask_Word(wrd) | ^ xprop.c:575:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | char *Format_Bool(value) | ^ xprop.c:588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | _put_char(c) | ^ xprop.c:598:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 598 | _format_char(c) | ^ | int xprop.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xprop.c:624:1: warning: non-void function does not return a value [-Wreturn-type] 624 | } | ^ xprop.c:626:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | char *Format_String(string) | ^ xprop.c:650:25: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | data = (char *) Malloc(len+1); | ^ xprop.c:644:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | char *Format_Len_String(string, len) | ^ xprop.c:674:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | char *Skip_Digits(string) | ^ xprop.c:686:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | Fatal_Error("Bad number: %s.", string); | ^ xprop.c:681:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | char *Scan_Long(string, value) | ^ xprop.c:697:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | Fatal_Error("Bad octal number: %s.", string); | ^ xprop.c:692:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | char *Scan_Octal(string, value) | ^ xprop.c:701:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | Atom Parse_Atom(name, only_if_exists) | ^ xprop.c:722:16: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | Fatal_Error("Missing ')'."); | ^ xprop.c:713:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | char *Skip_Past_Right_Paran(string) | ^ xprop.c:742:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | int Is_A_Format(string) | ^ xprop.c:757:16: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | Fatal_Error("bad format: %s", format); | ^ xprop.c:748:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | int Get_Format_Size(format) | ^ xprop.c:771:16: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | Fatal_Error("bad format: %s", format); | ^ xprop.c:762:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | char Get_Format_Char(format, i) | ^ xprop.c:803:16: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | Fatal_Error("bad format character: %c", format_char); | ^ xprop.c:780:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | char *Format_Thunk(t, format_char) | ^ xprop.c:805:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 805 | } | ^ xprop.c:807:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | char *Format_Thunk_I(thunks, format, i) | ^ xprop.c:818:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | long Mask_Word(thunks, format) | ^ xprop.c:836:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | int Is_A_DFormat(string) | ^ xprop.c:843:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | char *Handle_Backslash(dformat) | ^ xprop.c:877:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 877 | char *Handle_Dollar_sign(dformat, thunks, format) | ^ xprop.c:901:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | int Mask_Bit_I(thunks, format, i) | ^ xprop.c:936:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | Fatal_Error("Bad term: %s.", string); | ^ xprop.c:916:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | char *Scan_Term(string, thunks, format, value) | ^ xprop.c:951:16: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | Fatal_Error("Missing ')'"); | ^ xprop.c:941:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | char *Scan_Exp(string, thunks, format, value) | ^ xprop.c:979:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | Fatal_Error("Bad conditional: '(' expected: %s.", dformat); | ^ xprop.c:970:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | char *Handle_Question_Mark(dformat, thunks, format) | ^ xprop.c:988:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 988 | Display_Property(thunks, dformat, format) | ^ | int xprop.c:988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xprop.c:1011:1: warning: non-void function does not return a value [-Wreturn-type] 1011 | } | ^ xprop.c:1019:43: warning: parameter 'signedp' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1019 | long Extract_Value(pointer, length, size, signedp) | ^ 1020 | char **pointer; 1021 | int *length; 1022 | int size; 1023 | { xprop.c:1019:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | long Extract_Value(pointer, length, size, signedp) | ^ xprop.c:1062:14: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | Fatal_Error("can't use format character 's' with any size except 8."); | ^ xprop.c:1053:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | long Extract_Len_String(pointer, length, size, string) | ^ xprop.c:1069:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1069 | thunk *Break_Down_Property(pointer, length, format, size) | ^ xprop.c:1100:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1100 | usage() | ^ | int xprop.c:1130:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1130 | grammar () | ^ | int xprop.c:1151:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1151 | Parse_Format_Mapping(argc, argv) | ^ | int xprop.c:1165:16: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1165 | Fatal_Error("Bad format: %s.", format); | ^ xprop.c:1151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | Parse_Format_Mapping(argc, argv) | ^ xprop.c:1173:1: warning: non-void function does not return a value [-Wreturn-type] 1173 | } | ^ xprop.c:1231:27: warning: passing arguments to 'Setup_Display_And_Screen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1231 | Setup_Display_And_Screen(&argc, argv); | ^ xprop.c:1234:34: warning: passing arguments to 'Select_Window_Args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1234 | target_win = Select_Window_Args(&argc, argv); | ^ xprop.c:1246:17: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | Fatal_Error("unable to open file %s for reading.", name); | ^ xprop.c:1275:19: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1275 | Fatal_Error("unable to open file %s for reading.", argv[0]); | ^ xprop.c:1282:22: warning: passing arguments to 'Open_Font' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1282 | font = Open_Font(argv[0]); | ^ xprop.c:1303:33: warning: passing arguments to 'Select_Window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1303 | target_win = Select_Window(dpy); | ^ xprop.c:1317:21: warning: passing arguments to 'remove_property' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1317 | remove_property (dpy, target_win, remove_propname); | ^ xprop.c:1322:29: warning: passing arguments to 'Handle_Prop_Requests' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1322 | props=Handle_Prop_Requests(argc, argv); | ^ xprop.c:1342:12: warning: passing arguments to 'Show_Prop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1342 | Show_Prop(format, dformat, Format_Atom(event.xproperty.atom)); | ^ xprop.c:1216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | main(argc, argv) | ^ xprop.c:1355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1355 | remove_property (dpy, w, propname) | ^ xprop.c:49:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | void remove_property(); | ^ xprop.c:1382:5: warning: call to undeclared function 'Show_All_Props'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1382 | Show_All_Props(); | ^ xprop.c:1408:14: warning: passing arguments to 'Show_Prop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1408 | Show_Prop(format, dformat, prop); | ^ xprop.c:1371:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1371 | thunk *Handle_Prop_Requests(argc, argv) | ^ xprop.c:1413:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1413 | Show_All_Props() | ^ | int xprop.c:1423:14: warning: passing arguments to 'Show_Prop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1423 | Show_Prop(0, 0, name); | ^ xprop.c:1429:15: warning: passing arguments to 'Show_Prop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | Show_Prop(0, 0, name); | ^ xprop.c:1431:1: warning: non-void function does not return a value [-Wreturn-type] 1431 | } | ^ xprop.c:1433:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1433 | Set_Prop(format, dformat, prop, mode, value) | ^ | int xprop.c:1437:3: warning: call to undeclared function 'outl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1437 | outl("Seting prop %s(%s) using %s mode %c to %s", | ^ xprop.c:1433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1433 | Set_Prop(format, dformat, prop, mode, value) | ^ xprop.c:1439:1: warning: non-void function does not return a value [-Wreturn-type] 1439 | } | ^ xprop.c:1443:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1443 | char *Get_Font_Property_Data_And_Type(atom, length, type, size) | ^ xprop.c:1482:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1482 | Fatal_Error("window id # 0x%lx does not exists!", target_win); | ^ xprop.c:1484:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1484 | Fatal_Error("XGetWindowProperty failed!"); | ^ xprop.c:1463:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1463 | char *Get_Window_Property_Data_And_Type(atom, length, type, size) | ^ xprop.c:1498:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1498 | char *Get_Property_Data_And_Type(atom, length, type, size) | ^ xprop.c:1511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1511 | Show_Prop(format, dformat, prop) | ^ xprop.c:50:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | void Show_Prop(); | ^ 119 warnings generated. cc -O2 -pipe -I/usr/X11R6/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c -o dsimple.o dsimple.c dsimple.c:76:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | Fatal_Error("Out of memory!"); | ^ dsimple.c:70:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | char *Malloc(size) | ^ dsimple.c:95:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | Fatal_Error("Out of memory!"); | ^ dsimple.c:85:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | char *Realloc(ptr, size) | ^ dsimple.c:118:23: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | if (++i >= argc) usage (); | ^ dsimple.c:105:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | char *Get_Display_Name(pargc, argv) | ^ dsimple.c:150:6: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | usage (); | ^ dsimple.c:141:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | Display *Open_Display(display_name) | ^ dsimple.c:165:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | void Setup_Display_And_Screen(argc, argv) | ^ dsimple.c:183:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | Fatal_Error("Unable to open font %s!", name); | ^ dsimple.c:177:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | XFontStruct *Open_Font(name) | ^ dsimple.c:207:16: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | Fatal_Error("Can't open file %s!", filename); | ^ dsimple.c:209:16: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | Fatal_Error("file %s: Bad bitmap format.", filename); | ^ dsimple.c:211:16: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | Fatal_Error("Out of memory!"); | ^ dsimple.c:202:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | static void _bitmap_error(status, filename) | ^ dsimple.c:214:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | Pixmap ReadBitmapFile(d, filename, width, height, x_hot, y_hot) | ^ dsimple.c:236:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | void WriteBitmapFile(filename, bitmap, width, height, x_hot, y_hot) | ^ dsimple.c:300:4: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 300 | NXTOPT; | ^ dsimple.c:285:39: note: expanded from macro 'NXTOPT' 285 | #define NXTOPT if (++argv, --argc==0) usage() | ^ dsimple.c:301:24: warning: passing arguments to 'Window_With_Name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | w = Window_With_Name(dpy, RootWindow(dpy, screen), | ^ dsimple.c:304:17: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | Fatal_Error("No window with name %s exists!",OPTION); | ^ dsimple.c:308:4: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 308 | NXTOPT; | ^ dsimple.c:285:39: note: expanded from macro 'NXTOPT' 285 | #define NXTOPT if (++argv, --argc==0) usage() | ^ dsimple.c:314:17: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | Fatal_Error("Invalid window id format: %s.", OPTION); | ^ dsimple.c:272:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | Window Select_Window_Args(rargc, argv) | ^ dsimple.c:363:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | Fatal_Error("Bad color format '%s'.", name); | ^ dsimple.c:366:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | Fatal_Error("XAllocColor failed!"); | ^ dsimple.c:342:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | unsigned long Resolve_Color(w, name) | ^ dsimple.c:42:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | unsigned long Resolve_Color(); | ^ dsimple.c:378:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | Pixmap Bitmap_To_Pixmap(dpy, d, gc, bitmap, width, height) | ^ dsimple.c:43:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | Pixmap Bitmap_To_Pixmap(); | ^ dsimple.c:406:3: warning: call to undeclared function 'outl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 406 | outl("blip!"); | ^ dsimple.c:443:41: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | if (status != GrabSuccess) Fatal_Error("Can't grab the mouse."); | ^ dsimple.c:427:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | Window Select_Window(dpy) | ^ dsimple.c:44:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | Window Select_Window(); | ^ dsimple.c:478:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | Window Window_With_Name(dpy, top, name) | ^ dsimple.c:47:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | Window Window_With_Name(); | ^ dsimple.c:511:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 511 | outl(msg, arg0,arg1,arg2,arg3,arg4,arg5,arg6) | ^ | int dsimple.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dsimple.c:519:1: warning: non-void function does not return a value [-Wreturn-type] 519 | } | ^ dsimple.c:527:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | void Fatal_Error(msg, arg0,arg1,arg2,arg3,arg4,arg5,arg6) | ^ dsimple.c:48:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | void Fatal_Error(); | ^ 40 warnings generated. rm -f xprop cc -o xprop -O2 -pipe -L/usr/X11R6/lib xprop.o dsimple.o -lXmu -lXt -lSM -lICE -lXext -lX11 -lXdmcp -lXau -lXext -lX11 -lXdmcp -lXau -Wl,-rpath,/usr/X11R6/lib ld: warning: xprop.c(xprop.o:(Format_Hex)): warning: sprintf() is often misused, please use snprintf() ld: warning: xprop.c(xprop.o:(Format_Mask_Word)): warning: strcat() is almost always misused, please use strlcat() rm -f xprop._man if test -z "" ; then \ cd `dirname xprop` && \ ln -s `basename xprop.man` `basename xprop._man`; \ else \ /usr/libexec/cpp -undef -traditional -D__apploaddir__=/usr/X11R6/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/X11R6 -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/X11R6/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" \ < xprop.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xprop._man; \ fi gmake[1]: Leaving directory '/exopi-obj/pobj/treewm-0.4.5/treewm-0.4.5/xprop' cd xkill; [ -f Makefile ] || xmkmf; gmake all imake -DUseInstalled -I/usr/local/lib/X11/config gmake[1]: Entering directory '/exopi-obj/pobj/treewm-0.4.5/treewm-0.4.5/xkill' cc -O2 -pipe -I/usr/X11R6/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c -o xkill.o xkill.c xkill.c:58:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 58 | Exit (code) | ^ | int xkill.c:64:5: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | exit (code); | ^ xkill.c:64:5: note: include the header or explicitly provide a declaration for 'exit' xkill.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | Exit (code) | ^ xkill.c:67:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 67 | usage () | ^ | int xkill.c:86:1: warning: non-void function does not return a value [-Wreturn-type] 86 | } | ^ xkill.c:115:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 115 | main (argc, argv) | ^ | int xkill.c:141:17: warning: passing arguments to 'parse_id' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | id = parse_id (argv[i]); | ^ xkill.c:170:26: warning: passing arguments to 'verify_okay_to_kill' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | if (verify_okay_to_kill (dpy, screenno)) | ^ xkill.c:171:4: warning: call to undeclared function 'kill_all_windows'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | kill_all_windows (dpy, screenno, top); | ^ xkill.c:185:25: warning: passing arguments to 'parse_button' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | else if (!parse_button (button_name, &button)) { | ^ xkill.c:219:26: warning: passing arguments to 'get_window_id' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | if ((id = get_window_id (dpy, screenno, button, | ^ xkill.c:230:13: warning: call to undeclared function 'wm_state_set'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 230 | if (! wm_state_set(dpy, id) && wm_running(dpy, screenno)) | ^ xkill.c:230:38: warning: call to undeclared function 'wm_running'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 230 | if (! wm_state_set(dpy, id) && wm_running(dpy, screenno)) | ^ xkill.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | main (argc, argv) | ^ xkill.c:275:16: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 275 | *buttonp = atoi (s); | ^ xkill.c:248:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | int parse_button (s, buttonp) | ^ xkill.c:56:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | int parse_button(), verify_okay_to_kill(); | ^ xkill.c:280:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | XID parse_id (s) | ^ xkill.c:55:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | XID parse_id(), get_window_id(); | ^ xkill.c:308:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | XID get_window_id (dpy, screen, button, msg) | ^ xkill.c:55:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | XID parse_id(), get_window_id(); | ^ xkill.c:374:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | int catch_window_errors (dpy, ev) | ^ xkill.c:381:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | int kill_all_windows (dpy, screenno, top) | ^ xkill.c:422:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | int verify_okay_to_kill (dpy, screenno) | ^ xkill.c:56:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | int parse_button(), verify_okay_to_kill(); | ^ xkill.c:454:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | Bool wm_state_set(dpy, win) | ^ xkill.c:478:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | Bool wm_running(dpy, screenno) | ^ 27 warnings generated. rm -f xkill cc -o xkill -O2 -pipe -L/usr/X11R6/lib xkill.o -lXmu -lXt -lSM -lICE -lXext -lX11 -lXdmcp -lXau -lXext -lX11 -lXdmcp -lXau -Wl,-rpath,/usr/X11R6/lib rm -f xkill._man if test -z "" ; then \ cd `dirname xkill` && \ ln -s `basename xkill.man` `basename xkill._man`; \ else \ /usr/libexec/cpp -undef -traditional -D__apploaddir__=/usr/X11R6/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/X11R6 -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/X11R6/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" \ < xkill.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xkill._man; \ fi gmake[1]: Leaving directory '/exopi-obj/pobj/treewm-0.4.5/treewm-0.4.5/xkill' >>> Running package in x11/treewm at 1764969243.57 ===> x11/treewm ===> Faking installation for treewm-0.4.5p9 cd xprop; [ -f Makefile ] || xmkmf; gmake all gmake[1]: Entering directory '/exopi-obj/pobj/treewm-0.4.5/treewm-0.4.5/xprop' gmake[1]: Nothing to be done for 'all'. gmake[1]: Leaving directory '/exopi-obj/pobj/treewm-0.4.5/treewm-0.4.5/xprop' cd xkill; [ -f Makefile ] || xmkmf; gmake all gmake[1]: Entering directory '/exopi-obj/pobj/treewm-0.4.5/treewm-0.4.5/xkill' gmake[1]: Nothing to be done for 'all'. gmake[1]: Leaving directory '/exopi-obj/pobj/treewm-0.4.5/treewm-0.4.5/xkill' install -d /exopi-obj/pobj/treewm-0.4.5/fake-amd64/usr/local/bin /exopi-obj/pobj/treewm-0.4.5/fake-amd64/usr/local/share/treewm/pixmaps /exopi-obj/pobj/treewm-0.4.5/fake-amd64/usr/local/share/doc/treewm install src/treewm /exopi-obj/pobj/treewm-0.4.5/fake-amd64/usr/local/bin/ for PROG in xprop/xprop xkill/xkill; do \ NAME="`basename $PROG`"; \ install $PROG /exopi-obj/pobj/treewm-0.4.5/fake-amd64/usr/local/bin/$NAME-treewm || true; \ done install -m 644 ChangeLog PROBLEMS README README.tiling /exopi-obj/pobj/treewm-0.4.5/fake-amd64/usr/local/share/doc/treewm/ install -m 644 src/pixmaps/close.xpm src/pixmaps/icon.xpm src/pixmaps/max1.xpm src/pixmaps/max2.xpm src/pixmaps/move.xpm src/pixmaps/none1.xpm src/pixmaps/none2.xpm src/pixmaps/resize.xpm /exopi-obj/pobj/treewm-0.4.5/fake-amd64/usr/local/share/treewm/pixmaps/ /exopi-obj/pobj/treewm-0.4.5/bin/install -d -m 755 /exopi-obj/pobj/treewm-0.4.5/fake-amd64/usr/local/share/examples/treewm /exopi-obj/pobj/treewm-0.4.5/bin/install -c -m 644 /exopi-obj/pobj/treewm-0.4.5/treewm-0.4.5/default.cfg /exopi-obj/pobj/treewm-0.4.5/treewm-0.4.5/sample.cfg /exopi-obj/pobj/treewm-0.4.5/fake-amd64/usr/local/share/examples/treewm ===> Building package for treewm-0.4.5p9 Create /exopi-cvs/ports/packages/amd64/all/treewm-0.4.5p9.tgz Creating package treewm-0.4.5p9 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|* | 2% checksumming|*** | 5% checksumming|**** | 7% checksumming|****** | 9% checksumming|******* | 12% checksumming|********* | 14% checksumming|********** | 16% checksumming|*********** | 19% checksumming|************* | 21% checksumming|************** | 23% checksumming|**************** | 26% checksumming|***************** | 28% checksumming|****************** | 30% checksumming|******************** | 33% checksumming|********************* | 35% checksumming|*********************** | 37% checksumming|************************ | 40% checksumming|************************** | 42% checksumming|*************************** | 44% checksumming|**************************** | 47% checksumming|****************************** | 49% checksumming|******************************* | 51% checksumming|********************************* | 53% checksumming|********************************** | 56% checksumming|*********************************** | 58% checksumming|************************************* | 60% checksumming|************************************** | 63% checksumming|**************************************** | 65% checksumming|***************************************** | 67% checksumming|******************************************* | 70% checksumming|******************************************** | 72% checksumming|********************************************* | 74% checksumming|*********************************************** | 77% checksumming|************************************************ | 79% checksumming|************************************************** | 81% checksumming|*************************************************** | 84% checksumming|**************************************************** | 86% checksumming|****************************************************** | 88% checksumming|******************************************************* | 91% checksumming|********************************************************* | 93% checksumming|********************************************************** | 95% checksumming|************************************************************ | 98% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|**************************************** | 63% archiving|******************************************** | 68% archiving|******************************************************* | 87% archiving|********************************************************* | 89% archiving|********************************************************** | 90% archiving|************************************************************* | 95% archiving|************************************************************** | 96% archiving|*************************************************************** | 98% archiving|****************************************************************| 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/treewm-0.4.5p9.tgz >>> Running clean in x11/treewm at 1764969245.14 ===> x11/treewm ===> Cleaning for treewm-0.4.5p9 >>> Ended at 1764969245.34 max_stuck=3.89/depends=4.76/show-prepare-results=0.78/build=30.97/package=1.57/clean=0.24