This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/11474] -Wreturn-type should default to on when compiling C++


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11474



------- Additional Comments From lloyd at randombit dot net  2003-07-13 16:39 -------
Obviously I was wrong about it being an standard-mandated diagnostic (I suppose
I should have checked the standard first, I just assumed). However, if the
behavior when encoutering this is undefined, then a warning is fine as far as
the standard is concerned, correct?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]