Hi
This is extremely worrying, unfotunately I cannot check/help until earliest weekend.
But my concern is this can effect any fix sized data structure (not just midiservices) , that is defined for working with nearly anything.
And putting a superfluous // comment in ( that should be ignored in its entireaty by the compiler) is effected the size of the structure.
This needs to be fixed urgently, as it will break countless things, that the programmer will find hard to locate, and if they do how to fix a structure that is larger than it should be.
Can someone do a test of other structures with calculateable size with 4 byte alignment , and see what the results are?
Hopefully this gets to the fpc dev team urgently.
Fixing midiservices is pointless as there is no reason why its now reporting wrong size, fixing the cause is paramount.