summaryrefslogtreecommitdiff
path: root/lib/make/force-reconfigure
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2009-11-11 22:25:55 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2009-11-11 22:25:55 +0000
commitb1d5e1f49bfff9022223caa9169c0ee6ad0f5071 (patch)
tree6d0edfc955b1cccc41fb4e6e855c11917d61823e /lib/make/force-reconfigure
parentdcd9452296d93c173312752ba73880d9122f6077 (diff)
Detect whether the compiler supports the attributes
const pure unused cold hot These attributes can be used to annotate declarations of variables, functions, and member functions to avoid warnings or enable additional optimisations. Detect whether the _Pragma directive is recognised. _Pragma can be used instead of #pragma, but works also inside macros. Update the detection of the static, inline, and restrict qualifiers to catch certain compiler errors, and avoids using these attributes with these compilers. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4578 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/force-reconfigure')
-rw-r--r--lib/make/force-reconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/make/force-reconfigure b/lib/make/force-reconfigure
index c7041293..dc2daa8a 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.13 2008-04-09 04:03:23 schnetter Exp $
+# @version $Id: force-reconfigure,v 1.14 2009-11-11 22:25:55 schnetter Exp $
# @@*/
31 Mar 2004: created
@@ -20,3 +20,5 @@
19 Jul 2006: detect presence of real*16 in Fortran correctly
26 May 2007: check for <malloc.h>, mallinfo, mallopt, and M_MMAP_THRESHOLD
25 Jan 2008: check for system-dependent timing functions
+11 Nov 2009: Detect whether _Pragma is available
+11 Nov 2009: Add CCTK_ATTRIBUTE_* macros and friends