> On Dec 18, 2014, at 11:46 AM, Alexander Hansen <alexanderk.han...@gmail.com> 
> wrote:
> 
>> 
>> On Dec 18, 2014, at 11:13 AM, Phillip R Smith <smith...@med.nyu.edu> wrote:
>> 
>> Is there a way to have fink use the Intel c++ compiler icc, rather than gcc?
> 
> Feel free to muck around in the fink code if you want to try that, but we 
> don’t support it.  
> 
>> 
>> I’m getting these errors and that seemed to be an idea to try ….
>> 
>> ….
>> ../utils/build_header \
>>      -I .. -I ../src \
>>      ../../src/ppl_header.hh >ppl.hh
>> g++ -DHAVE_CONFIG_H -I. -I../../src -I..  -I.. -I../../src  
>> -I/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/include 
>> -I/sw/include  -Winvalid-pch -g -O2  -g -O2 -pipe -fpch-preprocess -fPIC -W 
>> -Wall -xc++-header -DPIC -o ppl.hh.gch ppl.hh
>> ppl.hh:14386:15: error: flexible array member 'vec_' of type 'Coefficient 
>> []' with non-trivial destruction
>> Coefficient vec_[
>>             ^
>> ppl.hh:31483:10: warning: class 'RAII_Temporary_Real_Relaxation' was 
>> previously declared as a struct [-Wmismatched-tags]
>> friend class RAII_Temporary_Real_Relaxation;
>>        ^
>> ppl.hh:31468:10: note: previous use is here
>> struct RAII_Temporary_Real_Relaxation {
>>        ^
>> ppl.hh:31483:10: note: did you mean struct here?
>> friend class RAII_Temporary_Real_Relaxation;
>>        ^~~~~
>>        struct
>> ppl.hh:33972:64: warning: unused parameter 'to' [-Wunused-parameter]
>> diff_restriction(Interval_Restriction_Integer_Modulo<T, Base>& to,
>>                                                              ^
>> ppl.hh:33973:17: warning: unused parameter 'x' [-Wunused-parameter]
>>                const From1& x, const From2& y) {
>>                             ^
>> ppl.hh:33973:33: warning: unused parameter 'y' [-Wunused-parameter]
>>                const From1& x, const From2& y) {
>>                                             ^
>> ppl.hh:34514:54: warning: unused parameter 's' [-Wunused-parameter]
>> Interval_Info_Null<Policy>::ascii_dump(std::ostream& s) const {
>>                                                    ^
>> ppl.hh:34519:54: warning: unused parameter 's' [-Wunused-parameter]
>> Interval_Info_Null<Policy>::ascii_load(std::istream& s) {
>>                                                    ^
>> ppl.hh:35923:14: warning: unused variable 'ru' [-Wunused-variable]
>>     Result ru = Boundary_NS::assign(UPPER, upper(), info(),
>>            ^
>> ppl.hh:35933:14: warning: unused variable 'ru' [-Wunused-variable]
>>     Result ru = Boundary_NS::assign(UPPER, upper(), info(),
>>            ^
>> ppl.hh:35943:14: warning: unused variable 'rl' [-Wunused-variable]
>>     Result rl = Boundary_NS::assign(LOWER, lower(), info(),
>>            ^
>> ppl.hh:35953:14: warning: unused variable 'rl' [-Wunused-variable]
>>     Result rl = Boundary_NS::assign(LOWER, lower(), info(),
>>            ^
>> ppl.hh:54188:12: warning: unused variable 'vars_end' [-Wunused-variable]
>>          vars_end = vars.end(); i != vars.end(); ++i) {
>>          ^
>> 11 warnings and 1 error generated.
>> Makefile:1451: recipe for target 'ppl.hh.gch' failed
>> make: *** [ppl.hh.gch] Error 1
>> ### execution of /tmp/fink.dR4Tw failed, exit code 2
>> ### execution of /tmp/fink.RIeVa failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package…
>> …
>> Failed: phase compiling: ppl9-0.11.2-5 failed
>> 
>> This is: -
>> Package manager version: 0.38.3
>> Distribution version: selfupdate-cvs Thu Dec 18 11:46:43 2014, 10.10, x86_64
>> Trees: local/main stable/main local/injected
>> Xcode.app: 6.1.1
>> Xcode command-line tools: 6.1.1.0.1.1416017670
>> Max. Fink build jobs:  8
>> 
>> -Ross Smith-
>> 
>> 
>> 
> 
> ppl9 doesn’t build with Xcode CLI tools >= 5. 
> 
> Are you installing ppl9 as a dependency for some other Fink package, or for 
> yourself?  If the latter, I’d suggest using the newer ppl13 instead, since 
> that should build on 10.10.
> 

Another option would be to try out the patch from

https://www.cs.unipr.it/mantis/view.php?id=596

by saving it in /sw/fink/dists/stable/main/finkinfo/devel , and adding 

PatchFile2:  patch-ppl-flexible-array-clang.patch
PatchFile2-MD5: 032e981cb79a893af40add40ab339f70

to /sw/fink/dists/stable/main/finkinfo/devel/ppl9.info
-- 
Alexander Hansen, Ph.D.
Fink User Liaison

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to