-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Apparently, it is the first time I compile Aldor, by default -Werror is used as STRICTCFLAGS or something like that. I had to remove it from config.status to build Aldor since there are some warnings during Aldor compilation.
What I did:
git clone --depth=1 https://github.com/aldorlang/aldor.git
cd aldor/aldor
./autogen.sh
./configure
make
And the build process stops with:
../../../aldor/aldor/src/macex.c: In function 'pushMacDef':
../../../aldor/aldor/src/macex.c:184:32: error: the comparison will always evaluate as 'true' for the address of 'val' will never be NULL [-Werror=address]
184 | if (! symInfo(name) || ! symCoInfo(name))
| ^
In file included from ../../../aldor/aldor/src/macex.c:30:
../../../aldor/aldor/src/symcoinfo.h:19:11: note: 'val' declared here
19 | } val;
| ^~~
cc1: all warnings being treated as errors
make[4]: *** [Makefile:1729: macex.o] Error 1
make[4]: *** Waiting for unfinished jobs....
Regards
Metadata
Metadata
Assignees
Labels
No labels