[Bug libstdc++/83127] Missing overload for operator << of std::stringstream for old ABI

2018-12-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83127

Jonathan Wakely  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #4 from Jonathan Wakely  ---
(In reply to Jonathan Wakely from comment #1)
> What is void Main(void) ? Is this using mingw or something?
> 
> Please provide the missing information as requested by
> https://gcc.gnu.org/bugs

The requested information was not provided, and this works fine for me on
mingw-w64 using
gcc version 7.3.0 20180125 (Fedora MinGW 7.3.0-1.fc28) (GCC) 
and
gcc version 9.0.0 20181212 (experimental) (GCC)

[Bug libstdc++/83127] Missing overload for operator << of std::stringstream for old ABI

2017-11-23 Thread ghjghj530-bubu at yahoo dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83127

--- Comment #3 from ghjghj530-bubu at yahoo dot de ---
Changed my testcode to int main(). The error stil occurs.
The system is Windows 7, 64 bit, mingw.

Is use the GCC in a company-specific enviroment with some customized
linkersripts.

We first compile the source file with:
i686-elf-gcc.exe -c C:\temp\2\Main.cpp -o c:\temp\2\Main.cpp.o
-D_GLIBCXX_USE_CXX11_ABI=0

and then call the linker:
i686-elf-gcc.exe C:\Temp\2\Main.cpp.o -o C:\Temp\2\a.out
-Wl,-lstdc++,-lsupc++,-lm -lc 
(i have removed a -specs paramter and some target plattform specific
parameters).

I'm sorry for the incomplete command line.

I still hope the *.a-File analysis from my original post can help you.

[Bug libstdc++/83127] Missing overload for operator << of std::stringstream for old ABI

2017-11-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83127

--- Comment #2 from Jonathan Wakely  ---
It links fine on GNU/Linux using a standard start function, int main().

[Bug libstdc++/83127] Missing overload for operator << of std::stringstream for old ABI

2017-11-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83127

Jonathan Wakely  changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2017-11-23
 Ever confirmed|0   |1

--- Comment #1 from Jonathan Wakely  ---
What is void Main(void) ? Is this using mingw or something?

Please provide the missing information as requested by https://gcc.gnu.org/bugs