This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] include macro name in "ISO C99 requires rest arguments to be used"
- From: Tom Tromey <tromey at redhat dot com>
- To: Roland McGrath <roland at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 10 Sep 2010 16:31:07 -0600
- Subject: Re: [PATCH] include macro name in "ISO C99 requires rest arguments to be used"
- References: <20100728212014.1E5D9400DE@magilla.sf.frob.com>
>>>>> "Roland" == Roland McGrath <roland@redhat.com> writes:
Roland> The libcpp -pedantic warning "ISO C99 requires rest arguments to
Roland> be used" does not say which macro it refers to, which can make
Roland> it harder than necessary to navigate a deep nest of macros to
Roland> find the problem. Include the macro name in the error message.
I didn't see a reply to this.
Sorry for the delay on this, it got buried.
Roland> 2010-07-28 Roland McGrath <roland@redhat.com>
Roland> * macro.c (_cpp_arguments_ok): Include macro name in -pedantic warning.
This is ok. You didn't mention whether you regtested it, but I assume so.
If not, and it needs test suite fixes, those are ok too.
Tom