bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] argp and MinGW


From: Paul Eggert
Subject: Re: [bug-gnulib] argp and MinGW
Date: Fri, 20 Oct 2006 23:20:54 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Bruno Haible <address@hidden> writes:

>       * lib/argp.h (argp_parse, __argp_parse): Use _argc, _argv as argument
>       names, not __argc, __argv. (The latter are defined as macros on mingw.)

glibc headers must also be robust against user code that does "#define
_argc some_weird_macro" as well.  This is because the C standard
reserves single-underscore identifiers like _argc only for use as
identifiers with file scope in the ordinary and tag name spaces.

I suppose you can use /*argc*/ instead....




reply via email to

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