Mail Archives: djgpp/2000/08/11/04:55:31
On Fri, 11 Aug 2000, Damian Yerrick wrote:
> On Fri, 11 Aug 2000 00:25:17 +0100, Jason Green
> <news AT jgreen4 DOT fsnet DOT co DOT uk> wrote:
>
> >"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote:
> >
> >> But if you can suggest a reasonable DJGPP-specific solution that would
> >> reliably work, please do. Nobody enjoys answering the FAQs about
> >> stream~1.h here, we just didn't find any way of solving that better
> >> than what's already in the docs and the FAQ.
> >
> >Most of these FAQs probably stem from #include <iostream>, which has
> >streambuf.h nested in it. How about making a copy of streambuf.h with
> >an 8.3 filename and editing the nested include within iostream.h?
>
> One way to do it:
>
> Rename streambuf.h to strmbuf.h
> Edit iostream.h to #include <strmbuf.h>
> Make streambuf.h one line: #include <strmbuf.h>
>
> What will that break?
>
Better way is to add translation from streambuf.h to strmbuf.h in
lang/cxx/header.gcc. As the option -remap is used cpp will be able to find
a file when one writes '#include <streambuf.h>'. But there are many more
...
I only renamed files in port of gcc-2.95.2 when I had file naming conflict
in plain DOS.
Andris
- Raw text -