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

           Summary: Extension: Support platforms with implicit extern "C"
                    system headers
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


GCC has the notion of system headers that are implicitly wrapped in extern "C"
blocks, since they were written without regard to C++. Clang may need to
support platforms with this requirement in the future, which involves:

  - Tracking which headers require the implicit extern "C" (already handled by
the preprocessor)
  - Implicitly wrapping extern "C" around these headers when the parser sees
them (we aren't doing this)
  - Allowing C-isms in such headers, e.g., prototype-less functions (which look
like zero-parameter functions in C++) can be merged with functions that have
prototypes (we aren't doing this).

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to