[ET Trac] #2804: compation failure in DNSData with gcc14

Roland Haas trac-noreply at einsteintoolkit.org
Thu Jun 20 16:04:29 CDT 2024


#2804: compation failure in DNSData with gcc14

 Reporter: Roland Haas
   Status: new
Milestone: ET_2024_05
  Version: 
     Type: bug
 Priority: major
Component: 

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

[https://gcc.gnu.org/gcc-14/porting\_to.html](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](https://github.com/wofti/CactusSgrid/pull/1)

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2804/compation-failure-in-dnsdata-with-gcc14
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.einsteintoolkit.org/pipermail/trac/attachments/20240620/ec81de9d/attachment.htm>


More information about the Trac mailing list