with compiling very strict standard compiance, remove warings with include_next (GNU extension)
Dieser Commit ist enthalten in:
1 Ursprung
541c50ca6e
Commit
968fb49d3f
1 Datei geändert
+2
@@ -25,6 +25,7 @@ build_flags =
|
|||||||
-D CCACHE_ENABLE=1
|
-D CCACHE_ENABLE=1
|
||||||
-Wno-error=pedantic
|
-Wno-error=pedantic
|
||||||
-Wno-pedantic
|
-Wno-pedantic
|
||||||
|
-Wno-gnu-include-next
|
||||||
|
|
||||||
; --- STRICT MODE FOR MY OWN CODE ONLY ---
|
; --- STRICT MODE FOR MY OWN CODE ONLY ---
|
||||||
; These flags are strictly applied ONLY to files inside the src/ directory.
|
; These flags are strictly applied ONLY to files inside the src/ directory.
|
||||||
@@ -37,6 +38,7 @@ build_src_flags =
|
|||||||
-Wconversion ; Warns on implicit type conversions (e.g., int to uint8_t)
|
-Wconversion ; Warns on implicit type conversions (e.g., int to uint8_t)
|
||||||
-Wshadow ; Warns if a local variable shadows another variable in scope
|
-Wshadow ; Warns if a local variable shadows another variable in scope
|
||||||
-Werror ; Promotes all warnings to hard compilation errors to guarantee clean code
|
-Werror ; Promotes all warnings to hard compilation errors to guarantee clean code
|
||||||
|
-Wno-gnu-include-next ; no warning to #include_next (GNU extension), used in static_assert()
|
||||||
|
|
||||||
; Serial flashing interface configuration overrides (leave commented out for dynamic CLI arguments)
|
; Serial flashing interface configuration overrides (leave commented out for dynamic CLI arguments)
|
||||||
; upload_port = /dev/ttyUSB0
|
; upload_port = /dev/ttyUSB0
|
||||||
|
|||||||
In neuem Issue referenzieren
Einen Benutzer sperren