Mail Archives: djgpp/2000/01/24/12:18:33
On 22 Jan 00, at 21:00, Peter Karp wrote:
> Hi DJGPP gurus :-)
>
> please forgive me my newbie question.
>
> I tried to include <valarray> in a source file.
Please try to compile source with option -v and post output
redir -eo gcc -v -c vectom.cpp >output.lst
>
> DJGPP 2.03 complained:
>
> E:\aa\cpp>gxx vectom.cpp
> In file included from d:/progra~1/djgpp/lang/cxx/valarray:6,
> from vectom.cpp:3:
> d:/progra~1/djgpp/lang/cxx/std/std_valarray.h:113:
> std/valarray_meta.h: No such file or directory (ENOENT)
>
> So I looked if there's a file valarray_meta.h (in the subdir std). It
> didn't exist, but a file named _valarray_meta.h was there.
>
> I renamed _valarray_meta.h to valarray_meta.h and retried to compile
> the source. This time with success.
>
I renamed valarray_meta.h to _valarray_meta.h to avoid filename
conflict in 2 cases:
non LFN systems (eg. plain DOS)
Win9X when NameNumericTails=1 in Windows registry
Preprocessor should automatically translate name when in't mentioned
in file header.gcc in the same directory and option -remap is specified
for cpp (it is automatically with DJGPP port of gcc-2.95.2)
> Is renaming the file the right fix for my problem here, or should I
> choose another solution? (which)
>
No. Perhaps Your installation have some problem.
> Is this a problem in every DJGPP installation? Then it might be a
> general problem which should be fixed in the zip files?
>
No.
Andris
- Raw text -