You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Musl defines the structure with all of these fields, compliant with C99 and later.
What should we do in this case? Perhaps one option is to implement the versions as separate types and make the C standard a factor when resolving types.
The text was updated successfully, but these errors were encountered:
How should we handle types that have different definitions across C standards?
I have found one so far:
struct lconv
, defined inlocale.h
.In C89 (4.4 Localization), the following fields are defined:
In C99 (7.11 Localization), the following fields were added:
Musl defines the structure with all of these fields, compliant with C99 and later.
What should we do in this case? Perhaps one option is to implement the versions as separate types and make the C standard a factor when resolving types.
The text was updated successfully, but these errors were encountered: