http://llvm.org/bugs/show_bug.cgi?id=14895
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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Consider:
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs