[GCC-XML] Strange behaviour with hexadecimal numbers
roman.yakovenko at gmail.com
Thu May 4 02:16:49 EDT 2006
I re-post the mail, without attachments. Brad, may I send you the
I think this is a bug, but I am not sure.
The short description is that in source code define hexadecimal number,
in xml I see it without leading 0x prefix.
The long description is attached. This archive contains 3 files:
1. linear_congruential.hpp - original source
2. linear_congruential.hpp.e - preprocessed file
3. linear_congruential.hpp.xml - well xml.
The problematic code is generated for member variable lcf of class rand48.
Within xml you can take a look on element "Field" with id equal to _4908.
And its type id equal to _4964. Its name is
linear_congruential<long long unsigned int,5deece66d,11,1000000000000,0>
As you can see second parameter from source file(
uint64_t(0xDEECE66DUL) | (uint64_t(0x5) << 32) )
Also I think same problem exists for default arguments for functions.
C++ Python language binding
More information about the gccxml