<html>#2492: h5check fails to build
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td></td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td>ET_2020_05</td></tr>
<tr><td style='text-align:right'>  Version:</td><td>ET_2020_05</td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>blocker</td></tr>
<tr><td style='text-align:right'>Component:</td><td>EinsteinToolkit thorn</td></tr>
</table>

<p>Comment (by Roland Haas):</p>
<p>I just tried and I can successfully build the included h5check in ET_2020_11 on Debian Buster (10) which uses gcc-8.3. I can also build the unmodified tarball h5check_2_0.tar.gz on that system, so as far as I can tell gcc 8.3 should compile it.</p>
<p>Can you please include the exact compiler output as an attachment? Something like:</p>
<div class="codehilite"><pre><span></span>simfactory/bin/sim build 2&gt;&amp;1 sim | tee make.log 
</pre></div>


<p>and then the output (including all errors) will be in make.log. Similarly if you do not use simfactory. Please also include the file <code>configs/sim/config-info</code> which contain all the make options used.</p>
<p>The file h5check_2_0.tar.gz has not changed for 9 years so all releases in that time would show this effect.</p>
<p>Note that having multiple (even identical) typedefs for the same type is indeed an error in C99 (only stops being so in C11). <a data-is-external-link="true" href="https://stackoverflow.com/a/8595131" rel="nofollow">https://stackoverflow.com/a/8595131</a> In my experience (having assumed it would be ok) the GNU compiler does actually accept it even in C99 (possible b/c C++ does allow it). Are you setting any of the “pedantic” or strict-ansi-conformance options (though even with <code>-pedantic -std=c99</code>I could not make the build fail)?</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2492/h5check-fails-to-build'>https://bitbucket.org/einsteintoolkit/tickets/issues/2492/h5check-fails-to-build</a></p>
</html>