summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2022-03-04 09:18:39 +0100
committerRasmus Villemoes <rv@rasmusvillemoes.dk>2022-03-07 08:44:46 +0100
commit0f0b42896196315acfc636b1e535cda4ee283646 (patch)
tree171a86289d0d99ed8b5d256cbda4b23e0adfc4ae
parentaad3d9351890f6190a4ea61260b6d93ad1f372c4 (diff)
libstdc++: vxworks: remove stray <iostream> include
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.
-rw-r--r--libstdc++-v3/config/locale/vxworks/ctype_members.cc1
1 files changed, 0 insertions, 1 deletions
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 <cstdlib>
#include <cstring>
#include <cstdio>
-#include <iostream>
namespace std _GLIBCXX_VISIBILITY(default)
{