delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/08/02:36:13

From: fjh AT cs DOT mu DOT OZ DOT AU (Fergus Henderson)
Subject: Re: dlltool and ld combination does not work
8 Feb 1997 02:36:13 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199702080053.LAA09815.cygnus.gnu-win32@murlibobo.cs.mu.OZ.AU>
Original-To: gnu-win32 AT cygnus DOT com (gnu-win32)
X-Mailer: ELM [version 2.4 PL24]
Original-Sender: owner-gnu-win32 AT cygnus DOT com

"Who cares..." <oyehia AT oracle DOT dsuper DOT net> wrote:
> On Wed, 5 Feb 1997, Bappa Pal wrote:
> 
> You are missing:
>  #include <string.h>
> > 
> > void vp_print(char *str_txt)
> > {
> > 	char str[10];
> > 
> >       strcpy(str, str_txt);
>         ^^^^^^ that is in string.h :)
> > 
> > }

This should still be considered a bug -- the compiler is not ANSI conformant.
ANSI C doesn't require #include <string.h>.

-- 
Fergus Henderson <fjh AT cs DOT mu DOT oz DOT au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh AT 128 DOT 250 DOT 37 DOT 3         |     -- the last words of T. S. Garp.
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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