OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000795OMNeT++command line toolspublic2014-12-01 10:592014-12-01 10:59
Reporterandras 
Assigned Toandras 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version4.6b1 
Target VersionFixed in Version4.6 
Summary0000795: Message compiler: wrong parsing of compound namespaces
Description[From Doug Hodson via the omnetpp mailing list]

For version 4.6, opp_msgc has been rewritten in C++ as part of nedtool. The new code has problem with the parsing of compound namespaces in message files.

Namespace declaration in the message file:

   namespace A::B::C

generates this:

   namespace A {
   namespace B::C {
   namespace C {

It should be:

   namespace A {
   namespace B {
   namespace C {

Another example:

   namespace org::omnetpp::inet::ieee80211;

generates this:

   namespace org {
   namespace omnetpp::ine {
   namespace inet::ieee80211 {
   namespace ieee80211 {

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000957)
andras (administrator)
2014-12-01 10:59

Fixed bug in MsgCppGenerator::generateNamespaceBegin()

- Issue History
Date Modified Username Field Change
2014-12-01 10:59 andras New Issue
2014-12-01 10:59 andras Note Added: 0000957
2014-12-01 10:59 andras Status new => resolved
2014-12-01 10:59 andras Fixed in Version => 4.6
2014-12-01 10:59 andras Resolution open => fixed
2014-12-01 10:59 andras Assigned To => andras
2015-10-12 09:28 ammmar1988 Issue cloned: 0000872


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker