Game Development Community

Possible problem compiling from the latest HEAD!

by Jackie Hayes · in Torque Game Engine · 06/16/2003 (8:11 pm) · 3 replies

I just downloaded the latest HEAD. When I compile in the release mode I get the following warning errors:

*************************************************
Compiling...
[b]GLU2D3D.cc[/b]

C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\istream(547) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX

C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(234) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX

C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(229) : while compiling class-template member function 'class std::basic_ostream<char,struct std::char_traits<char> > &__thiscall std::basic_ostream<char,struct std::char_traits<ch
ar> >::put(char)'

C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(234) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX

C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(229) : while compiling class-template member function 'class std::basic_ostream<unsigned short,struct std::char_traits<unsigned short> > &__thiscall std::basic_ostream<unsigned short,struct std::char_traits<unsigned short> >::put(unsigned short)'

C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\istream(46) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX

C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\istream(41) : while compiling class-template member function 'bool __thiscall std::basic_istream<char,struct std::char_traits<char> >::ipfx(bool)'

C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\istream(46) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX

C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\istream(41) : while compiling class-template member function 'bool __thiscall std::basic_istream<unsigned short,struct std::char_traits<unsigned short> >::ipfx(bool)'

C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xstring(525) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX

C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xstring(521) : while compiling class-template member function 'void __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Copy(unsigned int)'

Linking...
   Creating library ../lib/out.VC6.RELEASE/glu2d3d.lib and object ../lib/out.VC6.RELEASE/glu2d3d.exp

*************************************************

It compiled fine (other than these warnings) and everything seems to run OK.
I did not have any of these errors when compiling previous versions.
I am using DX9 and have been for a few months and have not had any problems. I was just wondering if the patch for DX9 "TGE Patch: DX9 Support" has been applied in this latest release and if so I wonder if this could be causing the problem. I looked at the "Change List" and could not find anything pretaining to DX so I am not sure.

Thanks

#1
06/16/2003 (10:18 pm)
I downloaded the latest head, running WinME with driectX 9, VC6.0 Standard and it compiled fine. No error's, and one warning

I honestly cant really help you, I posted this to let you know that directX 9 may not be a problem.
#2
06/16/2003 (11:31 pm)
you just need to read what the error says.
Quote:../Microsoft Visual Studio/VC98/INCLUDE/istream(547) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX
it is specifying the error to be that throw/catch type exception handling is used but not enabled claiming you could add a /GX and compile without warning.

this is new code a template using ostream *yuck*
#3
06/17/2003 (6:38 am)
Boy do I feel stupid. Didn't catch that. Guess I was just to tired to pay attention. Been working on some changes all weekend and ALL day Monday. It does help if you read more closely though. It compiles fine now.

Thanks for the little nudge Badguy! :)