Benjamin Roe wrote: > > Jordan C N Chong wrote: > > /usr/local/eclipse/include/i386_linux/eclipseclass.h:24, > > from eg_cc_basic.cc:19: > > /usr/local/eclipse/include/i386_linux/eclipse_cc.h: In function `EC_word > > term(EC_functor, EC_word, EC_word, EC_word, EC_word)': > > /usr/local/eclipse/include/i386_linux/eclipse_cc.h:1920: warning: cannot > > pass > > objects of non-POD type `const class EC_word' through `...' > > The warning isn't a problem, but in GCC 3.2 the warning was promoted to > an error, so it isn't possible (AFAIK) to compile Eclipse code using 3.2. Thanks for letting us know. It will work in ECLiPSe 5.6 (coming in about 3 weeks). But you can easily fix your current version. Make the following small changes in <eclipsedir>/include/i386_linux/eclipse_cc.h 1920c1920 < EC_word the_term(ec_term(functor.d,arg1,arg2,arg3,arg4)); --- > EC_word the_term(ec_term(functor.d,arg1.w,arg2.w,arg3.w,arg4.w)); 1936,1937c1936,1937 < EC_word the_term(ec_term(functor.d,arg1,arg2,arg3,arg4, < arg5,arg6,arg7,arg8,arg9,arg10)); --- > EC_word the_term(ec_term(functor.d,arg1.w,arg2.w,arg3.w,arg4.w, > arg5.w,arg6.w,arg7.w,arg8.w,arg9.w,arg10.w)); -- Joachim Schimpf / phone: +44 20 7594 8187 IC-Parc / mailto:J.Schimpf@imperial.ac.uk Imperial College London / http://www.icparc.ic.ac.uk/eclipseReceived on Wed May 14 10:57:56 2003
This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:24 PM GMT GMT