[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 83975] Templates use reserved names as include guards
From:       kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date:       2005-10-21 7:11:54
Message-ID: 20051021071154.18426.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=83975         




------- Additional Comments From bartoschek gmx de  2005-10-21 09:11 -------
There is no compiler that checks this rule and I guess there will never be one. 

But this rule might prevent some headaches in the future when the compiler vendor \
chooses a name used in the program. For example our internal list implementation used \
_LIST_H as include guard. This worked until we upgraded to a newer GCC version.

However one can be sure that the compiler vendor never chooses a name without a \
leading underscore.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic