[LLVMbugs] [Bug 17145] [MSVC] LLVM Toolset does not understand #pragma warning

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 14 09:14:15 PDT 2015


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

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Reid Kleckner <rnk at google.com> ---
Let's close this.

I would like to have a translation table for a few common diagnostics (think
macro redefinition warnings), but it would probably stay very small. We already
support a couple of /wd flags, but it's via aliases and not a separate table
that can power pragma warning:

def _SLASH_wd4005 : CLFlag<"wd4005">, Alias<W_Joined>,
  AliasArgs<["no-macro-redefined"]>;
def _SLASH_wd4996 : CLFlag<"wd4996">, Alias<W_Joined>,
  AliasArgs<["no-deprecated-declarations"]>;

Any option we support translating at the command line might be worth supporting
in the pragma.

Anyway, I'm happy to declare that out of scope for this bug.

-- 
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/20150514/43b05905/attachment.html>


More information about the llvm-bugs mailing list