This is the mail archive of the gcc-patches@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]

Re: egcs, bootstrap failure sunos4 cc + PATCH


>>>>> "Kaveh" == Kaveh R Ghazi <ghazi@caip.rutgers.edu> writes:

    Kaveh> 	I got the following error building egcs (mainline
    Kaveh> checked out today) and bootstrapped with SunsOS4 cc.

    >> cc -c -DHAVE_CONFIG_H -g -I. -I./../include cplus-dem.c
    >> "cplus-dem.c", line 3355: redeclaration of demangle_nested_args
    >> make[1]: *** [cplus-dem.o] Error 1 make[1]: Leaving directory
    >> `/a/caip/a26/u26/ghazi/gcc-testing/sunos4-build/egcs-CVS19980716/libiberty'
    >> 
    >> make: *** [all-libiberty] Error 1

I wrote that code.  Just so that I'm clear (and don't screw this up
again), the SunOS4 cc actually forbids this:

  static int f();

  int f() {}

Is that what you're saying? 

-- 
Mark Mitchell 			mark@markmitchell.com
Mark Mitchell Consulting	http://www.markmitchell.com


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