This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [c++] builtin functions and namespaces


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]