Hi,
It seems to me that we cannot include "registrationhandler.h" alone ( it's
ok if "rosteritem.h" is included before ).
The following code gets compile-error ( gloox 0.9.2, msvc6.0):
#include "gloox\registrationhandler.h"
int main()
{
return 0;
}
Compiling...
main.cpp
c:\devbox\chat\gloox\gloox\registrationhandler.h(91) : error C2143: syntax
error : missing ',' before '&'
c:\devbox\chat\gloox\gloox\registrationhandler.h(91) : error C2059: syntax
error : '&'
c:\devbox\chat\gloox\gloox\registrationhandler.h(98) : error C2143: syntax
error : missing ',' before '&'
c:\devbox\chat\gloox\gloox\registrationhandler.h(98) : error C2059: syntax
error : '&'
c:\devbox\chat\gloox\gloox\registrationhandler.h(105) : error C2143: syntax
error : missing ',' before '&'
c:\devbox\chat\gloox\gloox\registrationhandler.h(105) : error C2059: syntax
error : '&'
c:\devbox\chat\gloox\gloox\registrationhandler.h(113) : error C2143: syntax
error : missing ',' before '&'
c:\devbox\chat\gloox\gloox\registrationhandler.h(113) : error C2059: syntax
error : '&'
c:\devbox\chat\gloox\gloox\registrationhandler.h(121) : error C2143: syntax
error : missing ',' before '&'
c:\devbox\chat\gloox\gloox\registrationhandler.h(121) : error C2059: syntax
error : '&'
Error executing cl.exe.
Thanks alot,
Son Tran