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: [RFA] Implement __VA_OPT__


On Sun, Nov 12, 2017 at 2:33 AM, Tom Tromey <tom@tromey.com> wrote:
> I'm still [not] too happy with the error message, so if you have any
> suggestions there, please let me know.  I removed the "C99" branch from
> the earlier error message as well, since this isn't a C feature at all.
> Again, please check the wording.

I'm ambivalent about mentioning the standard level.  And I find the
use of "expansion" in this and the existing __VA_ARGS__ error odd, as
expansion is what you *do* with a macro; I'd prefer "definition".

But I suppose we might as well be consistent with the existing error.

The patch is OK, thanks.

Jason


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