make/cc.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 815
b0c4750cecd8
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

#
# cc toolchain config
#

CFLAGS =
DEBUG_CC_FLAGS = -g
RELEASE_CC_FLAGS = -O3 -DNDEBUG
LDFLAGS =

SHLIB_CFLAGS = -fPIC
SHLIB_LDFLAGS = -shared

mercurial