This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

iomanip problem


Hi there:

I am trying to use some functions in the iomanip.h wigh egcs.  The compile of
the program seems to be ok.  But the linking stage produces error messages like
the following one:

xxx.o:xxx.hpp:line number:undefined reference to `operator<<(ostream &,
smanip<int> const &)'

The undefined reference is setw().

Anybody has any hints?

Thanks.

-- 

Xiaomao

=================================================================
Xiaomao (Mark) Xiao                  E-Mail: xiao@cmold.com
C-MOLD                                  TEL: (607) 257-4949 x 699
31 Dutch Mill Road                      FAX: (607) 257-6355
Ithaca, NY 14850                        URL: http://www.cmold.com
=================================================================


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