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

Niall Douglas s_sourceforge at nedprod.com
Sun Sep 21 02:13:09 CEST 2003


-----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.

Cheers,
Niall





-----BEGIN PGP SIGNATURE-----
Version: idw's PGP-Frontend 4.9.6.1 / 9-2003 + PGP 8.0.2

iQA/AwUBP2ztFsEcvDLFGKbPEQJEVACfWV5weucczHYZizKJwokFM2z34AUAnisu
M+sUm4jMxcfWIVasicRoxFSN
=8EEJ
-----END PGP SIGNATURE-----




More information about the Cplusplus-sig mailing list