facil.io C STL - a Server Toolbox Library for C, including JSON processing, hash maps, dynamic arrays, binary strings and more.
68
stars
6
forks
source link
According to `make -n`, the `db/` prefix isn't quite working as expected #19
Closed
michaellenaghan closed 12 months ago
I'm looking into another issue, but while testing I noticed that using a
db/
prefix isn't quite working as expected.The
makefile
says:But here's the output of
make db/tests/array -n
:Notice that the compile line has
... -DNDEBUG -DNODEBUG ... -DDEBUG=1 ...
, a mixture of "no debug" and "debug" flags.(Notice too that there are
CFLAGS
on the link line.)This probably doesn't matter too much, because facil itself doesn't use
NDEBUG
at all, and only usesNODEBUG
in one spot:https://github.com/facil-io/cstl/blob/9a04d28d3a8c16c6eef593c0a3870e99cd86ee0d/fio-stl/902%20string%20core.h#L466
This is, in the grand scheme of things, not very important; I'll offer a fix next week when I have a chance to take a closer look.