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
In Delphi an enum is by default 2 bytes in size whereas in C the default is 4 bytes. This could lead to errors when passing an enum to a function or an alignment error when using an enum in a record/struct.
In Delphi an enum is by default 2 bytes in size whereas in C the default is 4 bytes. This could lead to errors when passing an enum to a function or an alignment error when using an enum in a record/struct.
I would suggest to add {$MINENUMSIZE 4}
See also http://docwiki.embarcadero.com/RADStudio/Rio/en/Minimum_enumeration_size_(Delphi)
The text was updated successfully, but these errors were encountered: