Compiler Internal Error

2012-06-27
2013-03-12
  • Vineeth Thomas

    Vineeth Thomas - 2012-06-27

    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)

    Error message:
    $ 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.

     
  • Maarten Brock

    Maarten Brock - 2012-06-28

    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.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks