C++ compilation issue
<p>I am seeing some C++ errors I don't understand  (I am java centric coder):</p>

<pre><code>WarningNotification_if.cpp: In function 'void fireStatusBarMessage(char*, int)':
WarningNotification_if.cpp:62:14: error: expected type-specifier
WarningNotification_if.cpp:62:14: error: cannot convert 'int*' to 'WarningEventData*' in initialization
WarningNotification_if.cpp:62:14: error: expected ',' or ';'
</code></pre>

<p>Here is the actual code:</p>

<pre><code>void fireStatusBarMessage(char *message = 0, int aTime = 0 )
{
   LmLocker locker( (char *)__FILE__, __LINE__, &amp;WarningEventUpdateMutex );
   HMI_DEBUG(EVENT_DEBUG, (stderr, "Fire Status Bar Message\n") );
   if ( message != 0 )
   {
      QString warningMessage = QString( message );
      WarningEventData *theEventData = 
         new WarningEventData::WarningEventData();
      theEventData-&gt;initialize();
      theEventData-&gt;setMessageType( SESSION_STATUSBAR_TYPE );
      theEventData-&gt;setCommand( APPEND_WARNING );
      theEventData-&gt;setMessage( warningMessage );
      theEventData-&gt;setModifier( aTime );
      theEventData-&gt;setCategory( SESSION_STATUSBAR_TYPE );
      WarningNotification::fireChange( SESSION_STATUSBAR_TYPE, theEventData );
   } /* endif - message contents */
}
</code></pre>

<p>Do I need to be importing something else or using a certain -D flag?</p>
