This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


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

Re: indent 1.10.0 and glibc 2.1.1


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

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