[xsd-users] Version mismatch error
Dave Blackham
dave_blackham at keysight.com
Mon Jul 22 20:33:20 EDT 2024
I needed to add additional nodes to the *.xsd file that I created in 2014/15 timeframe. At the time, I saved a copy of the xsd.exe file for later use. When I made the changes to the *.xsd file In ended up with compile errors because the versions didn't match.
In both the *.hxx and *-fwd.hxx files I have multiple C1189 errors due to the mismatch with version.hxx file
#if (XSD_INT_VERSION != 4009910L)
#error XSD runtime version mismatch
#endif
In version.hxx
#define XSD_INT_VERSION 4000000L
Hxx
It has been a while, so I am a bit rusty on the process used previously. I simply tried to use the xsd.exe on the updated *.xsd file then copied the resulting *.cxx and *.hxx files into the Visual Studio 2010 project. Am I missing a step that I should be taking?
Thanks for your assistance.
Dave
More information about the xsd-users
mailing list