[Mingw-users] Odp: Re: ABI error

Back to archive index
Eli Zaretskii eliz****@gnu*****
Fri Nov 13 23:12:40 JST 2020


> Date: Fri, 13 Nov 2020 15:03:40 +0100
> From: kk.kr****@wp***** <kk.kr****@wp*****>
> 
> #include <iostream>
> #include <string>
> using namespace std;
> 
> int main()
> {
> string zm_tekstowa;
> 
> zm_tekstowa = "cos tam";
> cout << zm_tekstowa;
> }
> 
> Compilation, simple:
> 
> g++ main.cpp

Worked for me.  Did you install libstdc++ etc., or did you only
install g++?



More information about the MinGW-Users mailing list
Back to archive index