1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-26 11:52:25 +00:00

Switch to compiling as ISO C99 + GNU extensions. (#203)

We currently build for ISO C90 with GNU extensions. The GNU
extensions include both library and language features.
Compiling without GNU extensions results in a number of compilation
failures due to use of those library features.

With this, we'll build for ISO C99 with the GNU extensions and
can evaluate what's going on with those library features in the
future.
This commit is contained in:
Bruce Mitchener
2021-01-11 11:47:55 +07:00
committed by GitHub
parent 9ba7e78625
commit fa13cc964c
2 changed files with 3 additions and 3 deletions

View File

@@ -14,8 +14,8 @@ AR = ar rcv
ANSICC = $(CC)
# Compiler flags
CLANG_CFLAGS = -std=gnu89 -funsigned-char -fno-strict-aliasing -fwrapv
GCC_CFLAGS = -std=gnu89 -funsigned-char -fno-strict-aliasing -fwrapv
CLANG_CFLAGS = -std=gnu99 -funsigned-char -fno-strict-aliasing -fwrapv
GCC_CFLAGS = -std=gnu99 -funsigned-char -fno-strict-aliasing -fwrapv
# for the files that need to be included in byte-swapped implementations:
BYTESWAPFILES =