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]

RE: moneypunct problem


sorry for the false alarm... an incorrectly marked RPM
               on rufus.w3.org confused me. the below
case only
               happened on egcs 2.93.11. is there any
reason to make
               it consistent anyway?

               --- joel reed <joelreed@yahoo.com>
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



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