This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

G++ 2.95.1 compilation errors


 
 We are trying to use the g++ new compiler after successfull bootstarp installation but we are geting compilation errors regarding stl headers such as:

 /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/../../../../include/g++-3/stl_iterator.h:48: parse error before `;'
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/../../../../include/g++-3/stl_iterator.h:115: parse error before `;'
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/../../../../include/g++-3/stl_iterator.h:124: parse error before `;'
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/../../../../include/g++-3/stl_iterator.h:263: type specifier omitted for parameter
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/../../../../include/g++-3/stl_iterator.h:287: type specifier omitted for parameter
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/../../../../include/g++-3/stl_iterator.h:314: type specifier omitted for parameter
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/../../../../include/g++-3/stl_iterator.h:471: parse error before `>'
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/../../../../include/g++-3/stl_iterator.h:483: confused by earlier errors, bailing out
*** Error code 1
make: Fatal error: Command failed for target `Point.o'
 

 Is there a workarround solution, It didcompile with 2.7.2.2 gnu version
 successfuly.

 THanks Dita.
 

-- 
---------------------------------------------------------------------
 Dita Jacobovitz                       dita@CS.Technion.AC.IL
 Computer Science Dept.                Technion - Israel Institute of  
 Technology                            Tel: +972 (04) 829-2055
 Haifa 32000, Israel                             
---------------------------------------------------------------------
 
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]