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.
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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