help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] Fwd: gsl installation on mac os x 10.6.8


From: Rhys Ulerich
Subject: Re: [Help-gsl] Fwd: gsl installation on mac os x 10.6.8
Date: Tue, 9 Oct 2012 15:33:28 -0500

Finally, this should be back as part of the right thread...

> pow_int.c:42: error: conflicting types for 'gsl_pow_uint'
> pow_int.c:39: note: previous implicit declaration of 'gsl_pow_uint' was here

At pow_int.c:39 the compiler is saying it didn't see the declaration
of gsl_pow_uint(...) which should have been #included from
<gsl/gsl_pow_int.h> by pow_int.c:26.  Consequently, it assumes
gsl_pow_uint(...) should be defined implicitly.  The implicit
definition is contradicted at pow_int.c:42 when the function
implementation is encountered.

The question becomes: why isn't pow_int.c:26 pulling in the
gsl_pow_uint(...) declaration from gsl_pow_int.h?

Could you try sticking a statement like
ERROR_THIS_WILL_BREAK_THE_COMPILER; at gsl_pow_int.h:55 to see if the
header is getting #included?

- Rhys



reply via email to

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