Re: <ftream> errors under g++ 3.2.2
From: Allan Bowhill (abowhill_at_blarg.net)
Date: 06/29/03
- Previous message: Tinderbox: "[-CURRENT tinderbox] failure on sparc64/sparc64"
- In reply to: Patrick Hartling: "Re: <ftream> errors under g++ 3.2.2"
- Next in thread: Markus Niemistö: "Re: <ftream> errors under g++ 3.2.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: "Patrick Hartling" <patrick@137.org> Date: Sun, 29 Jun 2003 14:56:20 -0700
> I do a lot of C++ development on -current, and I have been seeing these
> exact warnings. The problem is in the fstream header, however, so there
> is nothing you can do to your code to prevent the warnings. You could
> modify /usr/include/g++/fstream to silence the warnings, but it would
> get overwritten if you upgrade your system.
Oh good :) I was thinking there was something I needed to add to make the
code compliant.
> From your output, I don't see compile failures, I see warnings. Do you
> have -Werror turned on somewhere that wouldn't show up during normal
> usage--like some environment variable or something? I was able to
> compile and run your code without issue here.
>
> Honestly, I am surprised that a GCC header would have an implicit
> typename since the compiler clearly complains loudly about them. At any
> rate, I think the update to GCC 3.3 in -current is going to happen quite
> soon, and presumably, the updated GCC C++ headers will have warnings
> such as these fully eliminated.
You're right. These are warnings, and it does compile. I guess I got a bit
stuck on trying to determine why the messages were occuring.
Thanks for your comments.
--Allan
_______________________________________________
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"
- Previous message: Tinderbox: "[-CURRENT tinderbox] failure on sparc64/sparc64"
- In reply to: Patrick Hartling: "Re: <ftream> errors under g++ 3.2.2"
- Next in thread: Markus Niemistö: "Re: <ftream> errors under g++ 3.2.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|