[reSIProcate] DUM forgets to #include SipMessage.hxx

Anthony Harris slightlydisturbed at hotmail.com
Thu Apr 14 05:08:10 CDT 2005


I think I've fixed the compile problem. In the DUM file Dialog.hxx the 
SipMessage.hxx file from the ReSiprocate project should be included (which 
it is not) i.e.

   #include "resiprocate/SipMessage.hxx"

This is because it refers to the class later on:
   class SipMessage;

The above line is not sufficient as the definition of the class is not 
included (hence the #include line at the top).

Also, a different error is the second constructor of the class 
DialogUsageManager in DialogUsageManager.hxx. i.e.

      // deprecated interface
      //DialogUsageManager(std::auto_ptr<SipStack> stack = 
std::auto_ptr<SipStack>(new SipStack(0,0,false)));

This constructor inserts a declaration in a defintion file, which is wrong 
surely? I'm not too worried about this since the constructor is commented as 
"deprecated". I've just commented out the definition and the implemenmtation 
in the .cxx file and I'll use the other constructor in all cases

Can anyone confirm these issues?

Cheers,
Tony.





More information about the resiprocate-devel mailing list