summaryrefslogtreecommitdiff
path: root/lib/make/force-reconfigure
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-09-26 00:21:00 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-09-26 00:21:00 +0000
commita1492b067055e73d5b61dfe45c3cd4200bee64a2 (patch)
treef0677049f29bd0d18f50337523989fc8a1c563ac /lib/make/force-reconfigure
parent06d94fb1dae1bedc506b432ccb1157d6aaa874d8 (diff)
Introduce macros CCTK_DECLARE and CCTK_DECLARE_INIT which declare or
declare and initialise local variables. They also add the necessary magic to prevent compiler warnings about unused variables. If the compiler supports __attribute__((unused)), then use this. Otherwise, use the existing fallback of taking the variable's address. In Fortran, use the variable's kind as fallback. Use these macros in autogenerated code and in "cctk.h". git-svn-id: http://svn.cactuscode.org/flesh/trunk@4146 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/force-reconfigure')
-rw-r--r--lib/make/force-reconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/make/force-reconfigure b/lib/make/force-reconfigure
index 1eb10bfe..490e9f00 100644
--- a/lib/make/force-reconfigure
+++ b/lib/make/force-reconfigure
@@ -5,7 +5,7 @@
# @desc
# Timestamp file for forcing reconfiguring configurations
# @enddesc
-# @version $Id: force-reconfigure,v 1.6 2004-11-08 10:50:45 tradke Exp $
+# @version $Id: force-reconfigure,v 1.7 2005-09-26 00:20:59 schnetter Exp $
# @@*/
31 Mar 2004: created
@@ -15,3 +15,4 @@
02 Aug 2004: introduce HAVE_LAPACK and HAVE_BLAS make variables
07 Oct 2004: change HDF5 to CCTK_HDF5 in cctk_Config.h
08 Nov 2004: add HAVE_HDF5_STREAM_VFD and HDF5_LFS_FLAGS makefile variables
+25 Sep 2005: add HAVE_CCTK_*_ATTRIBUTE_UNUSED