<html>#2804: compation failure in DNSData with gcc14
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Roland Haas</td></tr>
<tr><td style='text-align:right'> Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td>ET_2024_05</td></tr>
<tr><td style='text-align:right'> Version:</td><td></td></tr>
<tr><td style='text-align:right'> Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>major</td></tr>
<tr><td style='text-align:right'>Component:</td><td></td></tr>
</table>
<p>CC14 removed is stricter about implicit function declarations and no longer allows them by default.</p>
<p><a data-is-external-link="true" href="https://gcc.gnu.org/gcc-14/porting_to.html" rel="nofollow">https://gcc.gnu.org/gcc-14/porting_to.html</a></p>
<p>This affects DNSData</p>
<div class="codehilite"><pre><span></span><code><span>COMPILING CactusSgrid/DNSdata/src/DNSdataReader.c</span>
<span>/Users/rhaas/Cactus/configs/sim/build/DNSdata/DNSdataReader.c: In function 'DNSdataReader':</span>
<span>/Users/rhaas/Cactus/configs/sim/build/DNSdata/DNSdataReader.c:492:27: error: implicit declaration of function 'SGRID_free_everything' [-Wimplicit-function-declaration]</span>
<span> 492 | if(SGRID_grid_exists()) SGRID_free_everything();</span>
<span> |</span>
</code></pre></div>
<p>This is fixed in pull request <a data-is-external-link="true" href="https://github.com/wofti/CactusSgrid/pull/1" rel="nofollow">https://github.com/wofti/CactusSgrid/pull/1</a></p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2804/compation-failure-in-dnsdata-with-gcc14'>https://bitbucket.org/einsteintoolkit/tickets/issues/2804/compation-failure-in-dnsdata-with-gcc14</a></p>
</html>