Hi Mario,<br /><br />> The variable DBL_DECIMAL_DIG; is now declared in cfloat.h not anymore in float.h<br /><br />I believe this only applies to C++. Since <font face="Courier New">grid_cpu_collocate.c</font> is a C file, the <font face="Courier New">float.h</font> header should still be correct.<br /><br />Your build probably fails because you selected an older standard. The <font face="Courier New">DBL_DECIMAL_DIG</font> macro was only added in the C11.<div><br /></div><div><div>-Ole<br /></div><div><div><br /></div></div></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Thursday, October 19, 2023 at 5:33:12 AM UTC+2 Mario A Bianchet wrote:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>Hello <br></div><div>cp2k 2023.2 verion<br></div><div>The variable DBL_DECIMAL_DIG; is now declared in cfloat.h not anymore in float.h</div><div>error:</div><div><br></div><div> 327 47 | const int D = DBL_DECIMAL_DIG;<br> 328 | ^~~~~~~~~~~~~~~<br> 329 | DECIMAL_DIG<br> 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 ,,,</div><div><br></div><div>Mario<br></div></blockquote></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/f6eb2a2b-9ca7-431d-a64a-ff56b93d9957n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/f6eb2a2b-9ca7-431d-a64a-ff56b93d9957n%40googlegroups.com</a>.<br />