delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/01/04:04:53

Date: Tue, 1 Apr 1997 10:54:45 +0200 (MET DST)
From: Miguel Murillo <mmurillo AT ideafix DOT cps DOT unizar DOT es>
To: John Wong <johnw AT ecs DOT school DOT net DOT hk>
cc: djgpp AT delorie DOT com
Subject: Re: Undefined cout?
In-Reply-To: <Pine.LNX.3.93.970401115203.12541B-100000@ecs.school.net.hk>
Message-ID: <Pine.LNX.3.95.970401105334.22295C-100000@ideafix.cps.unizar.es>
MIME-Version: 1.0


> gcc returns the following statements:
> 
> test.cc(.text+0x5e): undefined reference to `cout'
> test.cc(.text+0x63): undefined reference to `ostream::operator<<(int)'
> test.cc(.text+0x6e): undefined reference to `ostream::operator<<(char)'


Use g++ and not gcc.


- Raw text -


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