Skip to content

{bp-19221} stdbit.h: fix compilation error of generic stdc_ functions#19223

Merged
xiaoxiang781216 merged 1 commit into
apache:releases/13.0from
jerpelea:bp-19221
Jun 26, 2026
Merged

{bp-19221} stdbit.h: fix compilation error of generic stdc_ functions#19223
xiaoxiang781216 merged 1 commit into
apache:releases/13.0from
jerpelea:bp-19221

Conversation

@jerpelea

Copy link
Copy Markdown
Contributor

Summary

Generic stdc_ functions use Generic macro, but this requires the type specific functions stdcuc, stdc_ul and so on to be functions, not just another macro definitions.

This commit fixes the issue by ensuring all type specific functions are static inline functions, not macro definitions.

There is no change other in the functionality or implementation.

Impact

RELEASE

Testing

CI

Generic stdc_ functions use _Generic macro, but this requires the type
specific functions stdc_*_uc, stdc_*_ul and so on to be functions,
not just another macro definitions.

This commit fixes the issue by ensuring all type specific functions
are static inline functions, not macro definitions.

There is no change other in the functionality or implementation.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
@github-actions github-actions Bot added the Size: M The size of the change in this PR is medium label Jun 26, 2026
@xiaoxiang781216 xiaoxiang781216 merged commit 2c18ee9 into apache:releases/13.0 Jun 26, 2026
11 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Size: M The size of the change in this PR is medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants