This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: String.h vs string.h bug...
- To: rgordon at vnet dot net
- Subject: Re: String.h vs string.h bug...
- From: Geoffrey Noer <noer at cygnus dot com>
- Date: Fri, 25 Apr 1997 14:46:12 -0700 (PDT)
- Cc: gnu-win32 at cygnus dot com
> Very simply, when compiling a C++ program that includes <string.h>,
> the preprocessor includes <String.h> from the C++ include directory,
> instead of the (lower case) string.h from the C include dir.
This is a known problem with the beta 17.1 release. It will be fixed
in the upcoming beta 18 release.
The solution is to rename the conflicting files and then create a map file
for the compiler which maps the correct names to the new names. Thus
String.h becomes _string.h and header.gcc contains a mapping from
String.h to _string.h.
--
Geoffrey Noer
noer@cygnus.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".