Original Post
Ok, my turn to play help the newbie with the compiler error:
I attempted to reuse a DirectPlay class I wrote, and in it I use a map, which apparently includes xstring.
Now, I can only figure that there''s some setting that enables/disables exceptions OTHER than "Enable Exception Handling'' checkbox under the Projec->Settings->C/C++->C++ Language - That was the first thing I verified.
Now, the thing that''s really bothering me about this, is that try must be defined. How on Earth could try be defined, but not catch?
Magmai Kai Holmlor
- Not For Rent
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xstring(527) : error C2059: syntax error : ''catch''and the code aroudn the area:
_TRY_BEGIN
_S = allocator.allocate(_Ns + 2, (void *)0);
_CATCH_ALL
_Ns = _N;
_S = allocator.allocate(_Ns + 2, (void *)0);
_CATCH_END
[/souce]
The error is on the _CATCH_ALL macro, which is defined as
[source]
#define _CATCH_ALL } catch (...) {
|