mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-18 23:32:17 -08:00
buildsystem: be very restrictive when building
We don't error on shift-count-overflow, because file offsets may be bigger than fixnums and coercion to bignum relies on such overflows. This is something what probably can be fixed.
This commit is contained in:
parent
f0ced27e0c
commit
ca15938fe5
1 changed files with 1 additions and 5 deletions
|
|
@ -12,17 +12,13 @@ VPATH = @srcdir@
|
|||
#
|
||||
CC = @CC@
|
||||
TRUE_CC = $(CC)
|
||||
CFLAGS = -I. -I@true_builddir@ -I$(srcdir) -I../ecl/gc -DECL_API -DECL_NO_LEGACY @CPPFLAGS@ @CFLAGS@ @ECL_CFLAGS@ -c
|
||||
CFLAGS = -Werror -Wno-error=shift-count-overflow -I. -I@true_builddir@ -I$(srcdir) -I../ecl/gc -DECL_API -DECL_NO_LEGACY @CPPFLAGS@ @CFLAGS@ @ECL_CFLAGS@ -c
|
||||
|
||||
# The following flags could be added and used by GCC
|
||||
# -Wall -W -Wfloat-equal -Wundef -Wendif-labels -Wpointer-arith -Wcast-align \
|
||||
# -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-prototypes \
|
||||
# -Wredundant-decls -Wunreachable-code -Winline
|
||||
|
||||
# ECL should build without problems when we error on all warning
|
||||
# except shift-count-overflow
|
||||
# -Werror -Wno-error=shift-count-overflow
|
||||
|
||||
SHELL = /bin/sh
|
||||
RM = @RM@
|
||||
EXE = @EXEEXT@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue