This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


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

Re: dlltool and ld combination does not work


"Who cares..." <oyehia@oracle.dsuper.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@cs.mu.oz.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@128.250.37.3         |     -- the last words of T. S. Garp.
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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