From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13550 invoked by alias); 13 Jul 2003 16:39:06 -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 13543 invoked by uid 48); 13 Jul 2003 16:39:06 -0000 Date: Sun, 13 Jul 2003 16:39:00 -0000 Message-ID: <20030713163906.13542.qmail@sources.redhat.com> From: "lloyd at randombit 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/msg01492.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 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?