Open Quuxplusone opened 8 years ago
Bugzilla Link | PR25436 |
Status | CONFIRMED |
Importance | P normal |
Reported by | Sean McBride (sean@rogue-research.com) |
Reported on | 2015-11-06 15:48:15 -0800 |
Last modified on | 2020-04-17 18:33:35 -0700 |
Version | trunk |
Hardware | All All |
CC | bmoses@google.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk, rtrieu@google.com |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also | PR10623 |
Just a note to say issue still occurs with trunk 347180.
Interestingly, if one passes "-Wlarger-than=3000" to clang it doesn't complain that the flag is unknown (for gcc compatibility no doubt), so why inconsistently complain in the pragma case?
This is still happening with trunk, although now it blames the warning on -
Wunknown-warning-option (at least in my case).
This is preventing us from compiling NumPY with -Wunknown-warning-option turned
on, because of this line:
https://github.com/numpy/numpy/blob/master/numpy/linalg/umath_linalg.c.src#L734
numpy/linalg/umath_linalg.c.src:744:32: error: unknown warning group '-Wmaybe-
uninitialized', ignored [-Werror,-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
^
1 error generated.