Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Mar 2002 05:16:38 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Simon 'corecode' Schubert <corecode@corecode.ath.cx>
Cc:        hackers@freebsd.org, alexander@leidinger.net
Subject:   Re: lang/icc doesn't compile c++ sources
Message-ID:  <3CA5BAB6.141A1CE0@mindspring.com>
References:  <20020330130126.161bd651.corecode@corecode.ath.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
Simon 'corecode' Schubert wrote:
> just a simple echo '#include<iostream>' > comp.cc
> won't compile. i've tested the include files of
> o icc
> o gcc 2.95.3 (the one from my base system, 4.5-S)
> o gcc 3.0.4 (from the ports)
> 
> each one gives me a different error.
> 
> did anybody already solve this problem (by creating new headers?)
> if so, please tell me!
> 
> if not, i'd like to work on that, but i don't know where to start.

Try this patch:

--- bad Sat Mar 30 05:18:02 2002
+++ good        Sat Mar 30 05:18:23 2002
@@ -1 +1,2 @@
-echo '#include<iostream>' > comp.cc
+echo '#include <iostream>' > comp.cc
+echo 'main() {}' >> comp.cc


8-) 8-) 8-)

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CA5BAB6.141A1CE0>