This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [c++] builtin functions and namespaces
- To: loewis at informatik dot hu-berlin dot de
- Subject: Re: [c++] builtin functions and namespaces
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Thu, 28 Sep 2000 08:13:18 -0700
- Cc: brent at rcfile dot org, bkoz at redhat dot com, gcc-bugs at gcc dot gnu dot org, libstdc++ at sources dot redhat dot com, jason at cygnus dot com
- Organization: CodeSourcery, LLC
- References: <200009271439.QAA29442@pandora.informatik.hu-berlin.de>
>>>>> "Martin" == Martin von Loewis <loewis@informatik.hu-berlin.de> writes:
Martin> P.S. As a side note: functions should be considered
Martin> equivalent if they have the same name and are both extern
Martin> "C". I'm not sure whether this is done correctly.
Really? I thought this was one of those odd things in the standard
where you could put an extern "C" function in a namespace, and it
semantically was there, but if you actually had two such functions you
got undefined behavior.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com