delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/06/03/12:54:07

From: Albert DOT Koelmans AT newcastle DOT ac DOT uk (Albert Koelmans)
Subject: g++ question: 'smanip' error message
3 Jun 1998 12:54:07 -0700 :
Message-ID: <AA08863.9806030746.cygnus.gnu-win32@slug.ncl.ac.uk>
Reply-To: Albert DOT Koelmans AT newcastle DOT ac DOT uk
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com (GNU win32 mailing list)

I am trying to compile someone else's C++ code. Everything goes well until
the link phase, when I get the error message

  undefined reference to 'operator<<(ostream &, smanip<int> const &)'

This operator appears to be present in libstdc++.a, but linking with this
library makes no difference. Any pointers greatly appreciated - I'm no C++
guru and I'm stumped.

Thanks

Albert

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019