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

           Summary: 'aligned' attribute ignored when parsing type
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


When compiling the Linux kernel, I met the following error:

crypto/shash.c:68:56: error: 'aligned' attribute ignored when parsing type
return len + (mask & ~(__alignof__(u8 __attribute__ ((aligned))) - 1));
                                                       ^~~~~~~

GCC accepts it. It is necessary to make it an error, instead of a warning?

-- 
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