This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] PR 67065 ("Missing diagnostics for ill-formed program with main variable instead of function")
- From: Markus Trippelsdorf <markus at trippelsdorf dot de>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Jason Merrill <jason at redhat dot com>
- Date: Fri, 21 Aug 2015 11:23:43 +0200
- Subject: Re: [C++ Patch] PR 67065 ("Missing diagnostics for ill-formed program with main variable instead of function")
- Authentication-results: sourceware.org; auth=none
- References: <55D4DD2D dot 3070500 at oracle dot com> <20150821061830 dot GB399 at x4> <20150821063050 dot GC399 at x4> <55D6E691 dot 1000308 at oracle dot com> <55D6EA2C dot 2090400 at oracle dot com>
On 2015.08.21 at 11:06 +0200, Paolo Carlini wrote:
> ... I'm testing the below. So far appears to work well for me.
Yes for me, too. Firefox now builds without any issues.
So emitting an error (like clang) is fine after all.
Thanks.
--
Markus