Skip to content

Instantly share code, notes, and snippets.

@frecel
Created August 21, 2014 03:16
Show Gist options
  • Save frecel/0f48829eb4751d24a5d0 to your computer and use it in GitHub Desktop.
Save frecel/0f48829eb4751d24a5d0 to your computer and use it in GitHub Desktop.
artur@artur-desktop:~/Downloads/cube_source/src$ make
make -C ../enet all
make[1]: Entering directory `/home/artur/Downloads/cube_source/enet'
Making all in include
make[2]: Entering directory `/home/artur/Downloads/cube_source/enet/include'
Making all in enet
make[3]: Entering directory `/home/artur/Downloads/cube_source/enet/include/enet'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/artur/Downloads/cube_source/enet/include/enet'
make[3]: Entering directory `/home/artur/Downloads/cube_source/enet/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/artur/Downloads/cube_source/enet/include'
make[2]: Leaving directory `/home/artur/Downloads/cube_source/enet/include'
make[2]: Entering directory `/home/artur/Downloads/cube_source/enet'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/artur/Downloads/cube_source/enet'
make[1]: Leaving directory `/home/artur/Downloads/cube_source/enet'
g++ -Wall -O3 -fsigned-char -fomit-frame-pointer -I../enet/include `sdl-config --cflags` -c -o client.o client.cpp
In file included from cube.h:3:0,
from client.cpp:3:
tools.h: In constructor ‘vector<T>::vector()’:
tools.h:159:22: error: there are no arguments to ‘gp’ that depend on a template parameter, so a declaration of ‘gp’ must be available [-fpermissive]
tools.h:159:22: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
tools.h: In constructor ‘hashtable<T>::hashtable()’:
tools.h:234:27: error: there are no arguments to ‘gp’ that depend on a template parameter, so a declaration of ‘gp’ must be available [-fpermissive]
client.cpp: At global scope:
client.cpp:28:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
client.cpp:32:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
client.cpp:33:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
client.cpp:34:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
client.cpp:46:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
client.cpp:47:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
client.cpp:137:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
client.cpp:138:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
client.cpp:139:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
client.cpp:140:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
client.cpp: In function ‘void addmsg(int, int, int, ...)’:
client.cpp:149:133: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
client.cpp: At global scope:
client.cpp:173:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
client.cpp: In function ‘void initclientnet()’:
client.cpp:182:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
client.cpp:183:18: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
client.cpp: In function ‘void gets2c()’:
client.cpp:289:11: warning: enumeration value ‘ENET_EVENT_TYPE_NONE’ not handled in switch [-Wswitch]
client.cpp: At global scope:
client.cpp:46:1: warning: ‘__dummy_newteam’ defined but not used [-Wunused-variable]
client.cpp:47:1: warning: ‘__dummy_newname’ defined but not used [-Wunused-variable]
client.cpp:137:1: warning: ‘__dummy_echo’ defined but not used [-Wunused-variable]
client.cpp:138:1: warning: ‘__dummy_toserver’ defined but not used [-Wunused-variable]
client.cpp:139:1: warning: ‘__dummy_connects’ defined but not used [-Wunused-variable]
client.cpp:140:1: warning: ‘__dummy_trydisconnect’ defined but not used [-Wunused-variable]
client.cpp:173:1: warning: ‘__dummy_password’ defined but not used [-Wunused-variable]
make: *** [client.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment