[LLVMbugs] [Bug 6991] New: extern "C" typedef ....

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 30 09:44:05 PDT 2010


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

           Summary: extern "C" typedef ....
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: Fons.Rademakers at cern.ch
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


In file included from core/editline/src/TTermManip.cxx:12:
core/editline/src/TTermManip.h:19:12: error: cannot combine with previous
      'extern' declaration specifier
extern "C" typedef int (*PutcFunc_t)(int);
           ^

This construct is flagged as an error while it is accepted by all other know
C++ compilers.

Cheers, Fons.

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