compilation failure in DNSData with gcc14

Issue #2804 resolved
Roland Haas created an issue

CC14 removed is stricter about implicit function declarations and no longer allows them by default.

https://gcc.gnu.org/gcc-14/porting_to.html

This affects DNSData

COMPILING CactusSgrid/DNSdata/src/DNSdataReader.c
/Users/rhaas/Cactus/configs/sim/build/DNSdata/DNSdataReader.c: In function 'DNSdataReader':
/Users/rhaas/Cactus/configs/sim/build/DNSdata/DNSdataReader.c:492:27: error: implicit declaration of function 'SGRID_free_everything' [-Wimplicit-function-declaration]
  492 |   if(SGRID_grid_exists()) SGRID_free_everything();
      |

This is fixed in pull request https://github.com/wofti/CactusSgrid/pull/1

Comments (5)

  1. Log in to comment