[sdcc] Upgraded to 4.3.0 r14210

New features and project activity between releases
Post Reply
User avatar
dom
Well known member
Posts: 1966
Joined: Sun Jul 15, 2007 10:01 pm

[sdcc] Upgraded to 4.3.0 r14210

Post by dom »

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.
fraespre
Member
Posts: 50
Joined: Mon Aug 19, 2019 8:08 pm

Re: [sdcc] Upgraded to 4.3.0 r14210

Post by fraespre »

just as a curiosity,
what are the consequences of not using the official sdcc preprocessor?
User avatar
dom
Well known member
Posts: 1966
Joined: Sun Jul 15, 2007 10:01 pm

Re: [sdcc] Upgraded to 4.3.0 r14210

Post by dom »

ucpp is C99, whereas the gnu cpp supports later standards.

I don't really think it makes too much a difference for likely usage.
User avatar
feilipu
Member
Posts: 43
Joined: Tue Nov 15, 2016 5:02 am

Re: [sdcc] Upgraded to 4.3.0 r14210

Post by feilipu »

What are the consequences of not using the official sdcc preprocessor?
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.

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”.
Post Reply