o:[EMAIL PROTECTED] On Behalf Of Raphael Neider
Sent: Wednesday, 9 July 2008 4:53 PM
To: sdcc-user@lists.sourceforge.net
Subject: Re: [Sdcc-user] Inline functions
Hi,
> Apologies, it just occurred to me that I neglected to mention the switches
> I'm using:
>
> sdcc --asm= -c -
Hi,
> Apologies, it just occurred to me that I neglected to mention the switches
> I'm using:
>
> sdcc --asm= -c -mpic16 -p18f4620 --fommit-frame-pointer
> --optimize-goto --optimize-cmp --disable-warning 85 --obanksel=2 -I of include paths and defines> clk.c -o _output/clk.o
You'll need to add
Apologies, it just occurred to me that I neglected to mention the switches
I'm using:
sdcc --asm= -c -mpic16 -p18f4620 --fommit-frame-pointer
--optimize-goto --optimize-cmp --disable-warning 85 --obanksel=2 -I clk.c -o _output/clk.o
I tried it unsuccessfully without the optimisers on too. I don'
Hi list,
I hope you can help me with this, I've read the mail archives, forums,
website and pdf doc, experimented like crazy, and I just cannot get inline
functions to compile.
>From what I gather, others don't have this same problem, so maybe it's just
my syntax... I'm still new to C I guess..
T
Hi guys,
I'm using piklab 0.14.5 and sdcc 2.7.3 for pic18f2680, but I getting
error when using inline functions.
This is a simple inline function test:
inline void delay_ms(long ms)
{
long i;
while (ms--)
for (i=0; i < 100; i++) ;
}
void main()
{
LED_TRIS = 0;
for (;;)