View Single Post
  #6 (permalink)  
Old 09-07-2009, 06:58 AM
Balog Pal
Guest
 
Posts: n/a
Default Re: Porting issues: Visual Studio and gcc

"Andrew" <marlow.andrew@googlemail.com>
>
> Yes. The Microsoft compilers turn SEGV etc into C++ exceptions. This
> means that catching exceptions by the base class will inadvertantly
> catch these cases. There is a way to programatically turn this
> behaviour off but obviously, such code is non-portable (you can
> surround it with #if WIN32...#endif).


Depending on version and switches...




--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

Reply With Quote