]> git.ipfire.org Git - thirdparty/gcc.git/commit
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)
commit0f0b42896196315acfc636b1e535cda4ee283646
tree171a86289d0d99ed8b5d256cbda4b23e0adfc4ae
parentaad3d9351890f6190a4ea61260b6d93ad1f372c4
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.
libstdc++-v3/config/locale/vxworks/ctype_members.cc