[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] -DHAVE_INLINE syntax error

From: Brian Gough
Subject: Re: [Help-gsl] -DHAVE_INLINE syntax error
Date: Sun, 6 Jun 2004 10:13:20 +0100

Nicola Botta writes: 
 > Compilation with -DHAVE_INLINE fails:
 > $ make -f
 > gcc -Wall -ansi -pedantic -UDEBUG -DNDEBUG -O3 -mcpu=i686 -funroll-loops
 > -fcaller-saves -fstrength-reduce -frerun-cse-after-loop -ffast-math 
 > -fforce-mem
 > -DHAVE_INLINE -UGSL_RANGE_CHECK -I. -I../.. -c inlining.c
 > In file included from inlining.c:37:
 > /usr/local/include/gsl/gsl_vector_int.h:168: syntax error before `int'

Thanks for your email --- can you send a bug report to address@hidden
with a minimal example that demonstrates the error above, including
the version numbers of gsl, gcc and operating system that you are

Regarding your first point, the GSL_RANGE_CHECK macro has to be used
in combination with HAVE_INLINE, because it only affects the inline
versions of the functions (see the header file for details).

Brian Gough

reply via email to

[Prev in Thread] Current Thread [Next in Thread]