[Fink-users] Failed: phase compiling: cppunit1.12.1-1.12.1-2 failed

2014-10-27 Thread Dominique Dhumieres
Installing cppunit1.12.1-1.12.1-2 failed on

Package manager version: 0.38.1
Distribution version: selfupdate-rsync Mon Oct 27 13:20:43 2014, 10.10, x86_64
Trees: local/main stable/main stable/crypto
Xcode.app: 6.1
Xcode command-line tools: 6.1.0.0.1.1413057044
Max. Fink build jobs:  8

with

...
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include 
-I/sw64/include -g -O2 -W -Wall -Werror -c TestFactoryRegistry.cpp  -fno-common 
-DPIC -o .libs/TestFactoryRegistry.o
In file included from TestAssert.cpp:2:
../../include/cppunit/portability/FloatingPoint.h:43:11: error: 'finite' is 
deprecated: first deprecated in OS X 10.9
  [-Werror,-Wdeprecated-declarations]
   return finite( x );
  ^
/usr/include/math.h:718:12: note: 'finite' has been explicitly marked 
deprecated here
extern int finite(double) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, 
__MAC_10_9, __IPHONE_NA, __IPHONE_NA);
   ^
1 error generated.
make[2]: *** [TestAssert.lo] Error 1
...

TIA

Dominique

--
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Failed: phase compiling: cppunit1.12.1-1.12.1-2 failed

2014-10-27 Thread David Fang
Jack Howarth has committed a fix for this for me.
That fix conditionally replaces finite() with isfinite().

Fang


 Installing cppunit1.12.1-1.12.1-2 failed on

 Package manager version: 0.38.1
 Distribution version: selfupdate-rsync Mon Oct 27 13:20:43 2014, 10.10, x86_64
 Trees: local/main stable/main stable/crypto
 Xcode.app: 6.1
 Xcode command-line tools: 6.1.0.0.1.1413057044
 Max. Fink build jobs:  8

 with

 ...
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include 
 -I/sw64/include -g -O2 -W -Wall -Werror -c TestFactoryRegistry.cpp  
 -fno-common -DPIC -o .libs/TestFactoryRegistry.o
 In file included from TestAssert.cpp:2:
 ../../include/cppunit/portability/FloatingPoint.h:43:11: error: 'finite' is 
 deprecated: first deprecated in OS X 10.9
  [-Werror,-Wdeprecated-declarations]
   return finite( x );
  ^
 /usr/include/math.h:718:12: note: 'finite' has been explicitly marked 
 deprecated here
 extern int finite(double) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, 
 __MAC_10_9, __IPHONE_NA, __IPHONE_NA);
   ^
 1 error generated.
 make[2]: *** [TestAssert.lo] Error 1
 ...

 TIA

 Dominique

 --
 ___
 Fink-users mailing list
 Fink-users@lists.sourceforge.net
 List archive:
 http://news.gmane.org/gmane.os.macosx.fink.user
 Subscription management:
 https://lists.sourceforge.net/lists/listinfo/fink-users


-- 
David Fang
http://www.csl.cornell.edu/~fang/


--
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Failed: phase compiling: cppunit1.12.1-1.12.1-2 failed

2014-10-27 Thread Jack Howarth
David,
Actually the fix the deprecated finite call was already there, it was
the conditional to apply the fix which was defective.
 Jack

On Mon, Oct 27, 2014 at 6:27 PM, David Fang f...@csl.cornell.edu wrote:

 Jack Howarth has committed a fix for this for me.
 That fix conditionally replaces finite() with isfinite().

 Fang


  Installing cppunit1.12.1-1.12.1-2 failed on

 Package manager version: 0.38.1
 Distribution version: selfupdate-rsync Mon Oct 27 13:20:43 2014, 10.10,
 x86_64
 Trees: local/main stable/main stable/crypto
 Xcode.app: 6.1
 Xcode command-line tools: 6.1.0.0.1.1413057044
 Max. Fink build jobs:  8

 with

 ...
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include
 -I/sw64/include -g -O2 -W -Wall -Werror -c TestFactoryRegistry.cpp
 -fno-common -DPIC -o .libs/TestFactoryRegistry.o
 In file included from TestAssert.cpp:2:
 ../../include/cppunit/portability/FloatingPoint.h:43:11: error: 'finite'
 is deprecated: first deprecated in OS X 10.9
  [-Werror,-Wdeprecated-declarations]
   return finite( x );
  ^
 /usr/include/math.h:718:12: note: 'finite' has been explicitly marked
 deprecated here
 extern int finite(double) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,
 __MAC_10_9, __IPHONE_NA, __IPHONE_NA);
   ^
 1 error generated.
 make[2]: *** [TestAssert.lo] Error 1
 ...

 TIA

 Dominique

 
 --
 ___
 Fink-users mailing list
 Fink-users@lists.sourceforge.net
 List archive:
 http://news.gmane.org/gmane.os.macosx.fink.user
 Subscription management:
 https://lists.sourceforge.net/lists/listinfo/fink-users


 --
 David Fang
 http://www.csl.cornell.edu/~fang/


--
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users