c++ exception

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?

LiuG <liug@mama.indstate.edu> wrote:

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?

There is a knowledge base entry on it at:
http://qdn.qnx.com/support/bok/solution.qnx?10371

Marcin

Tools Mail Account <tools@qnx.com> wrote:

There is a knowledge base entry on it at:
http://qdn.qnx.com/support/bok/solution.qnx?10371

Marcin

thanks marcin,
that is helpful.
any news on the other issue (library path at the link time)?

LiuG <liug@mama.indstate.edu> wrote:

Tools Mail Account <> tools@qnx.com> > wrote:

There is a knowledge base entry on it at:
http://qdn.qnx.com/support/bok/solution.qnx?10371

Marcin

thanks marcin,
that is helpful.
any news on the other issue (library path at the link time)?

We are still investigating.