From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 105954 invoked by alias); 8 May 2018 12:02:38 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 105213 invoked by uid 89); 8 May 2018 12:02:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:482 X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 08 May 2018 12:01:58 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 2B5BAAE32; Tue, 8 May 2018 12:01:56 +0000 (UTC) From: Andreas Schwab To: Florian Weimer Cc: Jonathan Wakely , Andrew Haley , gcc@gcc.gnu.org Subject: Re: [RFC] Deprecate "implicit int" for main() in C++ References: <20180425122305.GS20930@redhat.com> <7039f928-e50b-1f75-4f71-70fda5873ab0@redhat.com> <20180425144008.GU20930@redhat.com> <1eda6680-f574-7637-42dd-4309dacb012e@redhat.com> X-Yow: INSIDE, I have the same personality disorder as LUCY RICARDO!! Date: Tue, 08 May 2018 12:02:00 -0000 In-Reply-To: <1eda6680-f574-7637-42dd-4309dacb012e@redhat.com> (Florian Weimer's message of "Tue, 8 May 2018 13:35:57 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2018-05/txt/msg00056.txt.bz2 On Mai 08 2018, Florian Weimer wrote: > I wonder if it's currently a warning because the implicit int is used in > configure checks. Is it? At least in the GCC sources I couldn't find any occurence of main without a preceding int. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."