[xsd-users] compliation error

Othman Fathy othman.fathy at gmail.com
Tue Jan 9 14:25:23 EST 2007


Hi Boris,
  I am not passing any switches to the xsd when I compiled my schema, I
changed my compilation line to

xsd cxx-tree --char-type char smi_switch_confs.xsd

and I am still having the same errors, I am not including any headers from
the XSD tree except the generated headers.

Do you think that there is a problem on my XSD build that always generate
wchar_t types.

Thanks,
Othman


On 1/9/07, Boris Kolpackov <boris at codesynthesis.com> wrote:
>
> Hi Othman,
>
> Please keep xsd-users CC'ed to your future replies. This way others
> who may have a similar problem will be able to find the answer in
> the archives.
>
> Othman Fathy <othman.fathy at gmail.com> writes:
>
> >  I like the first option, How can I use char insteady of wchar_t is
> there a
> > switch or directive I have to use?
>
> Hm, char is the default. You actually need to use "--char-type wchar_t"
> to get wchar_t. Can you check that you are not passing this option when
> compiling your schemas?
>
> Another thing to check is that you do not include any headers from
> the libxsd library before the generated headers.
>
>
> hth,
> -boris
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (GNU/Linux)
>
> iQGVAwUBRaPaaMiAKQuuCE8dAQIVsAwAxqI/MKCIZUabf0c7ivVgj0MovZ7gHFtt
> 04nBUM17x5EIuerLStjkD+DhNV6gILzR82CuIKZivyiocaUShcZIGIOqVG0ZgM3V
> Npdd8EYVP5C0IxluD9S+MSLt8zeQ9ymO9qImnQUU6kc/OwhH6BPwqlr7DSg513lb
> kpL6ycgcoFoLpGcinwH6q4cvaKtreR7DzQnkGeh9N2nQwwR/G3wgkZEmoiD9JmzU
> GqBnDnsRRvY6yqMxs2kkqqNuLwThXol1V2kaROlsVKs2FmwC6Q4HxN78BT8mAp30
> k8vXRlyXAYDn1O5HOb2+A9MhkEzgnRC0kuTSfQVdOI+dx7/VGReRhTi9SRUnlGAm
> vxfvbkGGg7jgFqxcNHj/+s/63JVITPunhNUDCBguabfCfH2ACSfEEFLvxFVyEdoI
> legUG2dUSToB/30reypdUsK7rVtfTldOh5WjKbd14uf+eESCqGmBXf84Y14/fwy8
> hteHijr5vg5oVvSkNoyWp/qXgadS8jDA
> =lFPf
> -----END PGP SIGNATURE-----
>
>
>



More information about the xsd-users mailing list