<html>#2315: Issues compiling with gcc7.3 with c++17
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Samuel Tootle</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td>Cactus_4.2.0</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>Carpet</td></tr>
</table>

<p>I’m currently in the process of installing Carpet via the latest repo of WhiskyTHC.  See attached thornlist for details of versions.</p>
<p>During installation with gcc7.3 with -std=c++17, I continue to receive “error: reference to ‘data’ is ambiguous” related to the implementation of <a data-is-external-link="true" href="http://data.cc" rel="nofollow">data.cc</a> using overlapping namespaces with std (see attached make_thc.err for details).</p>
<p>I have obtained the same errors using Intel 2019.  If I use Intel 2017, this error does not occur.</p>
<p>I came across <a data-is-external-link="true" href="https://bitbucket.org/einsteintoolkit/tickets/issues/1121/gcc-46-compiler-bug-for-isnan" rel="nofollow">issue 1121</a> which seemed similar in nature, but this was a much older compiler and I did not find a solution (compiler flag or the like) that would resolve the issue I was seeing.  Additionally, I have attached the config file I am using which details compiler flags, declared variables etc.</p>
<p>Thank you for the assistance</p>
<p><table><tr><td>attachment:</td><td><a href="full.th">https://api.bitbucket.org/2.0/repositories/einsteintoolkit/tickets/issues/2315/attachments/full.th</a></td></tr>
<tr><td>attachment:</td><td><a href="make_thc.err">https://api.bitbucket.org/2.0/repositories/einsteintoolkit/tickets/issues/2315/attachments/make_thc.err</a></td></tr>
<tr><td>attachment:</td><td><a href="make_thc.log">https://api.bitbucket.org/2.0/repositories/einsteintoolkit/tickets/issues/2315/attachments/make_thc.log</a></td></tr>
<tr><td>attachment:</td><td><a href="thc.cfg">https://api.bitbucket.org/2.0/repositories/einsteintoolkit/tickets/issues/2315/attachments/thc.cfg</a></td></tr>
</table></p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2315/issues-compiling-with-gcc73-with-c-17'>https://bitbucket.org/einsteintoolkit/tickets/issues/2315/issues-compiling-with-gcc73-with-c-17</a></p>
</html>