when compile c++ programs with -fno-exceptions, shouldn’t c++ automatically
disable exception handling?
c++ -fno-rtti -fno-exceptions -Wall …
In file included from /usr/include/new:4,
from /usr/include/new.h:4,
/usr/include/exception: In method void std::bad_exception::_Doraise() const': /usr/include/exception:80: exception handling disabled, use -fexceptions to enable In file included from /usr/include/new:4, from /usr/include/new.h:4, /usr/include/exception: In method void std::bad_exception::_Doraise() const’:
/usr/include/exception:80: exception handling disabled, use -fexceptions to enable
any ideas why it gives this error even though -fexceptions is given?
when compile c++ programs with -fno-exceptions, shouldn’t c++ automatically
disable exception handling?
c++ -fno-rtti -fno-exceptions -Wall …
In file included from /usr/include/new:4,
from /usr/include/new.h:4,
/usr/include/exception: In method void std::bad_exception::_Doraise() const': /usr/include/exception:80: exception handling disabled, use -fexceptions to enable In file included from /usr/include/new:4, from /usr/include/new.h:4, /usr/include/exception: In method void std::bad_exception::_Doraise() const’:
/usr/include/exception:80: exception handling disabled, use -fexceptions to enable
any ideas why it gives this error even though -fexceptions is given?