From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 15 11:01:18 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D58FE16A4CE; Mon, 15 Mar 2004 11:01:18 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1ADD43D2F; Mon, 15 Mar 2004 11:01:18 -0800 (PST) (envelope-from llewelly@xmission.com) Received: from [198.60.22.201] (helo=mgr1.xmission.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 1B2xKv-00022h-02; Mon, 15 Mar 2004 12:01:17 -0700 Received: from [198.60.22.20] (helo=xmission.xmission.com) by mgr1.xmission.com with esmtp (Exim 4.30) id 1B2xKv-0007Ga-Pw; Mon, 15 Mar 2004 12:01:17 -0700 Received: from llewelly by xmission.xmission.com with local (Exim 3.35 #1 (Debian)) id 1B2xKv-0004v5-00; Mon, 15 Mar 2004 12:01:17 -0700 To: David Gilbert References: <16468.65270.123954.862565@canoe.dclg.ca> <20040315013817.GA68381@crodrigues.org> <16469.3340.625290.632134@canoe.dclg.ca> <20040315102516.GH15687@atrbg11.informatik.tu-muenchen.de> <16469.46609.293027.840180@canoe.dclg.ca> From: llewelly@xmission.com Date: 15 Mar 2004 12:01:16 -0700 In-Reply-To: Message-ID: Lines: 27 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Sender: Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mgr1.xmission.com X-Spam-Level: X-Spam-Status: No, hits=0.3 required=8.0 tests=NO_REAL_NAME autolearn=no version=2.63 X-SA-Exim-Mail-From: llewelly@xmission.com X-SA-Exim-Version: 3.1 (built Wed Aug 20 09:38:54 PDT 2003) X-SA-Exim-Scanned: Yes cc: Craig Rodrigues cc: freebsd-current@freebsd.org cc: freebsd-hackers@freebsd.org Subject: Re: GCC include files conundrum. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 19:01:19 -0000 llewelly@xmission.com writes: [snip] > As far as 'being compatible' goes, there is a gcc 2.95.3 port > (/usr/ports/lang/gcc295), and if it is still being maintained, I > would suggest any port which doesn't build with gcc 3.3.x be > modified to be use and require that port, after emiting a warning > of some kind, saying that gcc 2.95 won't be around forever, and > the port will have to be fixed soon. I just checked, and on my > 5.2p2 box, gcc295 still builds. But surely someone already thought > of this, and decided that making ports build with gcc 3.3.3 was > better than making them use and require the gcc295 port, which, > after all, will only become harder to maintain over time. [snip] Replying to myself, I just tried hacking audio/tclmidi to use and require lang/gcc295, and it does not build with the gcc295 port. /usr/local/bin/g++295 -c -O -pipe -mcpu=pentiumpro -DHAVE_UNISTD_H=1 +-DHAVE_SYS_TIME_H=1 -DHAVE_SYS_FILIO_H=1 -DTIME_WITH_SYS_TIME=1 +-DRETSIGTYPE=void -I/usr/local/include/tcl8.2 -fpic SMFTrack.cxx SMFTrack.cxx: In function `class ostream & operator <<(ostream &, const SMFTrack &)': SMFTrack.cxx:364: `::_Ios_Fmtflags' undeclared (first use here) SMFTrack.cxx:364: parse error before `;' SMFTrack.cxx:371: `prev_flags' undeclared (first use this function) SMFTrack.cxx:371: (Each undeclared identifier is reported only once SMFTrack.cxx:371: for each function it appears in.) *** Error code 1