| Anonymous | Login | Signup for a new account | 2010-09-02 18:51 EDT |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0007572 | [GCC-XML] | major | always | 2008-08-28 12:42 | 2008-08-29 10:58 | ||||
| Reporter | Gustavo J. A. M. Carneiro | View Status | public | ||||||
| Assigned To | |||||||||
| Priority | normal | Resolution | not fixable | ||||||
| Status | closed | ||||||||
| Summary | 0007572: uint32_t converted to 'unsigned int' when parsing template arguments | ||||||||
| Description |
I have a definition like: std::set<uint32_t> get_set (); When looking at the return type, it is being reported (gccxml HEAD) like this: <Class id="_3104" name="set<unsigned int,std::less<unsigned int>,std::allocator<unsigned int> >" context="_2" incomplete="1" mangled="St3setIjSt4lessIjESaIjEE" demangled="std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> >" location="f133:94" file="f133" line="94" artificial="1" align="8"/> So there is loss of information here, uint32_t is being converted to unsigned long. I wouldn't mind too much if this was not causing a problem. But it turns out that in cygwin uint32_t is being defined as 'unsigned long' instead of 'unsigned int', and so any API definitions scanned with gccxml and code generated from them will not even compile in cygwin. I really need the original type back. |
||||||||
| Additional Information | |||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
|
|
|||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
| Mantis 1.1.4[^] Copyright © 2000 - 2008 Mantis Group |