[LLVMdev] extern "C" and namespaces

Joerg Sonnenberger joerg at britannica.bec.de
Thu Sep 19 17:17:57 PDT 2013


On Thu, Sep 19, 2013 at 11:50:52PM +0000, Riyaz Puthiyapurayil wrote:
> Can someone confirm whether the following is a known clang bug?

I don't think it is a clang bug. If you really want to force both instances
of g to refer to the same function, use asm("g") for one of them. "g++
accepts it" is not a very good measurement for whether something is
legal or sensible.

Joerg



More information about the llvm-dev mailing list