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

            Bug ID: 41631
           Summary: unable to put -Wframe-larger-than=X in diagnostic
                    pragma
           Product: clang
           Version: 8.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]

Seems like:

#pragma GCC diagnostic error "-Wframe-larger-than=4008"

is unsupported:

<source>:1:30: warning: unknown warning group '-Wframe-larger-than=4008',
ignored [-Wunknown-warning-option]

#pragma GCC diagnostic error "-Wframe-larger-than=4008"

                             ^

I wonder if it's because the warning has the second part which is configurable
(I forgot what these are called in Diags), 4008?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to