From owner-freebsd-current Sat Feb 8 10:17:36 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33F1637B401 for ; Sat, 8 Feb 2003 10:17:35 -0800 (PST) Received: from habanero.hesketh.net (habanero.hesketh.net [66.45.6.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46CE743F3F for ; Sat, 8 Feb 2003 10:17:34 -0800 (PST) (envelope-from brent@mutt.rcfile.org) Received: from mutt.rcfile.org (rdu57-229-060.nc.rr.com [66.57.229.60]) by habanero.hesketh.net (8.12.6/8.12.6) with ESMTP id h18IHUfx027388 for ; Sat, 8 Feb 2003 13:17:30 -0500 X-Received-From: brent@mutt.rcfile.org X-Delivered-To: X-Spam-Filter: check_local@habanero.hesketh.net by digitalanswers.org Received: from mutt.rcfile.org (localhost [127.0.0.1]) by mutt.rcfile.org (8.12.6/8.12.6) with ESMTP id h18IHaXD014145 for ; Sat, 8 Feb 2003 13:17:36 -0500 (EST) (envelope-from brent@mutt.rcfile.org) Received: (from brent@localhost) by mutt.rcfile.org (8.12.6/8.12.6/Submit) id h18IHaLZ014144 for freebsd-current@freebsd.org; Sat, 8 Feb 2003 13:17:36 -0500 (EST) Date: Sat, 8 Feb 2003 13:17:36 -0500 From: Brent Verner To: freebsd-current@freebsd.org Subject: gcc-3.2.1 and c++ headers Message-ID: <20030208181736.GA14066@rcfile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-muttrc: $Id: .muttrc,v 1.10 2003/02/08 08:35:24 brent Exp $ X-uname: FreeBSD 4.7-STABLE #32: Tue Feb 4 11:04:18 EST 2003 root@mutt.rcfile.org:/usr/obj/usr/src/sys/MUTTS User-Agent: Mutt/1.5.3i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In trying to compile the most recent native jdk-1.4.1, I noticed that compiling with the header didn't work. // ** won't link ** #include // ** works ** // #include // ** works ** // #include // using namespace std; int main(){ return 1; } void xxx (ostream& os) { os << ' '; os << "out\n"; } This code will compile on 4.7-stable (gcc-2.95), and on debian/linux (gcc-3.2.2) with a #warning. I am aware that the <$HEADER.h> includes are deprecated, but is there any intent to allow the deprecated headers to work with the system compiler (gcc-3.2.1), or should any affected apps be considered broken (on 5.0-current)? thanks. brent -- "Develop your talent, man, and leave the world something. Records are really gifts from people. To think that an artist would love you enough to share his music with anyone is a beautiful thing." -- Duane Allman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message