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]

moneypunct problem with egcs 1.1.2 and libstdc++-2.90.4


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



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