[xsd-users] [C2146] syntax error on typedef timeWef_type

Boris Kolpackov boris at codesynthesis.com
Mon Apr 13 10:02:50 EDT 2015


Hi Hervé,

Hervé LE BARS <rvlebars at gmail.com> writes:

> typedef ::time timeWef_type;
> My first (and quick) analisys could be that there is a conflict between
> "time" datatype defined in XSD datatypes and the internal time function
> declared in MSVC 2013 headers Could you confirm or not?

Yes, most likely. Add '--reserved-name time' to you XSD command line.

Boris



More information about the xsd-users mailing list