From owner-freebsd-hackers Sat Mar 30 5:18:21 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 5743F37B405 for ; Sat, 30 Mar 2002 05:18:05 -0800 (PST) Received: from pool0093.cvx21-bradley.dialup.earthlink.net ([209.179.192.93] helo=mindspring.com) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16rIj7-0001o9-00; Sat, 30 Mar 2002 05:17:01 -0800 Message-ID: <3CA5BAB6.141A1CE0@mindspring.com> Date: Sat, 30 Mar 2002 05:16:38 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Simon 'corecode' Schubert Cc: hackers@freebsd.org, alexander@leidinger.net Subject: Re: lang/icc doesn't compile c++ sources References: <20020330130126.161bd651.corecode@corecode.ath.cx> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Simon 'corecode' Schubert wrote: > just a simple echo '#include' > 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' > comp.cc +echo '#include ' > 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