> -----Original Message-----
> From: Martin Sebor [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 19, 2008 6:46 PM
> To: [email protected]
> Subject: Re: svn commit: r638369 - in /stdcxx/trunk/include:
> loc/_num_get.cc loc/_num_get.h rw/_iosfwd.h
>
> > URL: http://svn.apache.org/viewvc?rev=638369&view=rev
> > Log:
> > 2008-03-18 Farid Zaripov <[EMAIL PROTECTED]>
> >
> > * include/loc/_num_get.cc (num_get::get): Code checking
> for overflow moved from here...
> > * include/loc/num_get.h
> (_rw_check_overflow_{short|int}): ... to here.
> > * include/rw/_iosfwd.h: Added new define
> _RWSTD_FMTFLAGS (used in _rw_check_overflow_{short|int}).
>
> It occurs to me: is this forward binary compatible? We're
> adding a function in this patch, even though it's inline, I
> suspect that in debug builds (w/o inlining) this will break
> when we replace 4.2.1 with 4.2.0. Have you tested it?
I have tested on MSVC 7.1 and found no problems. The
__rw_check_overflow_{short|int}()
are not exported from library and can't be called directly, only through
num_get<>::get().
Also I have tested on gcc/Linux and found no problems in forward and
backward compatibility.
Farid.