http://llvm.org/bugs/show_bug.cgi?id=16407
David Blaikie <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |INVALID --- Comment #1 from David Blaikie <[email protected]> --- (maybe someone else will chime in that this is a reasonable extension, but until then...) "extern "C"" doesn't actually change the language, just the linkage/mangling of externally visible entities, so this behavior is 'by design' - the code is still C++ code & that conversion is still invalid. GCC does support this under -fpermissive, but Clang doesn't seem to have any support for this flag at all. Arguably it could be added for compatibility. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
