bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: spurious comma in sys/chown-core.c


From: Andreas Schwab
Subject: Re: spurious comma in sys/chown-core.c
Date: Mon, 21 Feb 2005 18:13:52 +0100
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/22.0.50 (gnu/linux)

Daniel Reed <address@hidden> writes:

> On 2005-02-20T23:10-0800, Paul Eggert wrote:
> ) -    RC_error,
> ) +    RC_error
>
> The comma is unnecessary but not illegal in C89 (confirmed by compiling
> using gcc -std=c89).

Try -pedantic.  The trailing comma is a C99 addition.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]