summaryrefslogtreecommitdiff
path: root/Lib/swiglabels.swg
diff options
context:
space:
mode:
authorMarcelo Matus <mmatus@acms.arizona.edu>2005-10-19 14:26:13 +0000
committerMarcelo Matus <mmatus@acms.arizona.edu>2005-10-19 14:26:13 +0000
commit756408864674e29727a4a0095afda685809cfa9d (patch)
tree16602d31f050e08153480c27c77e27f34045450b /Lib/swiglabels.swg
parentb57f51e3b2b19a230b76178394f6df9fd5e1e0ac (diff)
downloadswig-756408864674e29727a4a0095afda685809cfa9d.tar.gz
fix warnings/errors for gcc4.0, icc and valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/swiglabels.swg')
-rw-r--r--Lib/swiglabels.swg8
1 files changed, 6 insertions, 2 deletions
diff --git a/Lib/swiglabels.swg b/Lib/swiglabels.swg
index 529e61338..7af5ed637 100644
--- a/Lib/swiglabels.swg
+++ b/Lib/swiglabels.swg
@@ -7,8 +7,12 @@
/* template workaround for compilers that cannot correctly implement the C++ standard */
#ifndef SWIGTEMPLATEDISAMBIGUATOR
-# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
-# define SWIGTEMPLATEDISAMBIGUATOR template
+# if defined(__SUNPRO_CC)
+# if (__SUNPRO_CC <= 0x560)
+# define SWIGTEMPLATEDISAMBIGUATOR template
+# else
+# define SWIGTEMPLATEDISAMBIGUATOR
+# endif
# else
# define SWIGTEMPLATEDISAMBIGUATOR
# endif