[llvm-bugs] [Bug 41631] New: unable to put -Wframe-larger-than=X in diagnostic pragma

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Apr 27 18:11:58 PDT 2019


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: unassignedclangbugs at nondot.org
          Reporter: ndesaulniers at google.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk, srhines at google.com

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190428/daab7bf6/attachment.html>


More information about the llvm-bugs mailing list