User Activity

  • Modified a comment on discussion Help on Small Device C Compiler (SDCC)

    Oops! meant to edit the last post but I managed to post it instead. Been testing with a stripped down main file. The issue is my lint.h file. It defines some of the types so lint does not throw errors for each instance of sbit etc. Removing this from the include list removes the error. Just seems strange how 3.4.0 allows it but 3.5.0 does not. but I'm not going to dive into a 5 year old version. Problem solved. Also moving through the version I noticed how later versions picked out some unreported...

  • Modified a comment on discussion Help on Small Device C Compiler (SDCC)

    Hi Benedikt, Thanks for the suggestion. Content removed because I posted it prematurely before doing a strip down code test. Best regards Andy

  • Posted a comment on discussion Help on Small Device C Compiler (SDCC)

    Oops! meant to edit the last post but I managed to post it instead. Been testing in the main file with a reduced makefile. The issue is my lint.h file. It defines some of the types so lint does not throw errors for each instance of sbit etc. Removing this from the include list removes the error. Just seems strange how 3.4.0 allows it but 3.5.0 does not. Can't find any specific release notes these version. Problem solved Thanks for your help. Andy

  • Posted a comment on discussion Help on Small Device C Compiler (SDCC)

    Hi Benedikt, Thanks for the suggestion. Knowing that the format has changed in the the 2.x.x. and early 3.x.x versions I wanted to compile the code with increasing version numbers so I could do any necessary correction stage by stage. I was surprised that 3.4.0 worked and 3.5.0 doesn't. Have tried 4.0.0 but was flooded with sbit errors. I've just repeated it and I get make "C:\Program Files\SDCC 4.0.0\bin\sdcc.exe" -mmcs51 -c --model-small temp.c ADuC845.h:126: error 1: Syntax error, declaration...

  • Posted a comment on discussion Help on Small Device C Compiler (SDCC)

    Hi, I'm trying to resurrect some old code and use a newer version of a compiler. The reason for using newer version is that there was an issue I could not cure and had to declare some local variables as static otherwise they were corrupted possibly by an interrupt. I'm hoping this will have been fixed in a later compiler The header file was originally written by myself about 15 years ago and has been update to accommodate the changes in compiler format as the compiler has progressed. So the problem...

View All

Personal Data

Username:
micro_joe
Joined:
2005-09-15 19:49:07
Location:
GMT

Projects

  • No projects to display.

Personal Tools