Skip to content

Commit 595e8a3

Browse files
build: Enable -Wcast-align=strict warning
1 parent 0725626 commit 595e8a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

configure.ac

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ AC_DEFUN([SECP_TRY_APPEND_DEFAULT_CFLAGS], [
9999
SECP_TRY_APPEND_CFLAGS([-Wno-unused-function], $1) # GCC >= 3.0, -Wunused-function is implied by -Wall.
100100
SECP_TRY_APPEND_CFLAGS([-Wextra], $1) # GCC >= 3.4, this is the newer name of -W, which we don't use because older GCCs will warn about unused functions.
101101
SECP_TRY_APPEND_CFLAGS([-Wcast-align], $1) # GCC >= 2.95
102+
SECP_TRY_APPEND_CFLAGS([-Wcast-align=strict], $1) # GCC >= 8.0
102103
SECP_TRY_APPEND_CFLAGS([-Wconditional-uninitialized], $1) # Clang >= 3.0 only
103104
SECP_TRY_APPEND_CFLAGS([-fvisibility=hidden], $1) # GCC >= 4.0
104105

0 commit comments

Comments
 (0)