gnu.gcc.help
[Top] [All Lists]

Re: Using STL without exceptions

Subject: Re: Using STL without exceptions
From: Andi <aanderegg@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 8 Jul 2008 23:21:30 -0700 (PDT)
Newsgroups: gnu.gcc.help

> Hi Andi,
>
> I'm not the one who can answer your question correctly but I can see
> the error message that
>
> C:\Nemo\Software\OS\rtptest/main.cpp:14: undefined reference to
> `std::exception::_Raise() const'
>
> The error is from 14th line of main.cpp. That's all I can think
> about.
>
> I have a question for you. Why do you want not to use fno_exceptions
> and fno_rtti? Is there any benefit by avoiding exceptions and rtti?
>
> cheers,
> Alex Kim

Hi Alex,
The benefit is smaller code.
Andi

<Prev in Thread] Current Thread [Next in Thread>