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:
Keith Packard 2023-02-08 09:30:12 -08:00 committed by Stephanos Ioannidis
commit 70fdd9e4e1
3 changed files with 0 additions and 4 deletions

View file

@ -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)