Skip to content
RED SAGSkills
hard20 pts · first answer countsembedded-cmemory-layout

Enum size differs between builds

A struct with an enum member has a different size in the app than in a prebuilt library, causing corrupted data. The library was built with -fshort-enums. What is the root cause?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions