delorie.com/archives/browse.cgi | search |
From: | noer AT cygnus DOT com (Geoffrey Noer) |
Subject: | Re: String.h vs string.h bug... |
25 Apr 1997 16:46:38 -0700 : | |
Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
Distribution: | cygnus |
Message-ID: | <199704252146.OAA28677.cygnus.gnu-win32@cirdan.cygnus.com> |
Original-To: | rgordon AT vnet DOT net |
Original-Cc: | gnu-win32 AT cygnus DOT com |
In-Reply-To: | <B7C3D17100@REX.queens.edu> from "Ryan C. Gordon" at Apr 25, 97 04:29:22 am |
X-Mailer: | ELM [version 2.4 PL23] |
Original-Sender: | owner-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 AT cygnus DOT com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |