ghost95v |
09-24-2017 15:28 |
'typedef' warnings
Hello, i'm compiling with Gcc , linux, are these two warnings just okay ?
What they can cause on running the module ?
PHP Code:
[root@euve256342 usr]# make gcc amxxmodule.cpp project.cpp -DNDEBUG -O2 -funroll-loops -fomit-frame-pointer -pipe -fvisibility=hidden -fvisibility-inlines-hidden -DLINUX -shared -m32 -lm -ldl -DPAWN_CELL_SIZE=32 -DJIT -DASM32 -DHAVE_STDINT_H -fno-strict-aliasing -fno-exceptions -fno-rtti -s -Wno-delete-non-virtual-dtor -static-libgcc -D_snprintf=snprintf -D_strcpy=strcpy -D_strcat=strcat -D_snprintf_s=snprintf -D_strncpy=strncpy -D_strncat=strncat -D_stricmp=strcasecmp -D_strcmp=strcmp -D_strncmp=strncmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -Dstricmp=strcasecmp -fpermissive -Wno-unknown-pragmas -Wno-write-strings -Wno-deprecated -Wno-attributes -I. -Ihlsdk -Imetamod -o project_amxx_i386.so In file included from ./sdk_util.h:52:0, from ./dllapi.h:40, from ./meta_api.h:41, from amxxmodule.h:17, from amxxmodule.cpp:39: hlsdk/util.h:249:70: warning: ‘typedef’ was ignored in this declaration [enabled by default] typedef enum { point_hull=0, human_hull=1, large_hull=2, head_hull=3 }; ^ In file included from ./sdk_util.h:52:0, from ./dllapi.h:40, from ./meta_api.h:41, from amxxmodule.h:17, from project.cpp:2: hlsdk/util.h:249:70: warning: ‘typedef’ was ignored in this declaration [enabled by default] typedef enum { point_hull=0, human_hull=1, large_hull=2, head_hull=3 }; ^ [root@euve256342 usr]#
|