This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: num_get<>::do_get (overflow/underflow - question)
- To: kabatek@chemie.uni-halle.de
- Subject: Re: num_get<>::do_get (overflow/underflow - question)
- From: Benjamin Kosnik <bkoz@cygnus.com>
- Date: Mon, 3 May 1999 01:54:38 -0700 (PDT)
- cc: libstdc++@sourceware.cygnus.com
> I compiled the current libstdc++ source last week.
> On my machine the simple 'std::cout << "Hello, world!"' does not work.
> The executable starts and... nothing occurs :_(
> Prehaps the last egcs snapshot I used (egcs-1.1.2 does not compile the
> library) has a bug?
today's cvs snapshot for a linux-hosted build works. What host are you
using, and I'll check it.
> > If you can get away with it, no defines please. I'd rather you just check
> > the returned value (_v) against INT_MIN and INT_MAX.
> >
> The reason for what I wrote this example was to get the faster solution
> for 'int' on machines where sizeof(int) == sizeof(long).
Yes, perhaps it would be faster. Just send a patch and a ChangeLog.
-Benjamin