From: eziolkow@pit.edu.pl
To: gcc@gcc.gnu.org
Subject: namespaces
Date: Thu, 25 Apr 2002 02:54:00 -0000 [thread overview]
Message-ID: <3CC7D0CF.F942BAD8@pit.edu.pl> (raw)
I have some problem with using 'map'' container from STL when I
include file '/usr/include/net/if.h' on
SunOS 5.8 and with gcc 2.95.2 19991024 . That's because mentioned file
contains another type called 'map'', what conducts to the name
conflict.
When I investigated why 'std' namespace doesn't resolve this trouble, I
discovered that for my compiler in
file 'stl_config.h' is macro instruction (using __GNUC__ and
__GNUC_MINOR__ macro definition), which defines __STL_NO_NAMESPACES__.
As a result, 'std' namespace does not exists.
How are your suggestion to overcome this problem ?
King regards,
Eligiusz Ziolkowski
next reply other threads:[~2002-04-25 9:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-25 2:54 eziolkow [this message]
2002-04-25 2:56 ` namespaces Gerald Pfeifer
2002-04-25 3:13 ` namespaces Paolo Carlini
-- strict thread matches above, loose matches on Subject: below --
1998-05-08 19:52 namespaces Mike Stump
1997-11-29 5:43 namespaces Andrew Veliath
1997-11-29 15:18 ` namespaces Andrew Veliath
1997-09-05 18:51 namespaces Mike Stump
1997-09-05 18:40 namespaces scottm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3CC7D0CF.F942BAD8@pit.edu.pl \
--to=eziolkow@pit.edu.pl \
--cc=gcc@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).