Retourner au contenu associé (entrée de forum : HL2 / SDK / metamod:source)
Posté par gatosek le 20 février 2007 à 21:07. En réponse au message HL2 / SDK / metamod:source. Évalué à 1.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
[^] # Re: miaou...
Posté par gatosek . En réponse au message HL2 / SDK / metamod:source. Évalué à 1.
j'ai repris (finalement) le CFLAGS par défaut avec un -Wno-deprecated
et je me paie ceci :
[steam@gatosek sourcemm]$ LC_ALL=C make sourcemm
/usr/bin/gcc -I. -I/home/steam/HL2/HL2SDK/public -I/home/steam/HL2/HL2SDK/public/dlls -I/home/steam/HL2/HL2SDK/public/engine -I/home/steam/HL2/HL2SDK/public/tier0 -I/home/steam/HL2/HL2SDK/public/tier1 -I/home/steam/HL2/HL2SDK/public/vstdlib -I/home/steam/HL2/HL2SDK/tier1 -I/home/steam/metamod -I/home/steam/metamod/sourcehook -O2 -funroll-loops -s -pipe -Wno-deprecated -D_LINUX -DNDEBUG -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -Wall -Wno-non-virtual-dtor -Werror -fPIC -fno-exceptions -fno-rtti -msse -fvisibility=hidden -fvisibility-inlines-hidden -o Release/oslink.o -c oslink.cpp
/usr/bin/gcc -I. -I/home/steam/HL2/HL2SDK/public -I/home/steam/HL2/HL2SDK/public/dlls -I/home/steam/HL2/HL2SDK/public/engine -I/home/steam/HL2/HL2SDK/public/tier0 -I/home/steam/HL2/HL2SDK/public/tier1 -I/home/steam/HL2/HL2SDK/public/vstdlib -I/home/steam/HL2/HL2SDK/tier1 -I/home/steam/metamod -I/home/steam/metamod/sourcehook -O2 -funroll-loops -s -pipe -Wno-deprecated -D_LINUX -DNDEBUG -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -Wall -Wno-non-virtual-dtor -Werror -fPIC -fno-exceptions -fno-rtti -msse -fvisibility=hidden -fvisibility-inlines-hidden -o Release/util.o -c util.cpp
/usr/bin/gcc -I. -I/home/steam/HL2/HL2SDK/public -I/home/steam/HL2/HL2SDK/public/dlls -I/home/steam/HL2/HL2SDK/public/engine -I/home/steam/HL2/HL2SDK/public/tier0 -I/home/steam/HL2/HL2SDK/public/tier1 -I/home/steam/HL2/HL2SDK/public/vstdlib -I/home/steam/HL2/HL2SDK/tier1 -I/home/steam/metamod -I/home/steam/metamod/sourcehook -O2 -funroll-loops -s -pipe -Wno-deprecated -D_LINUX -DNDEBUG -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -Wall -Wno-non-virtual-dtor -Werror -fPIC -fno-exceptions -fno-rtti -msse -fvisibility=hidden -fvisibility-inlines-hidden -o Release/convar.o -c convar.cpp
cc1plus: warnings being treated as errors
In file included from /home/steam/HL2/HL2SDK/public/tier0/dbg.h:17,
from convar.h:18,
from convar.cpp:18:
/home/steam/HL2/HL2SDK/public/tier0/platform.h:388: warning: ignoring #pragma warning
/home/steam/HL2/HL2SDK/public/tier0/platform.h:389: warning: ignoring #pragma warning
/home/steam/HL2/HL2SDK/public/tier0/platform.h:390: warning: ignoring #pragma warning
In file included from /home/steam/HL2/HL2SDK/public/tier0/dbg.h:17,
from convar.h:18,
from convar.cpp:18:
/home/steam/HL2/HL2SDK/public/tier0/platform.h:532:1: error: "LITTLE_ENDIAN" redefined
In file included from /usr/include/bits/waitstatus.h:65,
from /usr/include/stdlib.h:43,
from convar.cpp:15:
/usr/include/endian.h:46:1: error: this is the location of the previous definition
In file included from /home/steam/HL2/HL2SDK/public/tier0/memdbgon.h:34,
from convar.cpp:25:
/home/steam/HL2/HL2SDK/public/tier0/memalloc.h:302:8: error: extra tokens at end of #endif directive
/home/steam/HL2/HL2SDK/public/tier0/basetypes.h: In function 'vec_t BitsToFloat(long unsigned int)':
/home/steam/HL2/HL2SDK/public/tier0/basetypes.h:138: warning: dereferencing type-punned pointer will break strict-aliasing rules
/home/steam/HL2/HL2SDK/public/tier0/fasttimer.h: In member function 'void CCycleCount::Init(float)':
/home/steam/HL2/HL2SDK/public/tier0/fasttimer.h:259: warning: converting to 'int64' from 'double'
/home/steam/HL2/HL2SDK/public/tier0/fasttimer.h: In member function 'void CCycleCount::Sample()':
/home/steam/HL2/HL2SDK/public/tier0/fasttimer.h:271: warning: dereferencing type-punned pointer will break strict-aliasing rules
convar.cpp: In member function 'virtual void ConVar::ChangeStringValue(const char*)':
convar.cpp:811: warning: statement has no effect
make: *** [Release/convar.o] Error 1