<div dir="ltr">Hello,<div><br></div><div style>I am trying to compile libvisio on Red Hat Enterprise 6.3, which is equivalent of CentOS 6, and I am running into a problem. I found some rpm's with compiled versions of the software, but it requires a newer version of glibc then what's offered by Red Hat.</div>
<div style><br></div><div style>Compile errors are below.</div><div style><br></div><div style>I would appreciate any help.</div><div style>Leon.</div><div style><br></div><div style><div>[root@norenttools libvisio-0.0.24]# make</div>
<div>make all-recursive</div><div>make[1]: Entering directory `/var/depot/libvisio-0.0.24'</div><div>Making all in src</div><div>make[2]: Entering directory `/var/depot/libvisio-0.0.24/src'</div><div>Making all in lib</div>
<div>make[3]: Entering directory `/var/depot/libvisio-0.0.24/src/lib'</div><div> CXX libvisio_utils.lo</div><div> CXX VisioDocument.lo</div><div> CXX VSD5Parser.lo</div><div> CXX VSD6Parser.lo</div><div>
CXX VSDInternalStream.lo</div><div> CXX VSDSVGGenerator.lo</div><div> CXX VSDCharacterList.lo</div><div> CXX VSDContentCollector.lo</div><div>cc1plus: warnings being treated as errors</div><div>VSDStyles.h: In member function âvirtual void libvisio::VSDContentCollector::collectShape(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)â:</div>
<div>VSDStyles.h:86: error: dereferencing pointer â<anonymous>â does break strict-aliasing rules</div><div>/usr/include/boost/optional/optional.hpp:422: note: initialized from here</div><div>VSDStyles.h:87: error: dereferencing pointer â<anonymous>â does break strict-aliasing rules</div>
<div>/usr/include/boost/optional/optional.hpp:422: note: initialized from here</div><div>VSDStyles.h:159: error: dereferencing pointer â<anonymous>â does break strict-aliasing rules</div><div>/usr/include/boost/optional/optional.hpp:422: note: initialized from here</div>
<div>.</div><div style>..</div><div style>.</div><div style>.</div><div style><div>VSDStyles.h:416: error: dereferencing pointer â<anonymous>â does break strict-aliasing rules</div><div>/usr/include/boost/optional/optional.hpp:422: note: initialized from here</div>
<div>VSDStyles.h:417: error: dereferencing pointer â<anonymous>â does break strict-aliasing rules</div><div>/usr/include/boost/optional/optional.hpp:422: note: initialized from here</div><div>VSDStyles.h:420: error: dereferencing pointer â<anonymous>â does break strict-aliasing rules</div>
<div>/usr/include/boost/optional/optional.hpp:422: note: initialized from here</div><div>VSDStyles.h:421: error: dereferencing pointer â<anonymous>â does break strict-aliasing rules</div><div>/usr/include/boost/optional/optional.hpp:422: note: initialized from here</div>
<div>make[3]: *** [VSDContentCollector.lo] Error 1</div><div>make[3]: Leaving directory `/var/depot/libvisio-0.0.24/src/lib'</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[2]: Leaving directory `/var/depot/libvisio-0.0.24/src'</div>
<div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory `/var/depot/libvisio-0.0.24'</div><div>make: *** [all] Error 2</div><div><br></div><div><br></div></div></div></div>