[RFC] Deprecate "implicit int" for main() in C++

Andreas Schwab schwab@suse.de
Tue May 8 12:02:00 GMT 2018


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."



More information about the Gcc mailing list