Menu

#2425 Compiling in C11 mode: Lack of preprocessor support

closed-fixed
None
other
5
2015-10-26
2015-10-07
No
philipp@notebook4:/tmp$ ~/sdcc/bin/sdcc --std-c11 test.c
sdcpp: error: unrecognized command line option "-std=c11"

Annoying, since C11 support is nearly complete now, but the only way to use some parts of it is through #pragma.

Philipp

Discussion

  • Philipp Klaus Krause

    One one hand, we probably should merge a newer upstream cpp anyway.
    On the other hand, the currently used version already has some C11 support, it is ust not exposed in the sdcc-specific parts of our fork.

    Philipp

     
  • Philipp Klaus Krause

    • status: open --> closed-fixed
    • assigned_to: Philipp Klaus Krause
     
  • Philipp Klaus Krause

    Merging a new upstream version turned out to be too much for me now.
    In revision #9379, we now have improved standard support based on the old preprocessor fixing this issue.

    Philipp

     

Log in to post a comment.