This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug libstdc++/16817] New: Unfortunate choice of header guard names in stl include files


The stl include files in 3.4.1 have header guard names that are likely to cause 
clashes with other software.  For example in include/c++/3.4.1/bits/stl_set.h 
the header guard is
#ifndef _SET_H
#define _SET_H_1

In version 3.3.3 these were much less likely to cause clashes; for example 
include/c++/3.3.3/bits/stl_set.h used header guards

#ifndef __GLIBCPP_INTERNAL_SET_H
#define __GLIBCPP_INTERNAL_SET_H

-- 
           Summary: Unfortunate choice of header guard names in stl include
                    files
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ed dot rice at pgs dot com
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16817


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