This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: moneypunct problem with egcs 1.1.2 and libstdc++-2.90.4
- To: joel reed <joelreed@yahoo.com>
- Subject: Re: moneypunct problem with egcs 1.1.2 and libstdc++-2.90.4
- From: Benjamin Kosnik <bkoz@cygnus.com>
- Date: Mon, 29 Mar 1999 12:52:56 -0800 (PST)
- cc: libstdc++@sourceware.cygnus.com
What can I use to reproduce your problem? Making things consistent is a good
reason for a change, however I'm not certain of the problem. Can you post
specifics?
It might make more sense to add an "inherited" typedef section (much as
basic_istream does with types inherited from basic_ios) for the pattern
type. While you're at it, delete the "inline" on the out-of-line
definitions, it's extraneous. . .
-Benjamin
On Sun, 28 Mar 1999, joel reed wrote:
> it seems AFAIK that egcs 1.1.2 doesn't like the fact
> that in the declaration of _Moneypunct in locfacets.h
> we have...
>
>
> inline pattern pos_format() const;
> inline pattern neg_format() const;
> inline pattern do_pos_format() const;
> inline pattern do_neg_format() const;
>
> but when we define those member functions...
>
> inline money_base::pattern pos_format() const;
> inline money_base::pattern neg_format() const;
> inline money_base::pattern do_pos_format() const;
> inline money_base::pattern do_neg_format() const;
>
> i get a prototype doesn't match error.
>
> however when i change the declarations in class
> _Moneypunct to read money_base::pattern it compiles.
>
> am i configure'd incorrectly? bug in libstdc++?
> jwr
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>