11 Feb
2008
11 Feb
'08
6:52 a.m.
Dear Richard, On Sat, Feb 09, 2008 at 06:04:33PM +0100, Richard B. Kreckel wrote:
I've committed a feature-based test for that attribute to avoid the warning.
Just a small correction: diff --git a/src/base/cl_maybe_inline.h b/src/base/cl_maybe_inline.h index 4f7a982..9d185f4 100644 --- a/src/base/cl_maybe_inline.h +++ b/src/base/cl_maybe_inline.h @@ -102,7 +102,7 @@ * a function. * 2. It's ignored if the optimization is switched off. */ -#if defined(__GNUC__) && defined(CL_ATTRIBUTE_FLATTEN) +#if defined(__GNUC__) && defined(CL_HAVE_ATTRIBUTE_FLATTEN) #define CL_FLATTEN __attribute__((flatten)) #else #define CL_FLATTEN Best regards, Alexei -- All science is either physics or stamp collecting.