[ET Trac] [Einstein Toolkit] #1121: gcc 4.6+ compiler bug for isnan
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Mon Oct 15 11:45:02 CDT 2012
#1121: gcc 4.6+ compiler bug for isnan
----------------------+-----------------------------------------------------
Reporter: sbrandt | Owner: eschnett
Type: defect | Status: new
Priority: minor | Milestone: ET_2012_11
Component: Carpet | Version: development version
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment (by rhaas):
the using namespace std construct fails for me with ambiguous definition
errors (see $1122). Explicitly using std::isnan helped but is difficult
since isnan is not required in the older C++ standards it seems. I get
errors from both Vectors (which is not so sophisticated) and CarpetLib's
defs.hh (which seems to go to great lengths to find good versions). The
error does not happen with gcc 4.7. So if it was not for a "popular" home
OS being affected, I would not consider this very major.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1121#comment:3>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list