<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_1_1455997834662_3231"><span style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;" id="yui_3_16_0_1_1455997834662_3150" class="">> (i remember having troubles with those functions on other</span><br clear="none" style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;" id="yui_3_16_0_1_1455997834662_3152" class=""><span style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;" id="yui_3_16_0_1_1455997834662_3154" class="">compilers...but it's been years :-))</span><span></span></div><div dir="ltr" id="yui_3_16_0_1_1455997834662_3232"><span style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;" class=""><br></span></div><div dir="ltr" id="yui_3_16_0_1_1455997834662_3233"><font face="Helvetica Neue, Segoe UI, Helvetica, Arial, Lucida Grande, sans-serif" id="yui_3_16_0_1_1455997834662_3262"><span style="font-size: 13px;" id="yui_3_16_0_1_1455997834662_3261">Presently it fails to compile under OSX.  It's a fairly recent mac air-- I don't have the </span></font></div><div dir="ltr" id="yui_3_16_0_1_1455997834662_3233"><font face="Helvetica Neue, Segoe UI, Helvetica, Arial, Lucida Grande, sans-serif"><span style="font-size: 13px;">specs atm but I'll check and post later.</span></font></div><div dir="ltr" id="yui_3_16_0_1_1455997834662_3233"><br></div><div dir="ltr" id="yui_3_16_0_1_1455997834662_3233">-Jonathan</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Saturday, February 20, 2016 2:36 PM, IOhannes m zmölnig <zmoelnig@iem.at> wrote:<br></font></div>  <br><br> <div class="y_msg_container">On 02/19/2016 09:37 PM, Jonathan Wilkes via Pd-list wrote:<br clear="none">> Hi List,<br clear="none">> Line 593 of pdp_imageproc_portable.c:    /* affine x, y mappings in screen coordinates */    double mapx(double _x, double _y){return cx + izx * ( c * (_x-cx) + s * (_y-cy));}    double mapy(double _x, double _y){return cy + izy * (-s * (_x-cx) + c * (_y-cy));}<br clear="none">> <br clear="none">> These lines are found _inside_ a function called pdp_imageproc_resample_affinemap_process.<br clear="none"><br clear="none">there's nothing (much) wrong with it: nested functions are a gcc extension.<br clear="none">(i remember having troubles with those functions on other<br clear="none">compilers...but it's been years :-))<div class="yqt9722253543" id="yqtfd83070"><br clear="none"><br clear="none"><br clear="none">> It's fun to focus on the substring "portable.c", and just read these lines a few times. :)</div><br clear="none"><br clear="none">"portable" means different things to different people.<br clear="none"><br clear="none">for you it seems to refer to usability on multiple operating-systems and<br clear="none">compilers.<br clear="none">it could also have referred to the file-size (pdp_imageproc_portable.c<br clear="none">easily fits on a floppy).<br clear="none">knowing tom a bit, it's most likely that this is about portability<br clear="none">between multiple architectures all running linux (and looking at the<br clear="none">other files nearby this is very much the case - as the "portable" code<br clear="none">is opposed to code explictely using i586 instructions)<br clear="none"><br clear="none">gmasrd<br clear="none">IOhannes<div class="yqt9722253543" id="yqtfd51372"><br clear="none"></div><br><div class="yqt9722253543" id="yqtfd32297">_______________________________________________<br clear="none"><a shape="rect" ymailto="mailto:Pd-list@lists.iem.at" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br clear="none">UNSUBSCRIBE and account-management -> <a shape="rect" href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>