This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: mingw32 gcj compile failure and possible patch


On Fri, Apr 05, 2002 at 08:16:04PM -0800, Adam Megacz wrote:
> 
> Adam Megacz <gcj@lists.megacz.com> writes:
> > aking@dreammechanics.com writes:
> > > I was hoping Adam M. would have a chance to look at this error, but
> 
> > It should be fixed now -- could you try again?
> 
> Er, that fix was for a differnt problem. Here's the fix for your
> problem. Could you cvs update and try again?
> 

Strange.. I just did an update, but I'm not seeing this patch
in exception.cc.  Is the cvs server I'm using some kind of mirror?
It's subversions.gnu.org:/cvsroot/gcc

Anyways, I applied your patch manually and it does indeed
fix the link error.  Thanks!

	Adam

> 2002-04-05  Adam Megacz <adam@xwt.org>
> 
>         * exception.cc (abort): added static modifier
> 
> Index: exception.cc
> ===================================================================
> RCS file: /cvs/gcc/gcc/libjava/exception.cc,v
> retrieving revision 1.20
> diff -u -r1.20 exception.cc
> --- exception.cc        2002/02/13 00:29:42     1.20
> +++ exception.cc        2002/04/06 04:17:54
> @@ -23,7 +23,8 @@
>  // stdlib.h's abort().
>  namespace std
>  {
> -  __attribute__ ((__noreturn__)) void abort ()
> +  static __attribute__ ((__noreturn__)) void
> +  abort ()
>    {
>      ::abort ();
>    }


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