mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 04:34:43 +04:00
fbt: added -Wstrict-prototypes for main firmware (#3557)
* fbt: added -Wstrict-prototypes for main firmware (excludes extapps) * unit_tests: fixed declarations using strict prototypes * furi_hal: ble: changed gap stop log level to debug Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -4,6 +4,7 @@ Import("ENV")
|
||||
ENV.AppendUnique(
|
||||
CFLAGS=[
|
||||
"-std=gnu2x",
|
||||
"-Wstrict-prototypes",
|
||||
],
|
||||
CXXFLAGS=[
|
||||
"-std=c++20",
|
||||
|
||||
@@ -48,6 +48,9 @@ appenv.AppendUnique(
|
||||
"stdc++",
|
||||
"supc++",
|
||||
],
|
||||
CFLAGS=[
|
||||
"-Wno-strict-prototypes",
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user