From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2044) id 97FD23858C78; Mon, 7 Mar 2022 07:45:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 97FD23858C78 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Rasmus Villemoes To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-7508] libstdc++: vxworks: remove stray include X-Act-Checkin: gcc X-Git-Author: Rasmus Villemoes X-Git-Refname: refs/heads/master X-Git-Oldrev: aad3d9351890f6190a4ea61260b6d93ad1f372c4 X-Git-Newrev: 0f0b42896196315acfc636b1e535cda4ee283646 Message-Id: <20220307074547.97FD23858C78@sourceware.org> Date: Mon, 7 Mar 2022 07:45:47 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2022 07:45:47 -0000 https://gcc.gnu.org/g:0f0b42896196315acfc636b1e535cda4ee283646 commit r12-7508-g0f0b42896196315acfc636b1e535cda4ee283646 Author: Rasmus Villemoes Date: Fri Mar 4 09:18:39 2022 +0100 libstdc++: vxworks: remove stray include There doesn't seem to be any reason for this TU to include , and it causes errors when the resulting libstdc++ is used on our VxWorks 5.5 target - presumably because now libstdc++ itself contains an instance of std::ios_base::Init. Which should be mostly harmless, but apparently isn't, and from a QoI viewpoint should probably be avoided anyway. libstdc++-v3/ChangeLog: * config/locale/vxworks/ctype_members.cc: Remove include. Diff: --- libstdc++-v3/config/locale/vxworks/ctype_members.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/libstdc++-v3/config/locale/vxworks/ctype_members.cc b/libstdc++-v3/config/locale/vxworks/ctype_members.cc index 82569d075c6..d8ca551078d 100644 --- a/libstdc++-v3/config/locale/vxworks/ctype_members.cc +++ b/libstdc++-v3/config/locale/vxworks/ctype_members.cc @@ -33,7 +33,6 @@ #include #include #include -#include namespace std _GLIBCXX_VISIBILITY(default) {