I’ve just spend the best part of the morning trying to find and solve a strange compiler error. The cause of the error (when compiling units including the Xml.XMLSchema.hpp header) was that in line 240 of the uROTypes.hpp header there is a #define for SimpleTypes, which is apparently a System::Set. SimpleTypes is also a name of a property inside a class in Xml.XMLSchema.hpp but if for some reason the uROTypes header was included before, then the compiler replaces the SimpleTypes text with the #define and you get the compiler error.
I am not sure why is that using a #define, if it was generated automatically by the compiler from the PAS unit… looking at the pas unit I guess it was. Maybe then the only solution is to change the name so it doesn’t have such a “generic” one? I don’t know if there is a way to avoid the #define, maybe using an EXTERNALSYM/HPPEMIT with a typedef directive?
Im using version 184.108.40.2069 in RS 10.1 Berlin