This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Exception(al) Failure


According to Benjamin Kosnik:
> > #include <iostream>
> > #include <string>
> > using namespace std;
> > main()
> > {
> >     try { throw string("x"); }
> >     catch (const string &s) { cout << s << endl; }
> > }
> 
> seems to work fine for me. I tried this with CVS libstdc++ and gcc-2.95.2
> and CVS egcs.

Hm.  Could -fsquangle or -fhonor-std somehow interfere with exception
handling?
-- 
Chip Salzenberg             - a.k.a. -              <chip@valinux.com>
     "Fleagal.  Bingo.  Drooper.  Snork.  They're cops."   //MST3K

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]