[c++] builtin functions and namespaces

Mark Mitchell mark@codesourcery.com
Thu Sep 28 08:13:00 GMT 2000


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


More information about the Gcc-bugs mailing list