[ 0%] Building CXX object
libs/client/CMakeFiles/Equalizer.dir/__/collage/rspConnection.cpp.o
cc1plus: warnings being treated as errors
In member function ‘virtual bool co::RSPConnection::listen()’:
cc1plus: error: dereferencing pointer ‘pretmp.23799’ does break
strict-aliasing rules
cc1plus: note: initialized from here
cc1plus: error: dereferencing pointer ‘pretmp.23799’ does break
strict-aliasing rules
cc1plus: note: initialized from here
cc1plus: error: dereferencing pointer ‘pretmp.23803’ does break
strict-aliasing rules
cc1plus: note: initialized from here
cc1plus: error: dereferencing pointer ‘pretmp.23803’ does break
strict-aliasing rules
cc1plus: note: initialized from here
make[2]: ***
[libs/client/CMakeFiles/Equalizer.dir/__/collage/rspConnection.cpp.o]
Error 1
make[1]: *** [libs/client/CMakeFiles/Equalizer.dir/all] Error 2
make: *** [all] Error 2
Trying to nail down the error I was able to obtain a clean compilation
by commenting out lines 249-250 and replacing line 226 with: const
ip::udp::endpoint writeEndpoint;
My guess is that there is something wrong going on with
boost::asio::ip::udp::resolver::iterator (my boost version is 1.42 by
the way). Has anyone encountered this problem before? Is there a workaround?
Since I'm coming from 0.9.0 where RSP connections weren't still
available, should I just remove the -Werror flag from the CMakeLists.txt
and ignore this problem?
Thanks and best regards,
Juan
_______________________________________________
eq-dev mailing list
eq-...@equalizergraphics.com
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com
I have the same problem Juan. I am using Ubuntu 10.04, gcc version: 4.4.3
and boost version is 1.40
Waiting for an answer to resolve this issue...
Thank you in advance !
Cheers,
Cristi
--
View this message in context: http://software.1713.n2.nabble.com/Compilation-problem-with-Equalizer-1-0-alpha-and-gcc-4-4-5-tp5908081p5988167.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.
I only just now saw this message thanks to Christi's email. It want straight into GMail's spam. I tweaked my filters, so hopefully it won't happen again.
On 10. Jan 2011, at 19:41, Juan Hernando wrote:
> Since I'm coming from 0.9.0 where RSP connections weren't still available, should I just remove the -Werror flag from the CMakeLists.txt and ignore this problem?
Yes, or you could disable Boost in the CMakeCache, which disables RSP altogether. I'll reproduce your issue locally and will submit a fix later.
Cheers,
Stefan.
I managed to compile by disabling -Werror.
Cheers,
Juan