From 5cf457be1717b42f2adf4fb95a9e2abcc6446a79 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Fri, 23 Dec 2005 10:58:42 +0000 Subject: [PATCH] English fix git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8057 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/swiglabels.swg | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/Lib/swiglabels.swg b/Lib/swiglabels.swg index 66e208ed8..c6018c8d2 100644 --- a/Lib/swiglabels.swg +++ b/Lib/swiglabels.swg @@ -7,15 +7,15 @@ /* 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 -# else -# define SWIGTEMPLATEDISAMBIGUATOR -# endif +# if defined(__SUNPRO_CC) +# if (__SUNPRO_CC <= 0x560) +# define SWIGTEMPLATEDISAMBIGUATOR template +# else +# define SWIGTEMPLATEDISAMBIGUATOR +# endif +# else +# define SWIGTEMPLATEDISAMBIGUATOR +# endif #endif /* inline attribute */ @@ -30,12 +30,11 @@ /* attribute recognised by some compilers to avoid 'unused' warnings */ #ifndef SWIGUNUSED # if defined(__GNUC__) -/* Old G++ versions has problems with this attribute, but not GCC */ -# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) -# define SWIGUNUSED __attribute__ ((__unused__)) -# else -# define SWIGUNUSED -# endif +# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) +# define SWIGUNUSED __attribute__ ((__unused__)) +# else +# define SWIGUNUSED +# endif # elif defined(__ICC) # define SWIGUNUSED __attribute__ ((__unused__)) # else