This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Deprecate "implicit int" for main() in C++
- From: Andreas Schwab <schwab at suse dot de>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: Jonathan Wakely <jwakely at redhat dot com>, Andrew Haley <aph at redhat dot com>, gcc at gcc dot gnu dot org
- Date: Tue, 08 May 2018 14:01:55 +0200
- 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>
On Mai 08 2018, Florian Weimer <fweimer@redhat.com> 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."