Skip to content

Commit 4eece18

Browse files
committed
build: don't set explicit C standard version
1 parent eddbd95 commit 4eece18

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ set(${PROJECT_NAME}_LIB_VERSION_AGE 0)
2828
#=============================
2929
# Language setup
3030
#=============================
31-
set(CMAKE_C_STANDARD 90)
3231
set(CMAKE_C_EXTENSIONS OFF)
3332

3433
#=============================

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ AC_DEFUN([SECP_TRY_APPEND_DEFAULT_CFLAGS], [
102102
SECP_TRY_APPEND_DEFAULT_CFLAGS_saved_CFLAGS="$CFLAGS"
103103
SECP_TRY_APPEND_CFLAGS([-Werror], CFLAGS)
104104
105-
SECP_TRY_APPEND_CFLAGS([-std=c89 -pedantic -Wno-long-long -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef], $1) # GCC >= 3.0, -Wlong-long is implied by -pedantic.
105+
SECP_TRY_APPEND_CFLAGS([-pedantic -Wno-long-long -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef], $1) # GCC >= 3.0, -Wlong-long is implied by -pedantic.
106106
SECP_TRY_APPEND_CFLAGS([-Wno-overlength-strings], $1) # GCC >= 4.2, -Woverlength-strings is implied by -pedantic.
107107
SECP_TRY_APPEND_CFLAGS([-Wall], $1) # GCC >= 2.95 and probably many other compilers
108108
SECP_TRY_APPEND_CFLAGS([-Wno-unused-function], $1) # GCC >= 3.0, -Wunused-function is implied by -Wall.

0 commit comments

Comments
 (0)