[ET Trac] [Einstein Toolkit] #1538: Turn CCTK_REAL8 etc. into typedefs
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Fri Feb 7 14:35:27 CST 2014
#1538: Turn CCTK_REAL8 etc. into typedefs
-------------------------+--------------------------------------------------
Reporter: eschnett | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: Cactus | Version: development version
Keywords: |
-------------------------+--------------------------------------------------
Currently, CCTK_REAL8 are #defines. This is inconvenient, since e.g.
CCTK_REAL16 may be "long double", and the C++ syntax
{{{
CCTK_REAL16(x)
}}}
is then illegal, since this expands to "long double(x)". Turning
CCTK_REAL8 and friends into proper typedefs remedies this.
The attached patch also corrects two small issues in cctk_Types.h: (1) The
include guard around "cctk_Config.h" should not be there, and (2) some
#endifs have wrong comments.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1538>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list