Eyescale/Equalizer — Issue #102: Compilation error
Author: bilgili
Created: 2012-03-06 12:26:01+00:00
State: open

While compiling the origin/master with Redhat6.1 and "gcc (GCC) 4.4.5 20110214 (Red Hat 4.4.5-6)" I am getting the error below.

cc1plus: warnings being treated as errors
/home/bilgili/temp/Equalizer/libs/co/rdmaConnection.cpp: In member function ‘bool co::RDMAConnection::_finishAccept(rdma_event_channel*)’:
/home/bilgili/temp/Equalizer/libs/co/rdmaConnection.cpp:754: error: dereferencing type-punned pointer will break strict-aliasing rules
/home/bilgili/temp/Equalizer/libs/co/rdmaConnection.cpp: In member function ‘void co::RDMAConnection::_updateInfo(sockaddr*)’:
/home/bilgili/temp/Equalizer/libs/co/rdmaConnection.cpp:926: error: dereferencing type-punned pointer will break strict-aliasing rules
make[3]: *** [libs/co/CMakeFiles/Collage.dir/rdmaConnection.cpp.o] Error 1
make[3]: Leaving directory `/home/bilgili/temp/Equalizer/release'
make[2]: *** [libs/co/CMakeFiles/Collage.dir/all] Error 2
make[2]: Leaving directory `/home/bilgili/temp/Equalizer/release'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/bilgili/temp/Equalizer/release'
make: *** [release] Error 2