[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31753] lgamma_r and lgammaf_r not found at co
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #31753] lgamma_r and lgammaf_r not found at compile time |
Date: |
Wed, 08 Dec 2010 09:36:59 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; de-de) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4 |
Follow-up Comment #2, bug #31753 (project octave):
John, your're right, the header file needs _REENTRANT to be defined in order
to make the declarations available!
I built octave with gcc version 4.2.1 (Apple Inc. build 5664).
Here's the according snippet of math.h:
#ifdef _REENTRANT
#include <AvailabilityMacros.h>
// Available on OS X 10.6 and later.
extern float lgammaf_r ( float, int * )
AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER;
extern double lgamma_r ( double, int * )
AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER;
extern long double lgammal_r ( long double, int * )
AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER;
#endif /* _REENTRANT */
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31753>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/