https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65257
nightstrike <nightstrike at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nightstrike at gmail dot com --- Comment #1 from nightstrike <nightstrike at gmail dot com> --- (In reply to Muhammad Annaqeeb from comment #0) > #define _GLIBCXX_DEBUG > #include <bits/stdc++.h> > using namespace std; > string s,t; > int main(){ > cin>>s>>t; > cout<<s; > } FWIW, this works on Wine as well as Cygwin + Win 7, compiled with g++ 14, configured *without* --enable-fully-dynamic-string.