delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2020/11/30/12:57:01

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
To: "DJGPP List (E-mail)" <djgpp AT delorie DOT com>
From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Subject: More GCC-10.2.0 problems in case of LFN=N
Message-ID: <02db38d3-910b-b4c4-a651-ea808468930a@iki.fi>
Date: Mon, 30 Nov 2020 19:53:08 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.4.3
MIME-Version: 1.0
X-MIME-Autoconverted: from Base64 to 8bit by delorie.com id 0AUHrlQL008640
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019