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 bangerth at dealii dot org  2003-07-14 14:40 -------
What's wrong with asking people to please compile their code with -W -Wall?
There are good reasons for most of the warning flags we have, so people should
just learn to use warning flags. It's not gcc's task to _think_  for
programmers unless they specifically ask for it.

By the same argument, we also don't switch on optimizations by default, but ask
people to do so explicitly on the command line.

W.


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