From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24755 invoked by alias); 13 Jul 2003 07:40:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 24748 invoked by alias); 13 Jul 2003 07:40:22 -0000 Date: Sun, 13 Jul 2003 07:40:00 -0000 Message-ID: <20030713074022.24747.qmail@sources.redhat.com> From: "gdr at integrable-solutions dot net" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030709142428.11474.lloyd@randombit.net> References: <20030709142428.11474.lloyd@randombit.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/11474] -Wreturn-type should default to on when compiling C++ X-Bugzilla-Reason: CC X-SW-Source: 2003-07/txt/msg01476.txt.bz2 List-Id: 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 gdr at integrable-solutions dot net 2003-07-13 07:40 ------- Subject: Re: New: -Wreturn-type should default to on when compiling C++ "lloyd at randombit dot net" writes: | This is pretty simple - when using C++, -Wreturn-type should a) always be on, | and b) always cause an error, since not returning correctly from the function | is ALWAYS an error in C++ The last statement is untrue. -- Gaby