Hello,
I 've just get the lastest version of gloox at svn://svn.camaya.net/gloox/trunk
but I couldn't build it.
When I build by using MSVC6, I received some error as following:
Compiling...
adhoc.cpp
client.cpp
d:\data\vs6\violet\gloox\src\util.h(101) : error C2995: 'clear' : template
function has already been defined
d:\data\vs6\violet\gloox\src\util.h(83) : see declaration of 'clear'
d:\data\vs6\violet\gloox\src\client.cpp(478) : fatal error C1903: unable to
recover from previous error(s); stopping compilation
clientbase.cpp
d:\data\vs6\violet\gloox\src\util.h(101) : error C2995: 'clear' : template
function has already been defined
d:\data\vs6\violet\gloox\src\util.h(83) : see declaration of 'clear'
d:\data\vs6\violet\gloox\src\clientbase.cpp(121) : fatal error C1903: unable to
recover from previous error(s); stopping compilation
dataform.cpp
d:\data\vs6\violet\gloox\src\util.h(101) : error C2995: 'clear' : template
function has already been defined
d:\data\vs6\violet\gloox\src\util.h(83) : see declaration of 'clear'
dataformbase.cpp
d:\data\vs6\violet\gloox\src\util.h(101) : error C2995: 'clear' : template
function has already been defined
d:\data\vs6\violet\gloox\src\util.h(83) : see declaration of 'clear'
d:\data\vs6\violet\gloox\src\dataformbase.cpp(29) : fatal error C1903: unable
to recover from previous error(s); stopping compilation
...
I don't know how to fix this error. Would you tell me how to overcome the
problem?
Thanks in advanced,
Vinh