[LLVMbugs] [Bug 9584] New: Support __is_standard_layout for gcc compatibility
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Mar 29 14:52:56 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=9584
Summary: Support __is_standard_layout for gcc compatibility
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++0x
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: jyasskin at google.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
$ cat test2.cc
void foo() {
__is_standard_layout(int);
}
$ ./clang++ -std=gnu++0x -c test2.cc
test2.cc:2:29: error: expected '(' for function-style cast or type construction
__is_standard_layout(int);
~~~^
1 error generated.
$ g++-mp-4.6 -std=gnu++0x -c test2.cc
$
--
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