Enabled compilation warnings and solved compilation problems. TODO: Is it correct to have the warnings `hard-coded` on the CMakeFiles?
18 lines
347 B
Plaintext
18 lines
347 B
Plaintext
CompileFlags:
|
|
Add:
|
|
- -pedantic
|
|
- -Wall
|
|
- -Wextra
|
|
- -Wold-style-cast
|
|
- -Wsign-conversion
|
|
- -Wsign-promo
|
|
- -Wstrict-null-sentinel
|
|
- -Wstrict-overflow=5
|
|
- -Wswitch-default
|
|
- -Wundef
|
|
- -Werror
|
|
- -Wno-unused
|
|
- -std=c++23
|
|
Compiler: g++
|
|
CompilationDatabase: build
|