Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: David Fell <borris@chaos.org.uk>
Subject: Re: string.h, strlen(), warnings from gcc
Date: Mon, 17 Jun 1996 18:22:26 +0100 (BST)	[thread overview]
Message-ID: <9be3c5a7404ec11a75f4ccd4211fbcf9.axp-list@archive.invalid> (raw)
In-Reply-To: <m0uVUzM-0001q2C@atheist.tamu.edu>

On Sun, 16 Jun 1996, Richard Henderson wrote:

> > Can anyone explain why I should need to explicitly specify extern 
> > strlen() after including <string.h> for the following simple example?
> 
> The only ones that come to mind are:
> 
>   - your string.h is (really) old and buggy
>   - your string.h has been corrupted.
> 
> What distribution are you using?  Does strlen's declaration 
> actually appear in your string.h?

I'm using the Craftwork 2.1 AXP distribution. <string.h> has a conditional
like

#ifndef __GNUC__
extern ...
#endif

Redhat 3.0.3 on i386 on my home box doesn't have this conditional stuff around
these definitions. But this doesn't automatically make my AXP headers wrong.
Is this an area of gcc header files that has changed over the years?

Regards,

Borris

mailto:borris@chaos.org.uk
http://chaos.org.uk/

  reply	other threads:[~1996-06-17 17:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.SUN.3.90.960617020120.8650B-100000@ant>
1996-06-17  3:28 ` string.h, strlen(), warnings from gcc Richard Henderson
1996-06-17 17:22   ` David Fell [this message]
1996-06-17 10:04 ` Harald Koenig
     [not found] <Pine.LNX.3.91.960617181918.17165A-100000@chaos.chaos.org.uk>
1996-06-17 20:51 ` Richard Henderson
1996-06-17 16:21 David Mosberger-Tang
  -- strict thread matches above, loose matches on Subject: below --
1996-06-17  1:04 David
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox