public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Paolo Carlini <pcarlini@unitus.it>
To: eziolkow@pit.edu.pl
Cc: gcc@gcc.gnu.org
Subject: Re: namespaces
Date: Thu, 25 Apr 2002 03:13:00 -0000	[thread overview]
Message-ID: <3CC7D2E9.8010407@unitus.it> (raw)
In-Reply-To: <3CC7D0CF.F942BAD8@pit.edu.pl>

eziolkow@pit.edu.pl wrote:

>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 ?
>

My suggestion would be that of upgrading to gcc 3.0.4 or, in a few days, 
3.1.0, whose run time library is fully namespace aware.

Ciao, Paolo.



  parent reply	other threads:[~2002-04-25  9:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-25  2:54 namespaces eziolkow
2002-04-25  2:56 ` namespaces Gerald Pfeifer
2002-04-25  3:13 ` Paolo Carlini [this message]
  -- 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=3CC7D2E9.8010407@unitus.it \
    --to=pcarlini@unitus.it \
    --cc=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).