> I try the  program but i get an error that the RA1 And RA2 are not
> defined.I include the header files #include <pic14regs.h> and also
> #include"pic/pic16f84.h" i got an error the error is  Undefined
> identifier 'RA1'.i am usind sdcc and os is  linux debian h 

You might be using an old version of SDCC (probably the 2.6.0 release).
Please upgrade using one of the nightly snapshots from
http://sdcc.sourceforge.net/snap.php or the svn directly, any revision
later than r4400 should do.
Check which version you have via sdcc -v: If it says #4400 or higher,
the above diagnose is probably wrong and I need to think about other
possible errors.

Regards,
Raphael

BTW: Code compiles nicely for my setup using SDCC 2.6.2 #4519.



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to