Menu

#3878 static in non-static inline

open
nobody
Front-end
5
2025-09-03
2025-09-03
No

SDCC allows static objects, and calls to static inline functions in non-static inline functions. This is a constraint violation in C23, requiring a diagnostic. IMO, we should emit a warning for these (our current semantics are fine (except for [bugs:#3877]), and compatible with the future C2y standard).

Related

Bugs: #3877

Discussion


Log in to post a comment.

Monday.com Logo