My makeFile:
#(C)2004-2006 SourceMM Development Team
# Makefile written by David "BAILOPAN" Anderson
HL2SDK = /cygdrive/e/caza/hl2mod/src
#SMM_ROOT = ../sdk/Sourcemm
MySQL = /cygdrive/e/caza/hl2mod/src/utils/Source_Utils/mysql
SRCDS = /cygdrive/e/caza/hl2mod
#HL2SDK = ../../../MyMpd/src
#SMM_ROOT = ../..
#SRCDS = /cygdrive/c/srcds
### EDIT BELOW FOR OTHER PROJECTS ###
OPT_FLAGS = -O3 -fno-rtti -funroll-loops -s -pipe
DEBUG_FLAGS = -g -ggdb3 -D_DeBuG
CPP = /cygdrive/h/cygwin/opt/crosstool/gcc-3.4.1-glibc-2.3.2/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-gcc
#CPP = /opt/crosstool/gcc-3.4.1-glibc-2.3.2/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-gcc
BINARY = source_utils_i486.so
OBJECTS = MRecipientFilter.cpp serverplugin_convar.cpp serverplugin_bot.cpp serverplugin_empty.cpp \
KeyValues.cpp utlbuffer.cpp bitbuf.cpp
LINK = vstdlib_i486.so tier0_i486.so libpthread.so -static libmysqlclient.a -static libz.a -static libmysys.a
#-static $(HL2SDK)/linux_sdk/choreoobjects_i486.a -static $(HL2SDK)/linux_sdk/mathlib_i486.a
HL2PUB = $(HL2SDK)/public
INCLUDE = -I. -I$(HL2PUB) -I$(HL2PUB)/dlls -I$(HL2PUB)/engine -I$(HL2PUB)tier0 -I$(HL2PUB)/tier1 \
-I$(HL2PUB)/vstdlib -I$(HL2SDK)/tier1 -I$(HL2SDK)/game_shared -I$(HL2SDK)/dlls \
-I$(HL2SDK)/utils/Source_Utils -I$(MySQL) -I$(HL2SDK)/utils/Source_Utils/korax
ifeq "$(DEBUG)" "true"
BIN_DIR = Linux/debug
CFLAGS = $(DEBUG_FLAGS)
else
BIN_DIR = Linux/realse
CFLAGS = $(OPT_FLAGS)
endif
CFLAGS += -fpermissive -D_LINUX -DNDEBUG -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -fPIC -Wno-deprecated -fno-rtti -msse
OBJ_LINUX := $(OBJECTS:%.cpp=$(BIN_DIR)/%.o)
$(BIN_DIR)/%.o: %.cpp
$(CPP) $(INCLUDE) $(CFLAGS) -o $@ -c $<
all:
mkdir -p $(BIN_DIR)
mkdir -p $(BIN_DIR)/Linux
ln -sf $(SRCDS)/bin/libpthread.so
#ln -sf /usr/lib/libmysqlclient.so libmysqlclient.so
ln -sf $(MySQL)/libmysqlclient.a
ln -sf $(MySQL)/libz.a
ln -sf $(MySQL)/libmysys.a
ln -sf $(SRCDS)/bin/vstdlib_i486.so vstdlib_i486.so
ln -sf $(SRCDS)/bin/tier0_i486.so tier0_i486.so
ln -sf $(HL2SDK)/tier1/convar.cpp convar.cpp
ln -sf $(HL2SDK)/tier1/KeyValues.cpp KeyValues.cpp
ln -sf $(HL2SDK)/tier1/utlbuffer.cpp utlbuffer.cpp
ln -sf $(HL2SDK)/tier1/bitbuf.cpp bitbuf.cpp
ln -sf $(HL2SDK)/public/tier0/memoverride.cpp memoverride.cpp
$(MAKE) sourcemm
sourcemm: $(OBJ_LINUX)
$(CPP) $(INCLUDE) $(CFLAGS) $(OBJ_LINUX) $(LINK) -shared -ldl -lm -o$(BIN_DIR)/$(BINARY)
debug:
$(MAKE) all DEBUG=true
default: all
clean:
rm -rf Linux/realse
#rm -rf Release/hl2sdk/*.o
#rm -rf Release/$(BINARY)
#rm -rf Debug/*.o
#rm -rf Debug/$(BINARY)
-----------------------------------------------------
Warnnings:
....
....
....
/cygdrive/e/caza/hl2mod/src/game_shared/basecombatweapon_shared.h:474: warning:
invalid access to non-static data member `CBaseCombatWeapon::m_iClip2' of NULL o
bject
/cygdrive/e/caza/hl2mod/src/game_shared/basecombatweapon_shared.h:474: warning:
(perhaps the `offsetof' macro was used incorrectly)
In file included from /cygdrive/e/caza/hl2mod/src/dlls/cbase.h:142,
from serverplugin_empty.cpp:54:
/cygdrive/e/caza/hl2mod/src/dlls/basetempentity.h:65:27: warning: no newline at
end of file
In file included from /cygdrive/e/caza/hl2mod/src/game_shared/itempents.h:16,
from /cygdrive/e/caza/hl2mod/src/dlls/te.h:15,
from /cygdrive/e/caza/hl2mod/src/dlls/cbase.h:144,
from serverplugin_empty.cpp:54:
/cygdrive/e/caza/hl2mod/src/public/shattersurfacetypes.h:21:7: warning: no newli
ne at end of file
In file included from /cygdrive/e/caza/hl2mod/src/dlls/cbase.h:144,
from serverplugin_empty.cpp:54:
/cygdrive/e/caza/hl2mod/src/dlls/te.h:17:15: warning: no newline at end of file
In file included from /cygdrive/e/caza/hl2mod/src/dlls/props.h:15,
from serverplugin_empty.cpp:65:
/cygdrive/e/caza/hl2mod/src/dlls/physics_bone_follower.h: In static member funct
ion `static void CBoneFollower::NetworkVar_m_modelIndex::Netwo rkStateChanged(voi
d*)':
/cygdrive/e/caza/hl2mod/src/dlls/physics_bone_follower.h:93: warning: invalid ac
cess to non-static data member `CBoneFollower::m_modelIndex' of NULL object
/cygdrive/e/caza/hl2mod/src/dlls/physics_bone_follower.h:93: warning: (perhaps t
he `offsetof' macro was used incorrectly)
/cygdrive/e/caza/hl2mod/src/dlls/physics_bone_follower.h: In static member funct
ion `static void CBoneFollower::NetworkVar_m_solidIndex::Netwo rkStateChanged(voi
d*)':
/cygdrive/e/caza/hl2mod/src/dlls/physics_bone_follower.h:94: warning: invalid ac
cess to non-static data member `CBoneFollower::m_solidIndex' of NULL object
/cygdrive/e/caza/hl2mod/src/dlls/physics_bone_follower.h:94: warning: (perhaps t
he `offsetof' macro was used incorrectly)
In file included from serverplugin_empty.cpp:65:
/cygdrive/e/caza/hl2mod/src/dlls/props.h: In static member function `static void
CDynamicProp::NetworkVar_m_bUseHitboxesForRen derBox::NetworkStateChanged(void*)
':
/cygdrive/e/caza/hl2mod/src/dlls/props.h
08: warning: invalid access to non-sta
tic data member `CDynamicProp::m_bUseHitboxesForRenderBox' of NULL object
/cygdrive/e/caza/hl2mod/src/dlls/props.h
08: warning: (perhaps the `offsetof' m
acro was used incorrectly)
/cygdrive/e/caza/hl2mod/src/dlls/props.h: In static member function `static void
CPhysicsProp::NetworkVar_m_bAwake::NetworkSta teChanged(void*)':
/cygdrive/e/caza/hl2mod/src/dlls/props.h
95: warning: invalid access to non-sta
tic data member `CPhysicsProp::m_bAwake' of NULL object
/cygdrive/e/caza/hl2mod/src/dlls/props.h
95: warning: (perhaps the `offsetof' m
acro was used incorrectly)
serverplugin_empty.cpp: In member function `virtual bool CEmptyServerPlugin::Loa
d(void*(*)(const char*, int*), void*(*)(const char*, int*))':
serverplugin_empty.cpp:217: warning: passing `float' for converting 4 of `void M
athLib_Init(float, float, float, int, bool, bool, bool, bool)'
In file included from serverplugin_empty.cpp:483:
sp_blocks.h: In function `int GetTeam(int)':
sp_blocks.h:114: warning: converting to non-pointer type `int' from NULL
In file included from sp_blocks.h:264,
from serverplugin_empty.cpp:483:
sp_mysql.h:96:7: warning: no newline at end of file
/cygdrive/h/cygwin/opt/crosstool/gcc-3.4.1-glibc-2.3.2/i686-unknown-linux-gnu/bi
n/i686-unknown-linux-gnu-gcc -I. -I/cygdrive/e/caza/hl2mod/src/public -I/cygdriv
e/e/caza/hl2mod/src/public/dlls -I/cygdrive/e/caza/hl2mod/src/public/engine -I/c
ygdrive/e/caza/hl2mod/src/publictier0 -I/cygdrive/e/caza/hl2mod/src/public/tier1
-I/cygdrive/e/caza/hl2mod/src/public/vstdlib -I/cygdrive/e/caza/hl2mod/src/tier
1 -I/cygdrive/e/caza/hl2mod/src/game_shared -I/cygdrive/e/caza/hl2mod/src/dlls
-I/cygdrive/e/caza/hl2mod/src/utils/Source_Utils -I/cygdrive/e/caza/hl2mod/src/u
tils/Source_Utils/mysql -I/cygdrive/e/caza/hl2mod/src/utils/Source_Utils/korax -
O3 -fno-rtti -funroll-loops -s -pipe -fpermissive -D_LINUX -DNDEBUG -Dstricmp=st
rcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D
_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp
-fPIC -Wno-deprecated -fno-rtti -msse -o Linux/realse/KeyValues.o -c KeyValues.c
pp
In file included from /cygdrive/e/caza/hl2mod/src/public/tier0/basetypes.h:11,
from /cygdrive/e/caza/hl2mod/src/public/tier0/platform.h:13,
from /cygdrive/e/caza/hl2mod/src/public/tier1/utlvector.h:20,
from /cygdrive/e/caza/hl2mod/src/public/tier1/KeyValues.h:25,
from KeyValues.cpp:20:
/cygdrive/e/caza/hl2mod/src/public/tier0/commonmacros.h:46:26: warning: no newli
ne at end of file
In file included from /cygdrive/e/caza/hl2mod/src/public/tier0/platform.h:712,
from /cygdrive/e/caza/hl2mod/src/public/tier1/utlvector.h:20,
from /cygdrive/e/caza/hl2mod/src/public/tier1/KeyValues.h:25,
from KeyValues.cpp:20:
/cygdrive/e/caza/hl2mod/src/public/tier0/fasttimer.h: In member function `void C
CycleCount::Init(float)':
/cygdrive/e/caza/hl2mod/src/public/tier0/fasttimer.h:259: warning: converting to
`int64' from `double'
In file included from /cygdrive/e/caza/hl2mod/src/public/tier1/utlmemory.h:21,
from /cygdrive/e/caza/hl2mod/src/public/tier1/utlvector.h:22,
from /cygdrive/e/caza/hl2mod/src/public/tier1/KeyValues.h:25,
from KeyValues.cpp:20:
/cygdrive/e/caza/hl2mod/src/public/tier0/memalloc.h
02:8: warning: extra tokens
at end of #endif directive
In file included from /cygdrive/e/caza/hl2mod/src/public/tier1/utlvector.h:22,
from /cygdrive/e/caza/hl2mod/src/public/tier1/KeyValues.h:25,
from KeyValues.cpp:20:
/cygdrive/e/caza/hl2mod/src/public/tier1/utlmemory.h: In constructor `CUtlMemory
Aligned<T, nAlignment>::CUtlMemoryAligned(int, int)':
/cygdrive/e/caza/hl2mod/src/public/tier1/utlmemory.h:630: warning: there are no
arguments to `ValidateGrowSize' that depend on a template parameter, so a declar
ation of `ValidateGrowSize' must be available
/cygdrive/e/caza/hl2mod/src/public/tier1/utlmemory.h: In member function `void C
UtlMemoryAligned<T, nAlignment>::Grow(int)':
/cygdrive/e/caza/hl2mod/src/public/tier1/utlmemory.h:711: warning: there are no
arguments to `IsExternallyAllocated' that depend on a template parameter, so a d
eclaration of `IsExternallyAllocated' must be available
/cygdrive/e/caza/hl2mod/src/public/tier1/utlmemory.h: In member function `void C
UtlMemoryAligned<T, nAlignment>::EnsureCapacity(int)':
/cygdrive/e/caza/hl2mod/src/public/tier1/utlmemory.h:753: warning: there are no
arguments to `IsExternallyAllocated' that depend on a template parameter, so a d
eclaration of `IsExternallyAllocated' must be available
/cygdrive/e/caza/hl2mod/src/public/tier1/utlmemory.h: In member function `void C
UtlMemoryAligned<T, nAlignment>:
urge()':
/cygdrive/e/caza/hl2mod/src/public/tier1/utlmemory.h:786: warning: there are no
arguments to `IsExternallyAllocated' that depend on a template parameter, so a d
eclaration of `IsExternallyAllocated' must be available
In file included from /cygdrive/e/caza/hl2mod/src/public/filesystem.h:10,
from KeyValues.cpp:21:
/cygdrive/e/caza/hl2mod/src/public/tier0/threadtools.h: In member function `CThr
eadLocalInt<T>:
perator const T() const':
/cygdrive/e/caza/hl2mod/src/public/tier0/threadtools.h:193: warning: there are n
o arguments to `Get' that depend on a template parameter, so a declaration of `G
et' must be available
/cygdrive/e/caza/hl2mod/src/public/tier0/threadtools.h: In member function `T CT
hreadLocalInt<T>:
perator++()':
/cygdrive/e/caza/hl2mod/src/public/tier0/threadtools.h:196: warning: there are n
o arguments to `Get' that depend on a template parameter, so a declaration of `G
et' must be available
/cygdrive/e/caza/hl2mod/src/public/tier0/threadtools.h: In member function `T CT
hreadLocalInt<T>:
perator++(int)':
/cygdrive/e/caza/hl2mod/src/public/tier0/threadtools.h:197: warning: there are n
o arguments to `Get' that depend on a template parameter, so a declaration of `G
et' must be available
/cygdrive/e/caza/hl2mod/src/public/tier0/threadtools.h: In member function `T CT
hreadLocalInt<T>:
perator--()':
/cygdrive/e/caza/hl2mod/src/public/tier0/threadtools.h:199: warning: there are n
o arguments to `Get' that depend on a template parameter, so a declaration of `G
et' must be available
/cygdrive/e/caza/hl2mod/src/public/tier0/threadtools.h: In member function `T CT
hreadLocalInt<T>:
perator--(int)':
/cygdrive/e/caza/hl2mod/src/public/tier0/threadtools.h:200: warning: there are n
o arguments to `Get' that depend on a template parameter, so a declaration of `G
et' must be available
KeyValues.cpp: In member function `Color KeyValues::GetColor(const char*)':
KeyValues.cpp:1218: warning: converting to `unsigned char' from `float'
/cygdrive/h/cygwin/opt/crosstool/gcc-3.4.1-glibc-2.3.2/i686-unknown-linux-gnu/bi
n/i686-unknown-linux-gnu-gcc -I. -I/cygdrive/e/caza/hl2mod/src/public -I/cygdriv
e/e/caza/hl2mod/src/public/dlls -I/cygdrive/e/caza/hl2mod/src/public/engine -I/c
ygdrive/e/caza/hl2mod/src/publictier0 -I/cygdrive/e/caza/hl2mod/src/public/tier1
-I/cygdrive/e/caza/hl2mod/src/public/vstdlib -I/cygdrive/e/caza/hl2mod/src/tier
1 -I/cygdrive/e/caza/hl2mod/src/game_shared -I/cygdrive/e/caza/hl2mod/src/dlls
-I/cygdrive/e/caza/hl2mod/src/utils/Source_Utils -I/cygdrive/e/caza/hl2mod/src/u
tils/Source_Utils/mysql -I/cygdrive/e/caza/hl2mod/src/utils/Source_Utils/korax -
O3 -fno-rtti -funroll-loops -s -pipe -fpermissive -D_LINUX -DNDEBUG -Dstricmp=st
rcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D
_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp
-fPIC -Wno-deprecated -fno-rtti -msse -o Linux/realse/utlbuffer.o -c utlbuffer.c
pp
In file included from /cygdrive/e/caza/hl2mod/src/public/tier0/basetypes.h:11,
from /cygdrive/e/caza/hl2mod/src/public/tier0/dbg.h:15,
from /cygdrive/e/caza/hl2mod/src/public/tier1/utlmemory.h:17,
from /cygdrive/e/caza/hl2mod/src/public/tier1/utlbuffer.h:17,
from utlbuffer.cpp:12:
/cygdrive/e/caza/hl2mod/src/public/tier0/commonmacros.h:46:26: warning: no newli
ne at end of file
In file included from /cygdrive/e/caza/hl2mod/src/public/tier0/basetypes.h:12,
from /cygdrive/e/caza/hl2mod/src/public/tier0/dbg.h:15,
from /cygdrive/e/caza/hl2mod/src/public/tier1/utlmemory.h:17,
from /cygdrive/e/caza/hl2mod/src/public/tier1/utlbuffer.h:17,
from utlbuffer.cpp:12:
/cygdrive/e/caza/hl2mod/src/public/tier0/wchartypes.h:24: warning: redeclaration
of C++ built-in type `short'
In file included from /cygdrive/e/caza/hl2mod/src/public/tier0/platform.h:712,
from /cygdrive/e/caza/hl2mod/src/public/tier0/dbg.h:17,
from /cygdrive/e/caza/hl2mod/src/public/tier1/utlmemory.h:17,
from /cygdrive/e/caza/hl2mod/src/public/tier1/utlbuffer.h:17,
from utlbuffer.cpp:12:
/cygdrive/e/caza/hl2mod/src/public/tier0/fasttimer.h: In member function `void C
CycleCount::Init(float)':
/cygdrive/e/caza/hl2mod/src/public/tier0/fasttimer.h:259: warning: converting to
`int64' from `double'
In file included from /cygdrive/e/caza/hl2mod/src/public/tier1/utlmemory.h:21,
from /cygdrive/e/caza/hl2mod/src/public/tier1/utlbuffer.h:17,
from utlbuffer.cpp:12:
/cygdrive/e/caza/hl2mod/src/public/tier0/memalloc.h
02:8: warning: extra tokens
at end of #endif directive
In file included from /cygdrive/e/caza/hl2mod/src/public/tier1/utlbuffer.h:17,
from utlbuffer.cpp:12:
/cygdrive/e/caza/hl2mod/src/public/tier1/utlmemory.h: In constructor `CUtlMemory
Aligned<T, nAlignment>::CUtlMemoryAligned(int, int)':
/cygdrive/e/caza/hl2mod/src/public/tier1/utlmemory.h:630: warning: there are no
arguments to `ValidateGrowSize' that depend on a template parameter, so a declar
ation of `ValidateGrowSize' must be available
/cygdrive/e/caza/hl2mod/src/public/tier1/utlmemory.h: In member function `void C
UtlMemoryAligned<T, nAlignment>::Grow(int)':
/cygdrive/e/caza/hl2mod/src/public/tier1/utlmemory.h:711: warning: there are no
arguments to `IsExternallyAllocated' that depend on a template parameter, so a d
eclaration of `IsExternallyAllocated' must be available
/cygdrive/e/caza/hl2mod/src/public/tier1/utlmemory.h: In member function `void C
UtlMemoryAligned<T, nAlignment>::EnsureCapacity(int)':
/cygdrive/e/caza/hl2mod/src/public/tier1/utlmemory.h:753: warning: there are no
arguments to `IsExternallyAllocated' that depend on a template parameter, so a d
eclaration of `IsExternallyAllocated' must be available
/cygdrive/e/caza/hl2mod/src/public/tier1/utlmemory.h: In member function `void C
UtlMemoryAligned<T, nAlignment>:
urge()':
/cygdrive/e/caza/hl2mod/src/public/tier1/utlmemory.h:786: warning: there are no
arguments to `IsExternallyAllocated' that depend on a template parameter, so a d
eclaration of `IsExternallyAllocated' must be available
/cygdrive/h/cygwin/opt/crosstool/gcc-3.4.1-glibc-2.3.2/i686-unknown-linux-gnu/bi
n/i686-unknown-linux-gnu-gcc -I. -I/cygdrive/e/caza/hl2mod/src/public -I/cygdriv
e/e/caza/hl2mod/src/public/dlls -I/cygdrive/e/caza/hl2mod/src/public/engine -I/c
ygdrive/e/caza/hl2mod/src/publictier0 -I/cygdrive/e/caza/hl2mod/src/public/tier1
-I/cygdrive/e/caza/hl2mod/src/public/vstdlib -I/cygdrive/e/caza/hl2mod/src/tier
1 -I/cygdrive/e/caza/hl2mod/src/game_shared -I/cygdrive/e/caza/hl2mod/src/dlls
-I/cygdrive/e/caza/hl2mod/src/utils/Source_Utils -I/cygdrive/e/caza/hl2mod/src/u
tils/Source_Utils/mysql -I/cygdrive/e/caza/hl2mod/src/utils/Source_Utils/korax -
O3 -fno-rtti -funroll-loops -s -pipe -fpermissive -D_LINUX -DNDEBUG -Dstricmp=st
rcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D
_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp
-fPIC -Wno-deprecated -fno-rtti -msse -o Linux/realse/bitbuf.o -c bitbuf.cpp
In file included from /cygdrive/e/caza/hl2mod/src/public/tier0/basetypes.h:11,
from /cygdrive/e/caza/hl2mod/src/public/basetypes.h:8,
from /cygdrive/e/caza/hl2mod/src/public/tier1/bitbuf.h:19,
from bitbuf.cpp:9:
/cygdrive/e/caza/hl2mod/src/public/tier0/commonmacros.h:46:26: warning: no newli
ne at end of file
In file included from /cygdrive/e/caza/hl2mod/src/public/tier0/basetypes.h:12,
from /cygdrive/e/caza/hl2mod/src/public/basetypes.h:8,
from /cygdrive/e/caza/hl2mod/src/public/tier1/bitbuf.h:19,
from bitbuf.cpp:9:
/cygdrive/e/caza/hl2mod/src/public/tier0/wchartypes.h:24: warning: redeclaration
of C++ built-in type `short'
In file included from /cygdrive/e/caza/hl2mod/src/public/tier0/platform.h:712,
from /cygdrive/e/caza/hl2mod/src/public/tier0/dbg.h:17,
from /cygdrive/e/caza/hl2mod/src/public/tier1/bitbuf.h:20,
from bitbuf.cpp:9:
/cygdrive/e/caza/hl2mod/src/public/tier0/fasttimer.h: In member function `void C
CycleCount::Init(float)':
/cygdrive/e/caza/hl2mod/src/public/tier0/fasttimer.h:259: warning: converting to
`int64' from `double'
In file included from /cygdrive/e/caza/hl2mod/src/public/coordsize.h:13,
from bitbuf.cpp:10:
/cygdrive/e/caza/hl2mod/src/public/worldsize.h:42:22: warning: no newline at end
of file
In file included from bitbuf.cpp:10:
/cygdrive/e/caza/hl2mod/src/public/coordsize.h:92:22: warning: no newline at end
of file
In file included from bitbuf.cpp:11:
/cygdrive/e/caza/hl2mod/src/public/vector.h: In member function `ShortVector& Sh
ortVector:
perator*=(float)':
/cygdrive/e/caza/hl2mod/src/public/vector.h:727: warning: converting to `short i
nt' from `float'
/cygdrive/e/caza/hl2mod/src/public/vector.h:728: warning: converting to `short i
nt' from `float'
/cygdrive/e/caza/hl2mod/src/public/vector.h:729: warning: converting to `short i
nt' from `float'
/cygdrive/e/caza/hl2mod/src/public/vector.h:730: warning: converting to `short i
nt' from `float'
/cygdrive/e/caza/hl2mod/src/public/vector.h: In member function `ShortVector& Sh
ortVector:
perator/=(float)':
/cygdrive/e/caza/hl2mod/src/public/vector.h:747: warning: converting to `short i
nt' from `float'
/cygdrive/e/caza/hl2mod/src/public/vector.h:748: warning: converting to `short i
nt' from `float'
/cygdrive/e/caza/hl2mod/src/public/vector.h:749: warning: converting to `short i
nt' from `float'
/cygdrive/e/caza/hl2mod/src/public/vector.h:750: warning: converting to `short i
nt' from `float'
/cygdrive/e/caza/hl2mod/src/public/vector.h: In function `void ShortVectorMultip
ly(const ShortVector&, float, ShortVector&)':
/cygdrive/e/caza/hl2mod/src/public/vector.h:767: warning: converting to `short i
nt' from `float'
/cygdrive/e/caza/hl2mod/src/public/vector.h:768: warning: converting to `short i
nt' from `float'
/cygdrive/e/caza/hl2mod/src/public/vector.h:769: warning: converting to `short i
nt' from `float'
/cygdrive/e/caza/hl2mod/src/public/vector.h:770: warning: converting to `short i
nt' from `float'
bitbuf.cpp: In member function `void bf_write::WriteBitCoord(float)':
bitbuf.cpp
33: warning: passing `const float' for converting 1 of `int abs(int)
'
/cygdrive/h/cygwin/opt/crosstool/gcc-3.4.1-glibc-2.3.2/i686-unknown-linux-gnu/bi
n/i686-unknown-linux-gnu-gcc -I. -I/cygdrive/e/caza/hl2mod/src/public -I/cygdriv
e/e/caza/hl2mod/src/public/dlls -I/cygdrive/e/caza/hl2mod/src/public/engine -I/c
ygdrive/e/caza/hl2mod/src/publictier0 -I/cygdrive/e/caza/hl2mod/src/public/tier1
-I/cygdrive/e/caza/hl2mod/src/public/vstdlib -I/cygdrive/e/caza/hl2mod/src/tier
1 -I/cygdrive/e/caza/hl2mod/src/game_shared -I/cygdrive/e/caza/hl2mod/src/dlls
-I/cygdrive/e/caza/hl2mod/src/utils/Source_Utils -I/cygdrive/e/caza/hl2mod/src/u
tils/Source_Utils/mysql -I/cygdrive/e/caza/hl2mod/src/utils/Source_Utils/korax -
O3 -fno-rtti -funroll-loops -s -pipe -fpermissive -D_LINUX -DNDEBUG -Dstricmp=st
rcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D
_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp
-fPIC -Wno-deprecated -fno-rtti -msse Linux/realse/MRecipientFilter.o Linux/real
se/serverplugin_convar.o Linux/realse/serverplugin_bot.o Linux/realse/serverplug
in_empty.o Linux/realse/KeyValues.o Linux/realse/utlbuffer.o Linux/realse/bitbuf
.o vstdlib_i486.so tier0_i486.so libpthread.so -static libmysqlclient.a -static
libz.a -static libmysys.a -shared -ldl -lm -oLinux/realse/source_utils_i486.so
make[1]: Leaving directory `/cygdrive/e/caza/hl2mod/src/utils/Source_Utils'
----------------
This compile good but when i put in server dont load it
in win32 works well
i have vdf file too
help!