On Dec 18, 2006, at 10:14 AM, Seth Falcon wrote:

> Paul Roebuck <[EMAIL PROTECTED]> writes:
>
>> On Sun, 17 Dec 2006, Kasper Daniel Hansen wrote:
>>
>>> For package development I would like to compile
>>> with the -Wall flag. What is the best way to add
>>> this?

Probably the easiest [courtesy of Kurt]:

mkdir ~/.R
echo "CFLAGS=-g -O2 -Wall -pedantic" > ~/.R/Makevars


>>> Should I just edit
>>>    R.Framework/Resources/ppc/etc/Makeconf
>>> (I am on a G4), and add it to the CFLAGS, CXXFLAGS,
>>> FFLAGS variables.
>>> Or is there a better way, where I do not modify the
>>> files in the framework?
>>>
>>> BTW: any reason why this is not enabled by default
>>
>> I'd leave the Framework Makeconf alone. It is not enabled
>> by default because GCC is not guaranteed to be the compiler
>> for CC.
>
> ? For the OSX _binary_, the compiler better be known in advance --
> unless Simon et al are using some sort of quantum compiler ;-)
>

... sometimes I have the feeling we do ;) [especially after spending  
a night to track down compiler bugs]


Cheers,
Simon

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to