< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] forward decl class resip::SipStack


I agree - you need the namespace surrounding the forward declaration.

On Wed, Jan 19, 2011 at 4:48 PM, Kennard White <kennard_white@xxxxxxxxxxxx> wrote:
Hi,

In a few places in the resip code base I've found forward declations like "class resip::SipStack" in header files. My compiler complains that these are useless. I think the correct syntax is "namespace resip { class SipStack; };". Can anyone confirm this? If so, I'll fix these as I find them.

Thanks,
Kennard

_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel