delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/20/00:58:16

From: rjhe AT oce DOT nl ("Rob Hegt")
Subject: Re: string.h problems
20 Jan 1997 00:58:16 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <B426D422E.cygnus.gnu-win32@fs-nw-ps>
Mime-Version: 1.0
>Return-Path: <rjhe AT oce DOT nl>
Original-To: gnu-win32 AT cygnus DOT com
Original-Cc: "p.a.c.tavares" <cabr85 AT ccsun DOT strath DOT ac DOT uk>
X-Mailer: Pegasus Mail for Windows (v2.23)
Original-Sender: owner-gnu-win32 AT cygnus DOT com

> From:          "p.a.c.tavares" <cabr85 AT ccsun DOT strath DOT ac DOT uk>
> Subject:       string.h problems
> To:            gnu-win32-owner AT cygnus DOT com (Cygwin List)
> Date:          Fri, 17 Jan 1997 12:30:02 +0000 (GMT)

> I've had trouble with a number of functions that should be defined in 
> string.h: strncpy, bcopy and bcopy
> 
> For all of these the compiler complains they haven't been defined. I 
> checked the header file and they are indeed there and I found them to be 
> encapsulated in some macro. Could someone explain what I have to do? Thanks.
> 

I had the exact same problem compiling V. Using gcc -E (only run cpp) I 
found out that the C++ String.h was included, not the standard string.h. 
So I think we have a case-sensitivity problem. Anyway, I 'fixed' the 
problem by specifying -nostdinc -I<C includes> -I<C++ includes>.

Does anyone know how case-sensitivity is handled? I had problems with it in 
combination with makefiles as well.

Rob Hegt

-
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