<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>When compiling the toolkit using the bundled version of the HDF5 library, the thorn fails to compile and blocks the rest of the compilation process.</p>
<p>Specifically, the main library, distributed as "hdf5-1.12.0.tar.gz" compiles fine but the additional component "h5check_2_0.tar.gz" fails to build (using gcc 8.3) due to multiple definitions of the type "error_t". It seams that h5check defines this type which conflicts with cstdlib's own error_t.</p>
<p>Since this type is used in only three places, I've managed to fix the bug by replacing "error_t" in the source files with "h5_error_t". I'm sending the "corrected" source file attached.</p>
<p>I've observed the bug in release 2020/05 but I think that any release that uses h5check version 1.12.0 may also show this behavior</p>
<p><table><tr><td>attachment:</td><td><a href="h5_error.h">https://api.bitbucket.org/2.0/repositories/einsteintoolkit/tickets/issues/2492/attachments/h5_error.h</a></td></tr>
</table></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>