make/gcc.mk

Sun, 15 Dec 2024 14:32:39 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 15 Dec 2024 14:32:39 +0100
changeset 1014
56eb7da4f3e1
parent 988
15b3ca7ee33f
permissions
-rw-r--r--

fix number parser not detecting integers out of range

Note: for doubles the same approach does not work, because
it takes a lot to push a double out of range (for strtod)
and long before that happens, the value gets insanely
imprecise.

relates to #431

#
# gcc toolchain config
#

CFLAGS =
CXXFLAGS = -fpermissive
DEBUG_CC_FLAGS = -g -Wall -Wextra -pedantic
RELEASE_CC_FLAGS = -O3 -DNDEBUG
LDFLAGS =

SHLIB_CFLAGS = -fPIC
SHLIB_LDFLAGS = -shared

COVERAGE_CFLAGS = --coverage
COVERAGE_LDFLAGS =  --coverage

mercurial