This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: [cygwin] Can't boostrap current gcc trunk with libjava: ../../../gcc/libjava/classpath/native/fdlibm/mprec.h:297:1: error: "_EXFUN" redefined


>>>>> "ChJ" == Christian Joensson <christian.joensson@gmail.com> writes:

ChJ> In file included from ../../../gcc/libjava/classpath/native/fdlibm/fdlibm.h:29,
ChJ>                  from ../../../gcc/libjava/java/lang/natVMDouble.cc:27:
ChJ> ../../../gcc/libjava/classpath/native/fdlibm/mprec.h:297:1: error:
ChJ> "_EXFUN" redefined
ChJ> In file included from /usr/include/stdlib.h:10,
ChJ>                  from ../../../gcc/libjava/java/lang/natVMDouble.cc:14:
ChJ> /usr/include/_ansi.h:36:1: error: this is the location of the previous
ChJ> definition

ChJ> anyone else see this?

That is new to me, but then I don't build on Cygwin.
Where does /usr/include/_ansi.h come from?

Anyway, try adding a "#undef _EXFUN" in the appropriate place in
mprec.h.  If that works for you, send it to me and I will check it in.

Tom


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