[LLVMbugs] [Bug 14895] New: Declaring builtins as extern "C" is rejected

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jan 10 06:34:08 PST 2013


             Bug #: 14895
           Summary: Declaring builtins as extern "C" is rejected
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: joerg at NetBSD.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


typedef unsigned long size_t; extern "C" void *__builtin_alloca (size_t);

This fails as incompatible redefining of __builtin_alloca and breaks many glib
programs on NetBSD as the former define alloca as macro before stdlib.h is
included. This is a regression from clang 3.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