When trying to build on Sparc/Sun-Solaris 2.8 with cc command from SUN Forte 6.2, we have compilation error because of assignation between const and non const variables. I have patched the source code with problem (2 files) in order to compile it. The patch file is joined with this bug report to allow you to analyze it.
-- Summary: Error compiling with SUN cc compiler Product: gcc Version: 4.3.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: Philippe dot Poilbarbe at cls dot fr GCC build triplet: sparc-sun-solaris2.8-gcc GCC host triplet: sparc-sun-solaris2.8-gcc GCC target triplet: sparc-sun-solaris2.8-gcc http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39674