This is the mail archive of the libstdc++@gcc.gnu.org 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]
Other format: [Raw text]

Re: gettext markup of library sources


On Mon, Apr 21, 2003 at 02:54:34PM -0500, Benjamin Kosnik wrote:
> I'm not quite sure how reliable any of these bad, bad, bad names are in
> this day and age. Perhaps somebody should review it, and confirm it is
> still relevant before libstdc++ departs from standard usage. I believe
> we all agree that that should only be done if absolutely necessary.

_N is still in use under Solaris 8.  Pity.


> However, these __throw_* functions are just wrappers, so that
> -fno-exceptions can be used.  See src/functexcept.cc. That might be a
> better place to put this translation machinery, since we know that all
> exceptions go through this choke point already...
> 
>   void
>   __throw_length_error(const char* __s)
>   { throw length_error(__s); }
> 
> can be
> 
>   void
>   __throw_length_error(const char* __s)
>   { throw length_error(_(__s)); }

That's almost exactly what I tried, with no joy.  I was having difficulty
with textdomain just being ignored, but that could just be me.


Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams


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