This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] include macro name in "ISO C99 requires rest arguments to be used"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]