This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/16817] New: Unfortunate choice of header guard names in stl include files
- From: "ed dot rice at pgs dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jul 2004 08:14:40 -0000
- Subject: [Bug libstdc++/16817] New: Unfortunate choice of header guard names in stl include files
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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