[LLVMbugs] [Bug 7076] New: extern "C" handled like "extern"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 6 11:41:17 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7076

           Summary: extern "C" handled like "extern"
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: NetBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: m.drochner at fz-juelich.de
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


The error message tells it all:

version.cpp:3:24: error: 'extern' variable has an initializer
extern "C" const char *Version_string = "1.19.2";

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list