When compiling with --funsigned-char a file containing only #include <stdio.h>, a somewhat surprising error occurs:
Internal error: validateLink failed in SPEC_NOUN((yyvsp[(1) - (2)].lnk)) @ /home/sdcc-builder/build/sdcc-build/orig/sdcc/src/SDCC.y:1297: expected SPECIFIER, got DECLARATOR
A very similar error occurs when compiling with sdcc --funsigned-char a file containing:
typedef unsigned char * Tbyteptr;
Internal error: validateLink failed in SPEC_NOUN(lnk) @ /home/sdcc-builder/build/sdcc-build/orig/sdcc/src/SDCC.y:482: expected SPECIFIER, got DECLARATOR
SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.9.1 #5464 (May 27 2009) (MINGW32); running on W98SE.
Log in to post a comment.