This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin 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: Homogenizing include guards - and copyright comments


Benjamin Riefenstahl wrote:
> Hi Glenn, Max,
>
>
> Glenn Fowler <gsf@research.att.com> writes:
>> implementation specific symbols, e.g. include guards, should begin
>> with '_' to avoid namespace pollution
>
> Pardon me if I try to clarify: By "implementation" you probably mean
> the compiler headers, like <stdio.h>, including POSIX headers like
> <sys/types.h>, and possibly also including the Windows API headers.
>
> From his example and as this discussion is in cygwin-apps, I thought
> Max was talking about setup.exe and/or similar stuff, which is
> user-level, non-"implementation" code AFAICS.
>
> Or I may be missing something ...

No, exactly right. As setup is an application, not a library, it is free to
use its namespace in any way it sees fit.


Max.


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