<html>#2794: TACC Stampede3-skx Compilation Failing [-Wincompatible-function-pointer-type]
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>vik@arizona.edu</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td>ET_2023_05</td></tr>
<tr><td style='text-align:right'>  Version:</td><td>ET_2023_05</td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>minor</td></tr>
<tr><td style='text-align:right'>Component:</td><td>EinsteinToolkit thorn</td></tr>
</table>

<p>Comment (by Roland Haas):</p>
<p>these seem to differ only in the <code>restrict</code> keyword used by `ReflectionSymmetry`. The interface specification of the aliased function  </p>
<div class="codehilite"><pre><span></span><code><span>CCTK_INT FUNCTION                                           \</span>
<span>    SymmetryRegisterGridInterpolator                        \</span>
<span>        (CCTK_POINTER IN cctkGH,                            \</span>
<span>         CCTK_INT IN sym_handle,                            \</span>
<span>         CCTK_INT CCTK_FPOINTER IN symmetry_interpolate     \</span>
<span>             (CCTK_POINTER_TO_CONST IN cctkGH,              \</span>
<span>              CCTK_INT IN N_dims,                           \</span>
<span>              CCTK_INT IN local_interp_handle,              \</span>
<span>              CCTK_INT IN param_table_handle,               \</span>
<span>              CCTK_INT IN coord_system_handle,              \</span>
<span>              CCTK_INT IN N_interp_points,                  \</span>
<span>              CCTK_INT IN interp_coords_type,               \</span>
<span>              CCTK_POINTER_TO_CONST ARRAY IN interp_coords, \</span>
<span>              CCTK_INT IN N_input_arrays,                   \</span>
<span>              CCTK_INT ARRAY IN input_array_indices,        \</span>
<span>              CCTK_INT IN N_output_arrays,                  \</span>
<span>              CCTK_INT ARRAY IN output_array_types,         \</span>
<span>              CCTK_POINTER ARRAY IN output_arrays,          \</span>
<span>              CCTK_INT IN faces))</span>
</code></pre></div>

<p>has no <code>restrict</code> in it (not sure if this can even be expressed in the CCL file).   </p>
<p>So the function prototypes differ, though if that difference is something that the compiler may care about (since restrict is just a property of the function and does not affect externally visible behaviour) may be a different question.  </p>
<p>Since this is just a warning, it should not actually stop the compilation th
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2794/tacc-stampede3-skx-compilation-failing'>https://bitbucket.org/einsteintoolkit/tickets/issues/2794/tacc-stampede3-skx-compilation-failing</a></p>
</html>