From: Johan K. <joh...@id...> - 2001-10-30 14:18:31
|
data is a reserved keyword (like code and xdata), you can not use that for a var. I made the error message a bit less mysterious. Johan ----- Original Message ----- From: <no...@so...> To: <no...@so...> Sent: Monday, October 29, 2001 6:33 PM Subject: [sdcc-devel] [ sdcc-Bugs-476062 ] FATAL Compiler Internal Error > Bugs item #476062, was opened at 2001-10-29 09:33 > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=100599&aid=476062&group_id= 599 > > Category: msc51(8051) target > Group: None > Status: Open > Resolution: None > Priority: 5 > Submitted By: Alex Karahalios (karahalios) > Assigned to: Nobody/Anonymous (nobody) > Summary: FATAL Compiler Internal Error > > Initial Comment: > I get the following error (sdcc v 2.2.2): > bug.c:3: error: FATAL Compiler Internal Error in file 'SDCCsymt.c' line number '544' : cannot merge declarator > Contact Author with source code > > The source code is > > typedef int X[6]; > extern const X data; > extern func (int [10] d); > void main() { > func(data); > } > > I was preparing this source code to submit another bug report, when I got this error. > > Thanks, > > Alex Karahalios > > ---------------------------------------------------------------------- > > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=100599&aid=476062&group_id= 599 > > _______________________________________________ > sdcc-devel mailing list > sdc...@li... > https://lists.sourceforge.net/lists/listinfo/sdcc-devel > |