I set to false the compiler «full size enumerations» option and all is fine.
Ok thank you Remy,
I did a little test a little earlier unsuccessfully since my older app stop to work properly, but I will try again.
I'm migrating a BCB5 app to RAD and I need to find a good way to be able to open, into the new RAD version, my old custom files created by the BCB5 app using TFileStream.
Actually it seems that the strored values of enumerated type values are not compatible between both app when using the sizeof to write or read my enum values from the stream. I read that RAD change the size accordinglys to the enumerators qt.
Is there a way to get compatibility between BCB5 and RAD Studio 10.2 C++?