https://llvm.org/bugs/show_bug.cgi?id=31315

            Bug ID: 31315
           Summary: Microsoft warning even when using -fms-extensions
           Product: new-bugs
           Version: 3.9
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: hmij...@gmail.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

When using anonymous structs with "clang -fms-extensions", eg.

struct s1 {
...
}
struct s2 {
...
}

union u1 {
    struct s1;
    struct s2;
}

I get a warning "anonymous structs are a Microsoft extension
[-Wmicrosoft-anon-tag]".
This warning seems unnecessary, given that extensions have been enabled
explicitly with -fms-extensions.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to