compilers: Remove -Wno-main and -Wno-main-return-type compiler flags
These flags were added to avoid warnings when main was declared to return void. Now that main returns int, those warnings will flag errors. Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
e17191b146
commit
70fdd9e4e1
3 changed files with 0 additions and 4 deletions
|
@ -30,7 +30,6 @@ check_set_compiler_property(PROPERTY warning_base
|
|||
-Wall
|
||||
"SHELL:-Wformat -Wformat-security"
|
||||
"SHELL:-Wformat -Wno-format-zero-length"
|
||||
-Wno-main
|
||||
)
|
||||
|
||||
check_set_compiler_property(APPEND PROPERTY warning_base -Wno-pointer-sign)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue