From owner-freebsd-current@FreeBSD.ORG Sun Jun 29 11:42:36 2003 Return-Path: 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 BB75837B401; Sun, 29 Jun 2003 11:42:36 -0700 (PDT) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44C3E4401E; Sun, 29 Jun 2003 11:42:36 -0700 (PDT) (envelope-from leimy2k@mac.com) Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h5TIgYCR002311; Sun, 29 Jun 2003 11:42:34 -0700 (PDT) Received: from mac.com (adsl-33-225-56.jan.bellsouth.net [67.33.225.56]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 2.0) with ESMTP id h5TIfaNm009112; Sun, 29 Jun 2003 11:42:32 -0700 (PDT) In-Reply-To: <200306291837.h5TIbckY015162@mta7.pltn13.pbi.net> References: <200306291837.h5TIbckY015162@mta7.pltn13.pbi.net> Mime-Version: 1.0 (Apple Message framework v578) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <715BD000-AA61-11D7-92F6-0003937E39E0@mac.com> Content-Transfer-Encoding: 7bit From: David Leimbach Date: Sun, 29 Jun 2003 13:42:32 -0500 To: Jeffrey Hsu X-Mailer: Apple Mail (2.578) cc: freebsd-current@FreeBSD.org cc: abowhill@blarg.net Subject: Re: errors under g++ 3.2.2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jun 2003 18:42:37 -0000 On Sunday, June 29, 2003, at 1:44PM, Jeffrey Hsu wrote: >> file IO using gives error messages about implicit typenames >> being deprecated, and I can't for the life of me figure out what to do >> my code to make the compiler happy > > Change your /usr/include/g++/fstream as follows: Can someone commit this change so we don't all have to do this every time we rebuild? :) I think there might be other offending headers too. Dave > > --- /usr/include/g++/fstream Sun Jun 29 09:17:46 2003 > +++ fstream Sun Jun 29 11:33:38 2003 > @@ -299,12 +299,12 @@ > > // Generic definitions. > template > - basic_filebuf<_CharT, _Traits>::int_type > + typename basic_filebuf<_CharT, _Traits>::int_type > basic_filebuf<_CharT, _Traits>::underflow() > { return _M_underflow_common(false); } > > template > - basic_filebuf<_CharT, _Traits>::int_type > + typename basic_filebuf<_CharT, _Traits>::int_type > basic_filebuf<_CharT, _Traits>::uflow() > { return _M_underflow_common(true); } > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org"