Hi,

> Apologies, it just occurred to me that I neglected to mention the switches
> I'm using:
> 
> sdcc --asm=<path to GPASM> -c -mpic16 -p18f4620 --fommit-frame-pointer
> --optimize-goto --optimize-cmp --disable-warning 85 --obanksel=2  -I<bunch
> of include paths and defines> clk.c -o _output/clk.o

You'll need to add --std-c99 to the command line to make SDCC accept the 
inline keyword. However, the pic targets currently emit erroneous
global _f1
directives even when the function body is always inlined and no longer 
defined as _f1. Workaround: none, except for manipulating the .asm file...

HTH,
Raphael


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to