Does anyone know what this means ? I get syntax errors when using version 2.9, but in v 3.0 I get a fatal error.
SDCC version :
$ sdcc -v
SDCC : mcs51/gbz80/z80/ds390/pic16/pic14/TININative/ds400/hc08 3.0.0 #6037 (Oct 31 2010) (MINGW32)
$ sdcc -c usb_framework.c
usb_framework.c:44: error 9: FATAL Compiler Internal Error in file '/home/sdcc-builder/build/sdcc-build/orig/sdcc/src/SDCCicode.c' line number '2865' : code generator internal error
Contact Author with source code
Internal error: validateLink failed in DCL_TYPE(ptr) @ /home/sdcc-builder/build/sdcc-build/orig/sdcc/src/SDCCicode.c:2813: expected DECLARATOR, got SPECIFIER
sdcpp.exe: fatal error: when writing output to : No error
I am trying to interface the CC2531 SoC from TI using SDCC.
It means you have discovered a bug in an old version of SDCC. I suggest you download the latest snapshot and try again. If it still happens then file a bug report and attach the code that produces the error.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.