Hi! Alexei Sheplyakov wrote:
--- src/base/cl_maybe_inline.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/base/cl_maybe_inline.h b/src/base/cl_maybe_inline.h index 316cc5b..adcd904 100644 --- a/src/base/cl_maybe_inline.h +++ b/src/base/cl_maybe_inline.h @@ -100,7 +100,7 @@ * a function. * 2. It's ignored if the optimization is switched off. */ -#ifdef __GNUC__ +#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && __GNUC__MINOR__ >= 1)) #define CL_FLATTEN __attribute__((flatten)) #else #define CL_FLATTEN
Thank you, Alexei. I've committed a feature-based test for that attribute to avoid the warning. Now to something completely different: I got access to a bigger machine and found new bugs in the output routine there. So, I'll release CLN-1.2.1 shortly. This is a good time to try current CVS, if people feel bored. Cheers -richy. -- Richard B. Kreckel <http://www.ginac.de/~kreckel/>