283f355b10
Version 60.1 fails to build on linux with clang@7.0.1 and clang@8.0.0: ``` digitlst.cpp:508:9: error: use of undeclared identifier 'freelocale' freelocale(gCLocale); ^ clang++ ... coll.cpp digitlst.cpp:520:26: error: use of undeclared identifier 'LC_ALL_MASK' gCLocale = newlocale(LC_ALL_MASK, "C", (locale_t)0); ^ clang++ ... sortkey.cpp clang++ ... bocsu.cpp clang++ ... ucoleitr.cpp clang++ ... ucol.cpp clang++ ... ucol_res.cpp 2 errors generated. clang++ ... ucol_sit.cpp clang++ ... collation.cpp *** Failed compilation command follows: ---------------------------------------------------------- /projects/spack/lib/spack/env/clang/clang++ -D_REENTRANT -DU_HAVE_ELF_H=1 -DU_HAVE_ATOMIC=1 -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -I. -I../common -DU_ATTRIBUTE_DEPRECATED= -DU_I18N_IMPLEMENTATION -std=c++11 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long -c -DPIC -fPIC -o digitlst.o digitlst.cpp --- ( rebuild with "make VERBOSE=1 all" to show all parameters ) -------- make[1]: *** [digitlst.o] Error 1 make[1]: *** Waiting for unfinished jobs.... clang++ ... collationsettings.cpp make[1]: Leaving directory `/build/s3j-spack/spack-stage/spack-stage-k9ba3gqo/spack-src/source/i18n' make: *** [all-recursive] Error 2 ``` |
||
---|---|---|
.. | ||
spack |