This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: indent 1.10.0 and glibc 2.1.1
- To: Carlo Wood <carlo@runaway.xs4all.nl>, libc-alpha@sourceware.cygnus.com, Mike Castle <dalgoda@ix.netcom.com>
- Subject: Re: indent 1.10.0 and glibc 2.1.1
- From: Mike Castle <dalgoda@ix.netcom.com>
- Date: Sat, 19 Jun 1999 11:29:55 -0500
- Cc: egcs-bugs@egcs.cygnus.com, bug-glibc@gnu.org
- References: <19990617001241.A15022@thune.netcom.com> <1681.929731210@upchuck.cygnus.com> <19990618235611.A16668@thune.netcom.com> <u8zp1wd7rl.fsf@arthur.rhein-neckar.de>
- Reply-To: Mike Castle <dalgoda@ix.netcom.com>
On Sat, Jun 19, 1999 at 08:27:58AM +0200, Andreas Jaeger wrote:
> this is a problem that's not related to egcs but to glibc and indent.
> I'm therefore changing the mail adresses again and have set a
> reply-to.
>
> The problem is that glibc uses inline macros and functions for string
> functions (see <bits/string.h> and <bits/string2.h>). If you disable
> those (compile with -D__NO_STRING_INLINES) args.c compiles. I've been
> able to reproduce the problem with the following small program:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Deleted]
Ok. Thanks. Now I'm convinced. :->
> Carlo, the indent author might fix his configure test (it checks
> for memcpy) and sys.h which uses:
> /* configure defines USG if it can't find bcopy */
>
> #ifndef USG
> #define memcpy(dest,src,len) bcopy((src),(dest),len)
> #endif
> but apparently configure neither sets USG nor checks for bcopy.
This code was in the sys.h that came from indent 1.9.1. And the configure
from 1994 DID check for USG.
My solution was to simply remove the USG block in sys.h.
My apologies to Jeffrey Law. He was right.
Regards,
mrc
--
Mike Castle Life is like a clock: You can work constantly
dalgoda@ix.netcom.com and be right all the time, or not work at all
www.netcom.com/~dalgoda/ and be right at least twice a day. -- mrc
We are all of us living in the shadow of Manhattan. -- Watchmen