Due to various things we missed the actual release. However, sdcc has been upgraded to 4.3.0 r14210 and nightly builds from 2023-07-21 will include it.
As a result of various upstream build issues, we've had to not use the official sdcc preprocessor and instead switch to ucpp which is the same preprocessor as used by sccz80.
The only case where we've come across issues is when the assembly function __asm("") is supplied with a multiline string. However, please do report if anything untoward is observed.
[sdcc] Upgraded to 4.3.0 r14210
Re: [sdcc] Upgraded to 4.3.0 r14210
just as a curiosity,
what are the consequences of not using the official sdcc preprocessor?
what are the consequences of not using the official sdcc preprocessor?
Re: [sdcc] Upgraded to 4.3.0 r14210
ucpp is C99, whereas the gnu cpp supports later standards.
I don't really think it makes too much a difference for likely usage.
I don't really think it makes too much a difference for likely usage.
Re: [sdcc] Upgraded to 4.3.0 r14210
Saving a giant PITA while the sdcc team get their head around migrating from gcpp-4 to gcpp-12 to a wave based cpp over the next release cycles.What are the consequences of not using the official sdcc preprocessor?
Also ucpp is C99 compliant, and my understanding is that is also the sccz80 target so it will be sufficient.
Using ucpp also removes system one fault path possibility and moved the cpp code “in-house”.