Hello Borut, Raphael,
thank you for help. I installed both SDCC and GPUTILS. I found some
non-blocking error. I have no time to test it deeper, but I have code below in
the main(). It is of course not so valid but even though I don't expect any
internal error like that:
sdcc -c -mpic14 -p16f721 --use-non-free main.c
main.c:86: warning 126: unreachable code
main.c:87: warning 126: unreachable code
main.c:87: warning 126: unreachable code
main.c:87: warning 126: unreachable code
Internal error: validateLink failed in SPEC_NOUN(type) @
/home/sdcc-builder/build/sdcc-build/orig/sdcc/src/SDCCsymt.c:2008: expect
ed SPECIFIER, got null-link
make: *** [all] Error 1
Code snippet follows.
// main loop
while (1) {
}
{
// channel 0
ADCON0 = 0xC1;
GO_NOT_DONE = 1;
while ( GO_NOT_DONE == 1) ;
adc_result = ADRES;
} /* end main loop */
Anyway, compilation works(if I remove the empty while loop), even if I haven't
had a time to test the result yet.
Vaclav
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user