From:
resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Alan Stokes
Sent: Tuesday, November 01, 2005
12:53 PM
To:
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: [reSIProcate]
BaseUsage.hxx: onReadyToSend generates an unusedvariable warning
BaseUsage.hxx recently
acquired this line:
virtual void onReadyToSend(SipMessage& msg) {}
However, that means when I build my code that uses this header (with MSVC 7.1)
I get an unused variable warning for msg. And since I compile with warnings as
errors, it breaks my build.
This is the only place where this occurs in the headers. I think it's common in
the .cxx files, but that isn't an issue; I use resiprocate's policy warning
level when building resiprocate. But I'd like to be able to use my policy when
building my code.
Would it be possible to change it to:
virtual void onReadyToSend(SipMessage&) {}
- Alan