1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-01 19:42:04 +03:00
esp8266/tools/warnings/none-cxxflags
Max Prokhorov a5f18b5f91
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
2025-05-20 20:58:32 +03:00

59 lines
1.3 KiB
Plaintext

-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