From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30521 invoked by alias); 5 Jan 2005 21:17:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 30477 invoked by alias); 5 Jan 2005 21:17:56 -0000 Date: Wed, 05 Jan 2005 21:17:00 -0000 Message-ID: <20050105211756.30474.qmail@sourceware.org> From: "gdr at integrable-solutions dot net" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050105201727.19279.o.kullmann@swansea.ac.uk> References: <20050105201727.19279.o.kullmann@swansea.ac.uk> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/19279] wrong code due to name import from the implementation of the standard library X-Bugzilla-Reason: CC X-SW-Source: 2005-01/txt/msg00532.txt.bz2 List-Id: ------- Additional Comments From gdr at integrable-solutions dot net 2005-01-05 21:17 ------- Subject: Re: wrong code due to name import from the implementation of the standard library "pinskia at gcc dot gnu dot org" writes: | This is a dup of bug 6257. Yes this is a known problem, basically | read about the c* files and how namespaces are done. But another | thing is close is not part of the C or C++ standard IIRC but part of | the POSIX standard so this gets confusing. For the latter reason, this bug is not in the realm of GCC, and much less of g++ or libstdc++. This issue has to be taken up to system packagers and POSIX people as they have managed to produce conflicting requirements leading to fear, uncertainty and doubts about well thought systems and programs. And that is a pain in the ass. I can understand the submitter's frustration. Personaly, yesterday I wasted time looking for causes of build failure in the Axiom computer algebra system http://www.nongnu.org/axiom/ only to figure out that some glibc-based systems have taken the right to hijack names in user name space (in my case, some macros "likely" and "unlikely" were defined!) http://lists.nongnu.org/archive/html/axiom-developer/2005-01/msg00040.html -- Gaby -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19279