Re: <ftream> errors under g++ 3.2.2

From: David Leimbach (leimy2k_at_mac.com)
Date: 06/29/03

  • Next message: Peter Wemm: "Re: [-CURRENT tinderbox] failure on amd64/amd64"
    Date: Sun, 29 Jun 2003 13:42:32 -0500
    To: Jeffrey Hsu <hsu@FreeBSD.org>
    
    

    On Sunday, June 29, 2003, at 1:44PM, Jeffrey Hsu wrote:

    >> file IO using <fstream> 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 <typename _CharT, typename _Traits>
    > - basic_filebuf<_CharT, _Traits>::int_type
    > + typename basic_filebuf<_CharT, _Traits>::int_type
    > basic_filebuf<_CharT, _Traits>::underflow()
    > { return _M_underflow_common(false); }
    >
    > template <typename _CharT, typename _Traits>
    > - 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"

    _______________________________________________
    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"


  • Next message: Peter Wemm: "Re: [-CURRENT tinderbox] failure on amd64/amd64"

    Relevant Pages

    • Re: HEADS UP! KSE needs more attention
      ... >> I'll probably try to commit some kind of TLS support into current in the ... Our compiler always generates code like this: ... To unsubscribe, ...
      (freebsd-current)
    • <ftream> errors under g++ 3.2.2
      ... and I can't for the life of me figure out what to do ... > my code to make the compiler happy ... // Generic definitions. ... To unsubscribe, ...
      (freebsd-current)
    • RE: Trouble with compound regular expression matching
      ... I need to check if a file is either a TIFF or JPEG graphics file. ... (Case-insensitive variations of qualifying suffixes would be .tif, ... "There are only two ways to live your life. ... To unsubscribe, e-mail: beginners-unsubscribe@perl.org ...
      (perl.beginners)
    • Re: whats up with all the attitude
      ... But what's with all the attitude people flash around ... This is just one of those parts of life where the best advice is to ... Amateur radio exams; ham radio; Linux info @ | free since January 1998. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: backup archive format saved to disk
      ... If there was a prospect of reviving the compiler (I suspect it's not ... run a computer installation during the mainframe era that are ... marketing server consolodation and virturalizing everything but that's ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)