https://bugzilla.novell.com/show_bug.cgi?id=256642 ------- Comment #7 from llunak@novell.com 2007-04-23 14:07 MST ------- No, the code in description fails to compile with -fno-exceptions _iff_ there's no STL include. It silently compiles in the case of using STL because STL changes try/catch keywords. If STL used e.g. __try/__catch, then the code in description won't be affected and will still fail as it should. Am I missing something important? Because I fail to see why there needs to be such a long discussion about something so trivial :(. If you can't get this fixed upstream for whatever obscure reason please fix this at least for us[*]. We released a broken update for one package and failed to notice it because of this bug. [*] The fix should be just first running this over all sources === sed 's/\btry\b/__try/g' sed 's/\bcatch\b/__catch/g' === and changing exception_defines.h like this: === #ifndef __EXCEPTIONS // Iff -fno-exceptions, transform error handling code to work without it. # define __try if (true) # define __catch(X) if (false) # define __throw_exception_again #else // Else proceed normally. # define __try try # define __catch catch # define __throw_exception_again throw #endif === -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.