#200 FATAL Compiler Internal Error

closed-fixed
5
2013-05-25
2001-10-29
No

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

Discussion

  • Johan Knol

    Johan Knol - 2001-10-30

    Logged In: YES
    user_id=63512

    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

     
  • Johan Knol

    Johan Knol - 2001-10-30
    • milestone: --> fixed
    • assigned_to: nobody --> johanknol
    • status: open --> closed-fixed
     

Log in to post a comment.