diff options
author | Yuriy Glukhov <yglukhov@users.noreply.github.com> | 2016-02-13 21:49:07 +0200 |
---|---|---|
committer | Yuriy Glukhov <yglukhov@users.noreply.github.com> | 2016-02-13 21:49:07 +0200 |
commit | 9aceaa0c0557d12c6d3b0521aa04595862f6162b (patch) | |
tree | 76975b65d9f88e3f9d9fb6189ed04bdede589192 /lib | |
parent | 06bd5a61a463a3d361ff77c3858681e664e14937 (diff) | |
download | Nim-9aceaa0c0557d12c6d3b0521aa04595862f6162b.tar.gz |
Added -Wpragmas ignore
Diffstat (limited to 'lib')
-rw-r--r-- | lib/nimbase.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/nimbase.h b/lib/nimbase.h index 374c0ceb1..40ea6c66a 100644 --- a/lib/nimbase.h +++ b/lib/nimbase.h @@ -25,6 +25,7 @@ __clang__ /* ------------ ignore typical warnings in Nim-generated files ------------- */ #if defined(__GNUC__) || defined(__clang__) +# pragma GCC diagnostic ignored "-Wpragmas" # pragma GCC diagnostic ignored "-Wwritable-strings" # pragma GCC diagnostic ignored "-Winvalid-noreturn" # pragma GCC diagnostic ignored "-Wformat" |