Share

Small Device C Compiler

Tracker: Bugs

5 Internal error when using struct as vararg - ID: 2874687
Last Update: Comment added ( maartenbrock )

c:\>"c:\Program Files\SDCC_2_9_3\bin\sdcc" --version
SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08
2.9.3 #5536 (Oct 7 2009) (MINGW32)

c:\>"c:\Program Files\SDCC_2_9_3\bin\sdcc" a.c
Internal error: validateLink failed in DCL_TYPE(newType->opval.lnk) @
/home/sdcc-builder/build/sdcc-build/orig/sdcc/src/SDCCast.c:885: expected
DECLARATOR, got SPECIFIER

Originally reported in http://www.8052.com/forum/read/169520, with
printf().

Jan Waclawek


wek ( wek_ ) - 2009-10-08 12:51

5

Closed

Fixed

Maarten Brock

C-Front End

fixed

Public


Comment ( 1 )

Date: 2009-10-08 16:40
Sender: maartenbrockProject Admin

Fixed in SDCC 2.9.3 #5537.


Attached File ( 1 )

Filename Description Download
a.c file producing the error Download

Changes ( 8 )

Field Old Value Date By
close_date - 2009-10-08 16:40 maartenbrock
status_id Open 2009-10-08 16:40 maartenbrock
resolution_id None 2009-10-08 16:40 maartenbrock
category_id None 2009-10-08 16:40 maartenbrock
artifact_group_id None 2009-10-08 16:40 maartenbrock
assigned_to nobody 2009-10-08 16:40 maartenbrock
allow_comments 1 2009-10-08 16:40 maartenbrock
File Added 345738: a.c 2009-10-08 12:51 wek_