libstdc++: vxworks: remove stray <iostream> include
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Fri, 4 Mar 2022 08:18:39 +0000 (09:18 +0100)
committerRasmus Villemoes <rv@rasmusvillemoes.dk>
Mon, 7 Mar 2022 07:44:46 +0000 (08:44 +0100)
There doesn't seem to be any reason for this TU to include
<iostream>, 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 <iostream>
  include.

libstdc++-v3/config/locale/vxworks/ctype_members.cc

index 82569d0..d8ca551 100644 (file)
@@ -33,7 +33,6 @@
 #include <cstdlib>
 #include <cstring>
 #include <cstdio>
-#include <iostream>
 
 namespace std _GLIBCXX_VISIBILITY(default)
 {