Re: [Ekiga-list] compile error ekiga 3.2.5 / xcap module



>>> On 8/24/2009 at 15:42, Julien Puydt <jpuydt free fr> wrote: 
> Hmmm... I have 2.27.4-1 here... and I only have warnings about "warning: 
> dereferencing type-punned pointer will break strict-aliasing rules" :-/
> 
> Can you check what happens when you replace SOUP_METHOD_FOO with "FOO"? 
> (where FOO is one of GET, PUT and DELETE)?
> 
> It looks more like a small libsoup issue than a real code problem.

Sure thing I can try this:
cpp' || echo './'`../../../../lib/engine/components/xcap//xcap-core.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../lib/engine/framework -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include
-I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fmessage-length=0 -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fstack-protector -fexceptions -Wall -Wextra -Winit-self
-Wswitch-default -Wswitch-enum -Wstrict-aliasing=2 -Wfloat-equal -Wshadow -MT xcap-core.lo -MD -MP -MF .deps/xcap-core.Tpo -c
../../../../lib/engine/components/xcap//xcap-core.cpp  -fPIC -DPIC -o .libs/xcap-core.o
../../../../lib/engine/components/xcap//xcap-core.cpp: In member function 'void XCAP::CoreImpl::read(gmref_ptr<XCAP::Path>, sigc::slot2<void, bool,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >)':
../../../../lib/engine/components/xcap//xcap-core.cpp:236: error: 'GET' was not declared in this scope
../../../../lib/engine/components/xcap//xcap-core.cpp: In member function 'void XCAP::CoreImpl::write(gmref_ptr<XCAP::Path>, std::string,
std::string, sigc::slot1<void, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >)':
../../../../lib/engine/components/xcap//xcap-core.cpp:265: error: 'PUT' was not declared in this scope
../../../../lib/engine/components/xcap//xcap-core.cpp: In member function 'void XCAP::CoreImpl::erase(gmref_ptr<XCAP::Path>, sigc::slot1<void,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >)':
../../../../lib/engine/components/xcap//xcap-core.cpp:296: error: 'DELETE' was not declared in this scope
make[6]: *** [xcap-core.lo] Error 1


I somewhat expect more the compiler being nasty:
gcc (SUSE Linux) 4.4.1 [gcc-4_4-branch revision 150839]

I read it's getting much stricter on type casts than it used to be.

What are you using?

Dominique


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]