mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-29 05:21:37 +03:00
Tools - none-cxxflags generator script & enable deprecation warnings (#9245)
* Tools - none-cxxflags generator script GCC10 -> GCC (as in general, not specific to 10) cpp -> cxx to be consistent with gcc terminology grep exclude patterns in a separate file exclude 'deprecated' warnings by default * actually set warnings when compiling --warnings=none is arduino-cli implicit default
This commit is contained in:
58
tools/warnings/none-cxxflags
Normal file
58
tools/warnings/none-cxxflags
Normal file
@ -0,0 +1,58 @@
|
||||
-Wno-address-of-packed-member
|
||||
-Wno-aggressive-loop-optimizations
|
||||
-Wno-analyzer-double-fclose
|
||||
-Wno-analyzer-double-free
|
||||
-Wno-analyzer-exposure-through-output-file
|
||||
-Wno-analyzer-file-leak
|
||||
-Wno-analyzer-free-of-non-heap
|
||||
-Wno-analyzer-malloc-leak
|
||||
-Wno-analyzer-null-argument
|
||||
-Wno-analyzer-null-dereference
|
||||
-Wno-analyzer-possible-null-argument
|
||||
-Wno-analyzer-possible-null-dereference
|
||||
-Wno-analyzer-stale-setjmp-buffer
|
||||
-Wno-analyzer-tainted-array-index
|
||||
-Wno-analyzer-unsafe-call-within-signal-handler
|
||||
-Wno-analyzer-use-after-free
|
||||
-Wno-analyzer-use-of-pointer-in-stale-stack-frame
|
||||
-Wno-attributes
|
||||
-Wno-attribute-warning
|
||||
-Wno-builtin-declaration-mismatch
|
||||
-Wno-builtin-macro-redefined
|
||||
-Wno-cannot-profile
|
||||
-Wno-coverage-mismatch
|
||||
-Wno-cpp
|
||||
-Wno-div-by-zero
|
||||
-Wno-endif-labels
|
||||
-Wno-enum-compare
|
||||
-Wno-free-nonheap-object
|
||||
-Wno-hsa
|
||||
-Wno-if-not-aligned
|
||||
-Wno-ignored-attributes
|
||||
-Wno-int-to-pointer-cast
|
||||
-Wno-invalid-memory-model
|
||||
-Wno-long-long
|
||||
-Wno-lto-type-mismatch
|
||||
-Wno-main
|
||||
-Wno-missing-profile
|
||||
-Wno-narrowing
|
||||
-Wno-odr
|
||||
-Wno-overflow
|
||||
-Wno-packed-bitfield-compat
|
||||
-Wno-pointer-compare
|
||||
-Wno-pragmas
|
||||
-Wno-prio-ctor-dtor
|
||||
-Wno-psabi
|
||||
-Wno-return-local-addr
|
||||
-Wno-shift-count-negative
|
||||
-Wno-shift-count-overflow
|
||||
-Wno-shift-negative-value
|
||||
-Wno-sizeof-array-argument
|
||||
-Wno-switch-bool
|
||||
-Wno-switch-outside-range
|
||||
-Wno-switch-unreachable
|
||||
-Wno-sync-nand
|
||||
-Wno-trigraphs
|
||||
-Wno-unused-result
|
||||
-Wno-varargs
|
||||
-Wno-vla
|
Reference in New Issue
Block a user