On 17/02/2015 06:35, "Kustaa Nyholm" <kustaa.nyh...@planmeca.com> wrote:
>On 17/02/2015 00:42, "Philipp Klaus Krause" <p...@spth.de> wrote: > >>Actually (with some exceptions in std lib functions), sdcc doesn't do >>anything fancy about inlining at all: we inline exactly the functions >>declared inline. >> >> > >Hmmm, I missed that in the manual, we can actually do inline? Must > >try that next, thanks. Ok, gpasm choked (will investigate that later) + gpasm -DSTACK_MODEL_SMALL -D__STACK_MODEL_SMALL -o ../obj/testc2asm.o -c ../obj/testc2asm.asm returned errorcode 256 but examining the generated asm file it looks like inlining produces as compact code as the macro version, nice, hate the look of macros, much nicer to use inline. br Kusti This e-mail may contain confidential or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. We will not be liable for direct, indirect, special or consequential damages arising from alteration of the contents of this message by a third party or as a result of any virus being passed on or as of transmission of this e-mail in general. ------------------------------------------------------------------------------ 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=190641631&iu=/4140/ostg.clktrk _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user