diff options
author | Marcelo Matus <mmatus@acms.arizona.edu> | 2005-10-19 14:26:13 +0000 |
---|---|---|
committer | Marcelo Matus <mmatus@acms.arizona.edu> | 2005-10-19 14:26:13 +0000 |
commit | 756408864674e29727a4a0095afda685809cfa9d (patch) | |
tree | 16602d31f050e08153480c27c77e27f34045450b /Lib/swiglabels.swg | |
parent | b57f51e3b2b19a230b76178394f6df9fd5e1e0ac (diff) | |
download | swig-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.swg | 8 |
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 |