+1
-1
@@ -46,7 +46,7 @@
|
|||||||
# warning GCC compilers prior to 3.4 are suspect
|
# warning GCC compilers prior to 3.4 are suspect
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# define GCC_VERSION (__GNUC__ * 10000 \
|
# define SG_GCC_VERSION (__GNUC__ * 10000 \
|
||||||
+ __GNUC_MINOR__ * 100 \
|
+ __GNUC_MINOR__ * 100 \
|
||||||
+ __GNUC_PATCHLEVEL__)
|
+ __GNUC_PATCHLEVEL__)
|
||||||
# define SG_COMPILER_STR "GNU C++ version " SG_STRINGIZE(__GNUC__) "." SG_STRINGIZE(__GNUC_MINOR__)
|
# define SG_COMPILER_STR "GNU C++ version " SG_STRINGIZE(__GNUC__) "." SG_STRINGIZE(__GNUC_MINOR__)
|
||||||
|
|||||||
@@ -325,7 +325,7 @@ namespace nasal
|
|||||||
// Both ways of retrieving the address of a static member function
|
// Both ways of retrieving the address of a static member function
|
||||||
// should be legal but not all compilers know this.
|
// should be legal but not all compilers know this.
|
||||||
// g++-4.4.7+ has been tested to work with both versions
|
// g++-4.4.7+ has been tested to work with both versions
|
||||||
#if defined(GCC_VERSION) && GCC_VERSION < 40407
|
#if defined(SG_GCC_VERSION) && SG_GCC_VERSION < 40407
|
||||||
// The old version of g++ used on Jenkins (16.11.2012) only compiles
|
// The old version of g++ used on Jenkins (16.11.2012) only compiles
|
||||||
// this version.
|
// this version.
|
||||||
&getTypeFor<BaseGhost>
|
&getTypeFor<BaseGhost>
|
||||||
|
|||||||
Reference in New Issue
Block a user