Looks like it’s a weird MZERO_BRAINDAMAGE flag that is activated under legacy 
MacOS — some sort of duct tape solution for an ancient problem.  I diked out 
the logic and it compiles and tests fine.  

Er, what’s the Right workflow these days?  E-mail patches, issue pull requests, 
or start my own issue-specific branch?



> On Sep 28, 2015, at 3:29 PM, Craig DeForest <defor...@boulder.swri.edu> wrote:
> 
> So my issue is I clone the repository, check the dependencies (all OK), say 
> “perl Makefile.PL; make”, and end up with:
> 
> 
> 
> 
>> cc -c  "-I/usr/local/src/pdl/Basic/Core" "-I/usr/include" -arch i386 -arch 
>> x86_64 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing 
>> -fstack-protector -Os   -DVERSION=\"2.013_01\" -DXS_VERSION=\"2.013_01\"  
>> "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE"  -DPDL_PTHREAD 
>>  -DMACOS_MZERO_BRAINDAMAGE  -DBADVAL=1 -DBADVAL_USENAN=0 -DBADVAL_PER_PDL=0 
>> pdlsections.c
>> pdlsections.c:304:8: error: invalid argument type 'PDL_Anyval' to unary 
>> expression
>>  if(!result)
>>     ^~~~~~~
>> pdlsections.c:305:15: error: assigning to 'PDL_Anyval' from incompatible 
>> type 'int'
>>      result=0;
>>            ^~
>> 2 errors generated.
>> make[2]: *** [pdlsections.o] Error 1
>> make[1]: *** [subdirs] Error 2
>> make: *** [subdirs] Error 2
> 
> 
> 
> 
> I have no idea what “PDL_Anyval” is, I don’t recall it being in the codebase 
> before…
> 
> 
> 
> 
>> On Sep 28, 2015, at 11:49 AM, Zakariyya Mughal <zaki.mug...@gmail.com> wrote:
>> 
>> On 2015-09-28 at 11:34:00 -0600, Craig DeForest wrote:
>>> I just cloned the master branch from
>>> "https://github.com/PDLPorters/pdl.git”, and it won’t compile on MacOS
>>> — several argument type errors kill the compilation.  Is this a known
>>> issue?  Should I still be using sourceforget instead?  
>> 
>> Hi,
>> 
>> The Sourceforge and GitHub repositories are the same. Christian Walde
>> (Mithaldu) has an automatic mirror script that keeps them in-sync.
>> 
>> Just as an FYI, Travis-CI has Mac OS X build support and the
>> PDLPorters/pdl repository can use that now. It's just a matter of
>> writing the .travis.yml config, but I lack the tuits right now.
>> 
>> Cheers,
>> - Zaki Mughal
>> 
>>> 
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> pdl-devel mailing list
>>> pdl-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/pdl-devel
>> 
> 
> 


------------------------------------------------------------------------------
_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel

Reply via email to