syntax error: token -> 'BitVar' ;

  • Dinesh Deva

    Dinesh Deva - 2012-01-20

    please any one help me with this error

    _bit BitVar;

    void main(void)
    BitVar = 0;

    I tried compiling the above program in sdcc using the following instruction

    $ sdcc file_name.c

    this generates the following error

    file_name.c:13: syntax error: token -> 'BitVar' ; column 11

    how I can make this work?

  • Maarten Brock

    Maarten Brock - 2012-01-20

    There is no keyword


    (with one underscore), there is only


    (with two underscores) and the deprecated


    (no underscore).

  • Dinesh Deva

    Dinesh Deva - 2012-01-20

    Thank you Maarten Brock!


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

Sign up for the SourceForge newsletter:

No, thanks