Succinct
10-23-2000, 11:57 AM
Okay, ladies and gents, is there any way to efficently combine c++ exceptions with ogl and still have good performace?
see, i first imagined that if there's only try/catch blocks around the areas of code that aren't time critical, it wouldn't affect the areas that are, i.e. my RENDERING code.
well, woe is me, because as soon as you click the check box for your project that says to enable exceptions, everything boggs, and i don't know why...
anyway, i want to use exceptions w/ my ogl code, at least near it, so does anyone know of some way to selectively enable/disable it for different sections of code (#pragma, i'd imagine)
is there anyone who has actually done this sucessfully? (speculation takes soo much more time than proven fact.. )
please, lemino, but please don't bust on me if using exceptions isn't ogl"pc"
-hopefull in pa
see, i first imagined that if there's only try/catch blocks around the areas of code that aren't time critical, it wouldn't affect the areas that are, i.e. my RENDERING code.
well, woe is me, because as soon as you click the check box for your project that says to enable exceptions, everything boggs, and i don't know why...
anyway, i want to use exceptions w/ my ogl code, at least near it, so does anyone know of some way to selectively enable/disable it for different sections of code (#pragma, i'd imagine)
is there anyone who has actually done this sucessfully? (speculation takes soo much more time than proven fact.. )
please, lemino, but please don't bust on me if using exceptions isn't ogl"pc"
-hopefull in pa