Anonymous - 2010-11-06

compiler: gcc
When compiling stlport with exceptions disabled, it gives an error. The reason is the following:

ostream.h, line 186:

          if (!uncaught_exception())

One of the headers automatically disables this define, however with exceptions disabled, uncaught_exception() is undefined.

Solution: change the first line to


Please note that I created a custom cmake build system instead of using the supplied one, but to me this looks like a generic bug.