English fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8057 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
62e67b7fe2
commit
ef5e93c9ca
1 changed files with 14 additions and 15 deletions
|
|
@ -7,15 +7,15 @@
|
||||||
|
|
||||||
/* template workaround for compilers that cannot correctly implement the C++ standard */
|
/* template workaround for compilers that cannot correctly implement the C++ standard */
|
||||||
#ifndef SWIGTEMPLATEDISAMBIGUATOR
|
#ifndef SWIGTEMPLATEDISAMBIGUATOR
|
||||||
# if defined(__SUNPRO_CC)
|
# if defined(__SUNPRO_CC)
|
||||||
# if (__SUNPRO_CC <= 0x560)
|
# if (__SUNPRO_CC <= 0x560)
|
||||||
# define SWIGTEMPLATEDISAMBIGUATOR template
|
# define SWIGTEMPLATEDISAMBIGUATOR template
|
||||||
# else
|
# else
|
||||||
# define SWIGTEMPLATEDISAMBIGUATOR
|
# define SWIGTEMPLATEDISAMBIGUATOR
|
||||||
# endif
|
# endif
|
||||||
# else
|
# else
|
||||||
# define SWIGTEMPLATEDISAMBIGUATOR
|
# define SWIGTEMPLATEDISAMBIGUATOR
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* inline attribute */
|
/* inline attribute */
|
||||||
|
|
@ -30,12 +30,11 @@
|
||||||
/* attribute recognised by some compilers to avoid 'unused' warnings */
|
/* attribute recognised by some compilers to avoid 'unused' warnings */
|
||||||
#ifndef SWIGUNUSED
|
#ifndef SWIGUNUSED
|
||||||
# if defined(__GNUC__)
|
# if defined(__GNUC__)
|
||||||
/* Old G++ versions has problems with this attribute, but not GCC */
|
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
|
||||||
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
|
# define SWIGUNUSED __attribute__ ((__unused__))
|
||||||
# define SWIGUNUSED __attribute__ ((__unused__))
|
# else
|
||||||
# else
|
# define SWIGUNUSED
|
||||||
# define SWIGUNUSED
|
# endif
|
||||||
# endif
|
|
||||||
# elif defined(__ICC)
|
# elif defined(__ICC)
|
||||||
# define SWIGUNUSED __attribute__ ((__unused__))
|
# define SWIGUNUSED __attribute__ ((__unused__))
|
||||||
# else
|
# else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue