aboutsummaryrefslogtreecommitdiff
path: root/Lib/swiglabels.swg
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2007-04-10 14:14:52 +0000
committerOlly Betts <olly@survex.com>2007-04-10 14:14:52 +0000
commitfb2e4b580d67b44c754db89698554865ac0e00e7 (patch)
treee69c8e974d28742c71ac846096aad8096a580e30 /Lib/swiglabels.swg
parent8b9af6389b613b9b874672091466eb09966ed97a (diff)
downloadswig-fb2e4b580d67b44c754db89698554865ac0e00e7.tar.gz
Define SWIGTEMPLATEDISAMBIGUATOR to template for aCC (reported on
swig-user that this is needed). git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/swiglabels.swg')
-rw-r--r--Lib/swiglabels.swg14
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/swiglabels.swg b/Lib/swiglabels.swg
index 03b78b5cb..ff696505c 100644
--- a/Lib/swiglabels.swg
+++ b/Lib/swiglabels.swg
@@ -5,14 +5,14 @@
/* template workaround for compilers that cannot correctly implement the C++ standard */
#ifndef SWIGTEMPLATEDISAMBIGUATOR
-# if defined(__SUNPRO_CC)
-# if (__SUNPRO_CC <= 0x560)
-# define SWIGTEMPLATEDISAMBIGUATOR template
-# else
-# define SWIGTEMPLATEDISAMBIGUATOR
-# endif
+# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
+# define SWIGTEMPLATEDISAMBIGUATOR template
+# elif defined(__HP_aCC)
+/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
+/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
+# define SWIGTEMPLATEDISAMBIGUATOR template
# else
-# define SWIGTEMPLATEDISAMBIGUATOR
+# define SWIGTEMPLATEDISAMBIGUATOR
# endif
#endif