Game Development Community

Compiler warning.. help

by Emiliano Gusmini · in Torque Game Engine Advanced · 07/06/2007 (4:48 am) · 2 replies

Hi all,
i have this error during compiling process:

10>..\engine\gfx\D3D\gfxD3DDevice.cpp(39) : warning C4482: utilizzata estensione non standard: enum 'GFXVertexColor::ColorOrdering' utilizzato nel nome completo

i've followed instructions found in TDN..
i've tried to use DX SDK April 07 instead October 06 but nothing.
i use VC++ 2005 Express

i have only this warning.. is it "normal"?

if i lunch the demo i have no errors..

thanks in advance

#1
07/06/2007 (5:16 am)
Using the name of the enum if the enum is defined inside a class is technically illegal. It's ok if you use microsoft's compiler, because it knows what you mean anyway... however you should remove the name of the enum from that line if you want to get rid of the warning.
By the way, even if the compiler knows what you mean, using enums followed by :: usually confuses intellisense
#2
07/06/2007 (9:10 am)
Thank you very much.
i'm new to VC++ 2005 and Microsoft related compiler..
i'd like to be secure that there are no real errors befor starting to play hard with code and scripts.
you know.. there is so less docs about TGEA and many people says that TGEA is incomplete..
i hope GG release a full documented version ASAP.

meanwhile, i believe in this forum!

thanks again