Mail Archives: djgpp/2000/05/11/13:52:40
On 10 May 2000, at 18:51, DJ Delorie wrote:
>
> > My current problem is ...
>
> Because DOS doesn't have case-sensitive file systems, you can't have
> (for example) string.h and String.h at the same time. So, what we did
> was rename the ones with upper case to have an underscore, like
> _String.h. And the C++ headers are in lang/cxx/ (_String.h is in
> lgp2952b.zip), not include/.
Try with gcc-2.95.2:
echo '#include <String.h>' | gcc -x c++ -E - | less
echo '#include <string.h>' | gcc -x c++ -E - | less
and in first case You'll get lang/cxx/_String.h and in second
include/string.h (unless there is some installation problem)
as filename translation rules are specified in files with name
header.gcc (used when command line option -remap is specified
for cpp.exe)
However I recommend use <string> instead of libg++ String class
>
> Note, however, that the current gcc also allows for <string> for the
> C++ string class.
>
> > I've been lurking here a while and you all seem like a great bunch
> > of guys & gals.
Andris
- Raw text -