OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001010OMNeT++command line toolspublic2017-05-04 23:412017-05-04 23:41
Reporterpaolinux 
Assigned To 
PrioritylowSeverityminorReproducibilityalways
StatusnewResolutionopen 
Platformx86OSUbuntuOS Version17.04
Product Version5.1 
Target VersionFixed in Version 
Summary0001010: nedtool: the getDisplayString() method in auto-generated messages is not marked as override
DescriptionIf the message definition contains the display string, e.g.,

message Job
{
    string displayString = "i=msg/package_s,kind";
    //...
}

the *_m.h auto-generated file contains the following method definition

virtual const char * getDisplayString() const;

which triggers the following warning with clang

 warning: 'getDisplayString' overrides a member function but is not marked override'
      [-Winconsistent-missing-override]
    virtual const char * getDisplayString() const;
Additional InformationAs a temporary workaround, the warning can be disabled by adding

 -Wno-inconsistent-missing-override

in CFLAGS_DEBUG and CFLAGS_RELEASE in Makefile.inc
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-05-04 23:41 paolinux New Issue


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker