This is the mail archive of the
mailing list for the Cygwin project.
Re: Homogenizing include guards - and copyright comments
Benjamin Riefenstahl wrote:
> Hi Glenn, Max,
> Glenn Fowler <firstname.lastname@example.org> 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.