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

Re: NMU in incoming for libsndfile



Jeff Licquia <jlicquia@progeny.com> writes:
> H. S. Teoh wrote:

>> Also, I'm getting another message (which may not be autoconf-related, but
>> just in case you have an idea what's going on):
>> 
>> 	/usr/include/bits/confname.h:565: warning: comma at end of enumerator list
>> 
>> Not sure what that is, could it just be a pedantic gcc warning?
> 
> That would be a bug in libc6-dev.  The code snippet:
> 
> #if (defined __USE_POSIX2 || defined __USE_UNIX98 \
>      || defined __USE_FILE_OFFSET64 || defined __USE_LARGEFILE64 \
>      || defined __USE_LARGEFILE)
> /* Values for the NAME argument to `confstr'.  */
> enum
>   {
>     _CS_PATH,                   /* The default search path.  */
> #define _CS_PATH                _CS_PATH
> 
> [lots of defined stuff here]
> 
>     _CS_V6_WIDTH_RESTRICTED_ENVS,
> # define _CS_V6_WIDTH_RESTRICTED_ENVS   _CS_V6_WIDTH_RESTRICTED_ENVS
>   };
> 
> It seems to already be filed (113816), so I expect it won't be a
> problem for long.

Describing it as a libc bug seems wrong; enumeration definitions are
allowed the trailing comma in C.

-- 
http://www.greenend.org.uk/rjk/



Reply to: