Mail Archives: djgpp/2020/11/30/12:57:01
On WIndows Vista Business SP3 I'm getting when LFN=N (the same system I'm using to build GCC ports
of GCC):
bash-2.05b$ echo '#include <iostream>' | gcc -std=c++17 -x c++ -
In file included from d:/djgpp/include/cxx/10/string:55,
                from d:/djgpp/include/cxx/10/bits/locale_classes.h:40,
                from d:/djgpp/include/cxx/10/bits/ios_base.h:41,
                from d:/djgpp/include/cxx/10/ios:42,
                from d:/djgpp/include/cxx/10/ostream:38,
                from d:/djgpp/include/cxx/10/iostream:39,
                from <stdin>:1:
d:/djgpp/include/cxx/10/bits/basic_string.h:48:11: fatal error: string_view: No
such file or directory (ENOENT)
  48 | # include <string_view>
     |          ^~~~~~~~~~~~~
compilation terminated.
DJGPP unzip32 unpacked string_view as string.view and as result it is not found. This problem is
not detected by doschk and similar programs (I used my own test implementation when building
gcc-10.2.0 for DJGPP). There are more similar problems visible in include/cxx/10 directory (I did
not check subdirectories now)
This could be fixed by renaming files and adding rules to corresponding header.gcc files
Andris
- Raw text -