TGE 1.4 patch to remove the warning messages
by Philippe C · 04/11/2006 (2:04 pm) · 3 comments
These patchs remove all the warning messages generated with the Linux Torque version 1.4-L available on the cvs repository at this address :
pserver:your-user-name@cvs.garagegames.com:/cvs/torque
1.Download the patchs :
eviwo.free.fr/download/engine.patch.tar.gz
eviwo.free.fr/download/tools.patch.tar.gz
2.Apply the patchs
cd ~/cvs/torque/engine
copy the patch engine.patch.tar.gz in the directory ~/cvs/torque/engine
tar -zxvf engine.patch.tar.gz
patch -p0 -f -i engine.patch
cd ~/cvs/torque/tools
copy the patch tools.patch.tar.gz in the directory ~/cvs/torque/tools
tar -zxvf tools.patch.tar.gz
patch -p0 -f -i tools.patch
pserver:your-user-name@cvs.garagegames.com:/cvs/torque
1.Download the patchs :
eviwo.free.fr/download/engine.patch.tar.gz
eviwo.free.fr/download/tools.patch.tar.gz
2.Apply the patchs
cd ~/cvs/torque/engine
copy the patch engine.patch.tar.gz in the directory ~/cvs/torque/engine
tar -zxvf engine.patch.tar.gz
patch -p0 -f -i engine.patch
cd ~/cvs/torque/tools
copy the patch tools.patch.tar.gz in the directory ~/cvs/torque/tools
tar -zxvf tools.patch.tar.gz
patch -p0 -f -i tools.patch
#2
IMHO, that's a very bad policy. Not only I raised the warning level of my compiler to 3 (the SDK set it carelessly to 1 on VC++), but I usually compile with the "warning as error" option enabled. Warnings are your best friends, at least most of them. There only a few that are really overzealous, exactly five on VC++. Just disable those, if you want, but lowering the warning level means losing A LOT of useful advices from the compiler. You have been... warned! ;)
05/12/2006 (5:04 pm)
> It's true that I didn't like to see those warnings again and again... so I lowered the warning level of my compiler.IMHO, that's a very bad policy. Not only I raised the warning level of my compiler to 3 (the SDK set it carelessly to 1 on VC++), but I usually compile with the "warning as error" option enabled. Warnings are your best friends, at least most of them. There only a few that are really overzealous, exactly five on VC++. Just disable those, if you want, but lowering the warning level means losing A LOT of useful advices from the compiler. You have been... warned! ;)
#3
When i do an update of the engine code , i had an issue to check quickly if there was no warning message after my update. This is the reason of the patch : isolate in a simple way "my" warning message.
As written by Alberto , when I am "warned" I have to take care ...
But if I received too many warnings .... It is confusing ... and risky to ignore them ...
05/25/2006 (11:49 pm)
I create this patch because I am not able in a glance to identifiy the "normal" warning of "my" warning after an update of the torque code.When i do an update of the engine code , i had an issue to check quickly if there was no warning message after my update. This is the reason of the patch : isolate in a simple way "my" warning message.
As written by Alberto , when I am "warned" I have to take care ...
But if I received too many warnings .... It is confusing ... and risky to ignore them ...

Torque Owner Yannick Lahay
Well, I don't find this resource useful, because warnings are just "warnings" and not errors.
There are just some warnings about casting, but if you compile it all works fine.
It's true that I didn't like to see those warnings again and again... so I lowered the warning level of my compiler.
I use VS2005 Express, and by applying the directions listed on the TDN, I compile without any error, and no warnings.