[C++-sig] Bug: Pyste misoutputs 64 bit ints on MSVC

Nicodemus nicodemus at globalite.com.br
Sun Sep 21 19:34:49 CEST 2003


Niall Douglas wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>It outputs things like "long long unsigned int" which MSVC barfs on.
>
>Fix is in GCCXMLParser.py:
>
>    def ParseFundamentalType(self, id, element):
>        name = element.get('name')
>        if name=="long long int":
>            name="__int64"
>        elif name=="long long unsigned int":
>            name="unsigned __int64"
>        type_ = FundamentalType(name)
>        self.Update(id, type_)
>
>Obviously this would break GCC. Nicodemus I think you'll need a --
>msvc switch which lets you switch in MSVC specific output.
>  
>

Seems like so, unfortunately. How about a --msvc command line switch?

Regards,
Nicodemus.





More information about the Cplusplus-sig mailing list