| Anonymous | Login | Signup for a new account | 2010-02-09 02:46 EST |
| 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 | ||||
| 0009915 | [GCC-XML] | major | always | 2009-11-18 06:40 | 2009-11-18 16:49 | ||||
| Reporter | gjcarneiro | View Status | public | ||||||
| Assigned To | brad.king | ||||||||
| Priority | normal | Resolution | suspended | ||||||
| Status | closed | ||||||||
| Summary | 0009915: parameter default value parsed wrong with template class | ||||||||
| Description |
A simple constructor: Test (Time lifetime = MilliSeconds (0)); In this case, MilliSeconds is a function that returns Time, which is a templated instantiation class. GCC-XML reports the default value as default="MilliSeconds(uint64_t)()", which is clearly wrong. After going through pygccxml, what I get is MilliSeconds(). |
||||||||
| Additional Information |
A bug I found in NS-3 (www.nsnam.org) Python bindings. To reproduce, parse the attached test file: $ gccxml -I . -fxml=/tmp/test.xml test.h $ grep /tmp/test.xml -e Constructor -A10 |grep Milli <Argument name="lifetime" type="_89" location="f2:21" file="f2" line="21" default="MilliSeconds(uint64_t)()"/> |
||||||||
| Tags | No tags attached. | ||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
| Mantis 1.1.4[^] Copyright © 2000 - 2008 Mantis Group |