OMNeT++/OMNEST Bug Tracker - OMNeT++
View Issue Details
0000082OMNeT++command line toolspublic2009-06-22 10:252009-07-25 17:40
rhornig 
andras 
normalminoralways
resolvedfixed 
4.0 
4.1 
0000082: Cannot extend a message class from an other rnamespace
It is not possible to extends a message if the base class of it is in a different namespece: i.e.

message queueing::Job;
message AFDXMessage extends queuein::Job {

is not possible.
No tags attached.
Issue History
2009-06-22 10:25rhornigNew Issue
2009-06-22 11:06andrasNote Added: 0000155
2009-07-25 17:40andrasNote Added: 0000162
2009-07-25 17:40andrasStatusnew => resolved
2009-07-25 17:40andrasFixed in Version => 4.1
2009-07-25 17:40andrasResolutionopen => fixed
2009-07-25 17:40andrasAssigned To => andras

Notes
(0000155)
andras   
2009-06-22 11:06   
Workaround: introduce a typedef to get rid of the namespace syntax:

cplusplus{{
typedef queueing::Job QueueingJob;
}}

message QueueingJob;
message AFDXMessage extends QueueingJob { ...
(0000162)
andras   
2009-07-25 17:40   
opp_msgc was improved to support referencing types from other namespaces.