delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/01/08/05:35:01

Message-ID: <008801c2b6f3$905baaf0$0100a8c0@acp42g>
From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
To: "Richard Dawe" <rich AT phekda DOT freeserve DOT co DOT uk>
Cc: "DJGPP workers" <djgpp-workers AT delorie DOT com>
References: <006101c2b636$00763030$0100a8c0 AT acp42g> <3E1B211B DOT 61F92F6C AT phekda DOT freeserve DOT co DOT uk>
Subject: Re: Make realloc pointer problem [was part of Re: GCC 3.2.1 build failure]
Date: Wed, 8 Jan 2003 19:52:23 +1100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Reply-To: djgpp-workers AT delorie DOT com

> > > make.exe[2]: Entering directory `d:/dj204/gnu/make-3.80/glob'
> > > gcc -I.. -I. -I. -I./glob -DHAVE_CONFIG_H -O2 -g -c fnmatch.c
> > > gcc -I.. -I. -I. -I./glob -DHAVE_CONFIG_H -O2 -g -c glob.c
> > > In file included from glob.c:813:
> > > glob.c: In function `glob':
> > > glob.c:197: warning: passing arg 0 of `my_realloc' from incompatible
> > > pointer type
>[snip]
> I still don't understand what arg 0 is. Which version of gcc is that with?
gcc
> 3.2.1? Does it occur when you build against DJGPP 2.03?
I am using GCC 3.2.1 from Simtel until I can re-build it.

I have setup 2.03 with Bash 2.05b and make from 2.04 and GCC 3.2.1 from
Simtel and get the same results. I will report this to the make maintaners
tonight.

> > This also occurs with make 3.79.2a1, which is where I first seen the
problem
> > and it is also in 3.80.
> >
> > Should I report this to the make maintainers or is it a DJGPP specific
> > problem or should I just ignore this warning?
>
> This doesn't look like a DJGPP-specific problem to me. If you get the same
> error building against DJGPP 2.03, I'd report it to the maintainers.
>
> > glob.c  line 184:
> > #ifndef __GNU_LIBRARY__
> > # ifdef __GNUC__
> > __inline
> > # endif
> > # ifndef __SASC
> > #  ifdef WINDOWS32
> [snip]
>
> Are any of these defined? __GNUC__ presumably is. WINDOWS32?
__GNU_LIBRARY__ is defined
__GNUC__ is defined
__SASC is not defined
WINDOWS32 is not defined

Nothing wrong here.



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019