add compiler directive for no-include-next in both build_flags and build_src_flags
Dieser Commit ist enthalten in:
1 Ursprung
1d1020716e
Commit
e7fbdb0f8d
1 Datei geändert
+3
-1
+3
-1
@@ -23,7 +23,7 @@ build_flags =
|
||||
-D CCACHE_ENABLE=1
|
||||
; Treats ESP-IDF libc extensions headers as system headers to suppress external warnings
|
||||
; -isystem /home/tom/.platformio/packages/framework-espidf/components/esp_libc/platform_include
|
||||
|
||||
-Wno-include-next
|
||||
; --- STRICT MODE FOR PROJECT APPLICATION CODE ONLY ---
|
||||
; These flags are strictly applied ONLY to C++ files inside the src/ directory.
|
||||
build_src_flags =
|
||||
@@ -39,5 +39,7 @@ build_src_flags =
|
||||
-Wconversion
|
||||
; Warns if a local variable shadows another variable in scope
|
||||
-Wshadow
|
||||
|
||||
-Wno-include-next
|
||||
; Promotes all warnings to hard compilation errors to guarantee clean code
|
||||
;-Werror
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren