Skip to content

Adding more compiler warnings by default #61

@aminya

Description

@aminya

There are other Clang warnings that we have not added. We have already enabled the most pedantic ones, so I think adding these will complete the list and would be beneficial.

-Wformat-overflow
-Wformat-nonliteral
-Wformat-truncation=2
-fno-common
-Wcast-qual
-Wdeprecated
-Wmissing-declarations
-Wmissing-prototypes
-Wnested-externs
-Wold-style-definition
-Wpointer-arith
-Wsign-compare
-Wstrict-prototypes
-Wundef
-Wwrite-strings

https://clang.llvm.org/docs/DiagnosticsReference.html

Metadata

Metadata

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions