🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #2762

Q: Are member-enums in a global namespace?

#2762
From: Martin Kammerhofer
Date: Tue, 28 Nov 1995 13:09
18 lines
1546 bytes
Trying to compile some Open Inventor stuff on a SGI with a
cfront 2.1 derived compiler I ran into trouble.
SGI's Open Inventor header files frequently define enums as members and
use the SAME name.
cfront complains about that.
Any comments about what behaviour (member enums in a per class namespace
versus in a global namespace) is standard would be appreciated.

=====================================================================
=          Martin Kammerhofer <mkamm@icg.tu-graz.ac.at>             =
=  Institute for Computer Graphics - Graz University of Technology  =
=            Muenzgrabenstrasse 11, A-8010 Graz, Austria            =
=  Tel.: (43) (316) 84 17 66 - 13       Fax: (43) (316) 84 63 04    =
=====================================================================
---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID: <Pine.SGI.3.91.951128132605.22611A-100000@fcggsg06.tu-graz.ac.at>
Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back
Date: 28 Nov 95 13:09:23 GMT
Approved: fjh@cs.mu.oz.au
Organization: -
Newsgroups: comp.std.c++
X-Original-Date: Tue, 28 Nov 1995 13:33:30 +0100 (MET)
From: Martin Kammerhofer <mkamm@icg.tu-graz.ac.at>
Subject: Q: Are member-enums in a global namespace?
Message-ID: <Pine.SGI.3.91.951128132605.22611A-100000@fcggsg06.tu-graz.ac.at>
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBFAgUBMLsKDuEDnX0m9pzZAQF0hwF/X1ZrgadflOfXFV3lDNazmcJOJkjM/3cd
 NH3W6HgtquD/YDZnn/UV3NvPFnHJsAVu
 =ml8H