[CP2K-user] [CP2K:19389] cp2k compilation fail on grid_cpu_collocate.c

Mario A Bianchet mabianchet at gmail.com
Thu Oct 19 03:33:12 UTC 2023


Hello 
cp2k 2023.2 verion
The variable  DBL_DECIMAL_DIG; is  now declared in cfloat.h not anymore in 
float.h
error:

    327       47 |   const int D = DBL_DECIMAL_DIG;
     328          |                 ^~~~~~~~~~~~~~~
     329          |                 DECIMAL_DIG
     330   
 /tmp/mbianch1/spack-stage/spack-stage-cp2k-2023.2-du533sl6bhg7revw3abcejktx7qaqm3w/spack-src/src/grid/cpu/grid_cpu_collocate.c:47:17: 
note: each undeclared identifier is reported only once ,,,

Mario

-- 
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/298e231d-8c5c-4ca0-b457-c31117876824n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20231018/d23d8138/attachment-0001.htm>


More information about the CP2K-user mailing list