Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Header guard format

The latest CDT from master (https://hudson.eclipse.org/cdt/job/cdt-master/lastSuccessfulBuild/artifact/releng/org.eclipse.cdt.repo/target/org.eclipse.cdt.repo.zip) has a configurable preference for selecting include guard format.

-sergey


On Tue, Jul 1, 2014 at 2:53 PM, Alec Teal <a.teal@xxxxxxxxxxxxx> wrote:
Hello again,

I'd quite like a header guard (I know you can configure it, but you cannot configure it to do this) that I could be sure would be automatically unique across files.

Right now if I have an ... say a.h in one directory, and another a.h their header guards may (will) clash.

I did find an "undocumented fix" but it didn't work. It'd be really nice to have this, or something that inserted the current time in seconds after the guard, that way I could be confident the guard is unique. I rarely need that confidence of course, but this has bit me at least twice.

Alec
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top