openj / core

abandoned, please check out https://github.com/jsoftware/jsource
https://github.com/jsoftware/jsource
118 stars 26 forks source link

Build failure on gcc 5.2.0 #39

Closed Earnestly closed 5 years ago

Earnestly commented 8 years ago

Attempting to build results in the following error:

/home/earnest/build/lab/openj-git/src/core/f2.c: In function ‘jtfmt1’:
/home/earnest/build/lab/openj-git/src/core/f2.c:115:4: error: non-floating-point argument in call to function ‘__builtin_isnan’
    else if(_isnan(*wv)          )strcpy(jt->th2buf,e?"  _.":' '==*s?" _.":"_.");
    ^
CMakeFiles/j.dir/build.make:926: recipe for target 'CMakeFiles/j.dir/f2.c.o' failed
make[2]: *** [CMakeFiles/j.dir/f2.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/earnest/build/lab/openj-git/src/core/i.c: In function ‘jtmakename’:
/home/earnest/build/lab/openj-git/src/core/i.c:25:11: warning: implicit declaration of function ‘nmhash’ [-Wimplicit-function-declaration]
  zv->hash=nmhash(m,s); 
           ^
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/j.dir/all' failed
make[1]: *** [CMakeFiles/j.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Earnestly commented 5 years ago

Still present on gcc 8.2.1 and linux 4.20.3.

lemenkov commented 5 years ago

This repo is abandoned. Please try @jsoftware's jsource instead.

Earnestly commented 5 years ago

Ah, so it is. My notes have mislead me. I even have a build from the jsource repo as well. Sorry for the noise and thanks for the quick heads up.