mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
21 lines
438 B
Plaintext
21 lines
438 B
Plaintext
# general clang warnings flags
|
|
-Wall
|
|
-Warray-bounds
|
|
-Wcast-qual
|
|
-Wconversion
|
|
-Wdouble-promotion
|
|
-Wextra
|
|
-Wformat=2
|
|
-Wframe-larger-than=16384
|
|
-Wimplicit-fallthrough
|
|
-Wnull-dereference
|
|
-Wunused-const-variable
|
|
-Wwrite-strings
|
|
-Wpedantic
|
|
-Wvolatile-register-var
|
|
# NOTE: Due to the divergence in the C and C++, we're dropping support for
|
|
# compiling the C library with a C++ compiler and dropping the -Wc++-compat
|
|
# warning.
|
|
#
|
|
-Wno-c++-compat
|