bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] finite deprecated in OSX, iOS


From: Jeff E Mandel
Subject: [Bug-gsl] finite deprecated in OSX, iOS
Date: Wed, 29 Jan 2014 20:50:30 -0500

I’m trying to compile GSL with Xcode 5.02 (clang) on Mavericks for iosphoneos 
and iosphonesimulator. It fails due to deprecation of finite. On further 
investigation:

%grep -R unavailable gsl-1.16
…
gsl-1.16/config.log:conftest.c:59:10: error: 'finite' is unavailable: not 
available on iOS
…

Examination of 
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/usr/include/math.h
 shows:
/* Legacy BSD API: please use C99 isfinite( ) instead.                        */
extern int finite(double) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, 
__MAC_10_9, __IPHONE_NA, __IPHONE_NA);

I understand what it wants me to do, and it seems GSL is slowly moving from 
finite to infinite, but this process isn’t complete. Can this be addressed?

Thanks,

Jeff E Mandel MD MS
Assistant Professor of Anesthesiology
Perelman School of Medicine at the University of Pennsylvania

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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