public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/16817] New: Unfortunate choice of header guard names in stl include files
@ 2004-07-29  8:14 ed dot rice at pgs dot com
  2004-07-30  1:54 ` [Bug libstdc++/16817] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: ed dot rice at pgs dot com @ 2004-07-29  8:14 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug libstdc++/16817] Unfortunate choice of header guard names in stl include files
  2004-07-29  8:14 [Bug libstdc++/16817] New: Unfortunate choice of header guard names in stl include files ed dot rice at pgs dot com
@ 2004-07-30  1:54 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-30  1:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-30 01:54 -------
Not a bug really:
         -- All  identifiers  that  begin  with  an  underscore and
            either an uppercase letter or  another  underscore  are
            always reserved for any use.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-30  1:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-29  8:14 [Bug libstdc++/16817] New: Unfortunate choice of header guard names in stl include files ed dot rice at pgs dot com
2004-07-30  1:54 ` [Bug libstdc++/16817] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).