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

List:       kdevelop-bugs
Subject:    [Bug 83975] New: Templates use reserved names as include guards
From:       kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date:       2004-06-25 8:39:41
Message-ID: 20040625083941.1243.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      
           Summary: Templates use reserved names as include guards
           Product: kdevelop
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: bartoschek gmx de


Version:            (using KDE KDE 3.2.3)
Installed from:    Compiled From Sources

Several c++ application templates use reserved macro names as include guards.

kdevelop/languages/cpp/app_templates/kbearimportfilter/plugin.h
uses for example

#define __KBEAR_%{APPNAMEUC}_IMPORT_FILTER_H__

Macros starting with a underscore are reserved to the implementation. More \
information can be found in the c++ standard  §17.4.3.1.2.


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

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