iomanip problem

Xiaomao Xiao xiao@cmold.com
Sat Jul 18 07:38:00 GMT 1998


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
=================================================================



More information about the Gcc mailing list