www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/08/19/22:18:16

Date: Sat, 19 Aug 1995 21:43:45 -0400
To: djgpp AT sun DOT soe DOT clarkson DOT edu
From: egley AT albany DOT net (Skip Egley)
Subject: undefined reference to endl

        
I'm getting an undefined reference to endl.   Actually, I'm getting it for
all kinds of ostream objects, but I think if this one's fixed the rest will
be fixed also.
Specifically it says:
"undefined reference to 'endl(ostream &)'

I'm including the iostream.h file.
I've looked in the iostream.h file and it has
"extern ostream& endl(ostream& outs);"

What am I doing wrong?

Thanks,
Skip Egley

- Raw text -


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