[Ns-bugs] [Bug 156] New: Rename string.h header to nsstring.h to ease gccxml parsing

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Sun Mar 30 12:14:51 PDT 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=156

           Summary: Rename string.h header to nsstring.h to ease gccxml
                    parsing
           Product: ns-3
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P3
         Component: simulation core
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: gjcarneiro at gmail.com


In the gjc/ns-3-pybindgen-notracing branch I had to enable a workaround:

    http://code.nsnam.org/gjc/ns-3-pybindgen-notracing/rev/1431a85ce21b

to avoid the following GCC-XML bug:

    http://www.gccxml.org/Bug/view.php?id=6682

The bug is due to string.h being the same name as a standard include.  The
workaround involves forcing GCC-XML to parse this include before all others.  

It seems to work, though it's kind of ugly.  Maybe it's better to rename
string.h to nsstring.h, like we have nstime.h instead of time.h?


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Ns-bugs mailing list