Hello,
I don't know how to change the code, but it seems to be caused by difference
between Solaris lex & flex (flex 2.6.4).
make check passes if flex has priority over lex.
What I tried is:
$ sudo mv /usr/bin/lex /usr/bin/lex-
$ ./configure --prefix=/opt/local CC=gcc CXX=g++
$ make
$ make -k
Hi Fabrizio - sorry for the absurdly delayed reply.
Also sorry, but I don't exactly understand.
dnl Use absolute path of lib
MYLIB_PATH=`readlink -f ${MYLIB_PATH}`
...
testApp_SOURCES = main.c @MYLIB_PATH@/mylib_log.c
testApp_CFLAGS = -I@MYLIB_PATH@/lib
...
After
The same errors are detected with gcc-9.3.0.
Ok, gcc 9 or 10. We can figure out the exact version where gcc started
the errors if we need to. It doesn't happen with the much older gcc
version I have (reports as gcc 4.8.5 on centos7, though centos does
major patches to that).
Anyway, I guess
: >"$log_file"
"$@" >>"$log_file" 2>&1
I committed this change to test-driver, so it'll (finally) be in the
next release. (Sorry for the long-delayed response.)
(I was tempted to make the script exit unsuccessfully if either of the
commands failed (e.g., add || exit 1 or some such), but