title: How to include a new message extended from DemoSafetyMessage in the MyVeinsApp application?
body: <p>I created a new safety messsage that is extended from the DemoSafetyMessage:</p>
  <pre><code>import veins.modules.messages.DemoSafetyMessage;
  namespace veins;
  packet NewSafetyMsg extends DemoSafetyMessage {
  double senderAngle;
  double PowRxdBmAvg;
  }
  </code></pre>
  <p>I include this new message into the MyVeinsApp application and pass it to the onBSM function in both the .cc and .h files of MyVeinsApp.</p>
  <pre><code>#include &quot;veins/modules/messages/NewSafetyMsg_m.h&quot;
  
  void onBSM(NewSafetyMsg* bsm) override; // in the .h file
  
  #include &quot;veins/modules/messages/NewSafetyMsg_m.h&quot; //in the .cc file
  </code></pre>
  <p>However, I am getting this error in the .h file.</p>
  <pre><code>Description Resource    Path    Location    Type ‘void veins::MyVeinsApp::onBSM(veins::NewSafetyMsg*)’ marked ‘override’, but does not override MyVeinsApp.h    /veins/src/veins/modules/application/traci  line 50 C/C++ Problem
  </code></pre>
  <p>I know that MyVeinsApp is extending the DemoBaseApplLayer which takes DemoSafetyMessage, So there should be no problem!! What I am doing wrong?</p>