Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

wyrd

STLPort question.

This topic is 5408 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m making a game that I can play on both PC and Pocket PC. Aparently, however, the Pocket PC doesn''t support exception handling, which leads to no STL. So to get around this, I''m using STLPort (no doubt most people do). I am, however, getting a warning while compiling;
quote:
c:\program files\windows ce tools\wce420\standardsdk_420\include\sh3\xstring(724) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX c:\program files\windows ce tools\wce420\standardsdk_420\include\sh3\xstring(720) : while compiling class-template member function ''void __cdecl std::basic_string,class std::allocator >::_Copy(unsigne d int)''
I''m not familiar with STLPort at all (in fact this is my first time using it). So I was curious as to how I can get rid of this warning (or if it''s even possible). Other than that, everything seems to be working fine. Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
You could do what the warning suggests, specify -GX in the compiler options (or enable the according optins in the property dialog).

Share this post


Link to post
Share on other sites
You can ignore this error. If exceptions aren''t enabled, they aren''t enabled; having a throw() somewhere won''t mess everything up. IIRC, VC++''s default behavior is for thrown exceptions to call abort() if exceptions are disabled.


"Sneftel is correct, if rather vulgar." --Flarelocke

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!