diff options
author | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2014-02-13 03:15:28 +0000 |
---|---|---|
committer | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2014-02-13 03:15:28 +0000 |
commit | dbba180913f6340b146be7698783f679ed98a808 (patch) | |
tree | a28f0a19210617b81fdcb46712216abf1080b733 /lib/make/force-reconfigure | |
parent | e2c5b6aac587c70b8849be02bf5a5a8879fcb641 (diff) |
Turn CCTK_REAL8 etc. into typedefs
Create typedefs for the Cactus types CCTK_REAL8 etc., so that C++
function-style cases such as CCTK_REAL8(x) become legal. Otherwise,
e.g. "CCTK_REAL16(x)" may expand to "long double(x)", which is not
legal.
Configure results are still stored in macros. These are now called
CCTK_REAL8_TYPE etc.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@5084 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/force-reconfigure')
-rw-r--r-- | lib/make/force-reconfigure | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/make/force-reconfigure b/lib/make/force-reconfigure index 12e69a71..f5dc1401 100644 --- a/lib/make/force-reconfigure +++ b/lib/make/force-reconfigure @@ -41,3 +41,4 @@ 28 Feb 2013: Add variable XARGS 20 May 2013: Auto-configure static_assert 16 Jun 2013: Auto-configure __builtin_assume_aligned +07 Feb 2014: Change CCTK_REAL8 etc. from #define to typedef |