[Bug c++/19279] wrong code due to name import from the implementation of the standard library

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Wed Jan 5 21:17:00 GMT 2005


------- 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" <gcc-bugzilla@gcc.gnu.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



More information about the Gcc-bugs mailing list