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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


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

Reply via email to