In file included from /nix/gcc-13.2.0/include/c++/13.2.0/istream:41,
from /nix/gcc-13.2.0/include/c++/13.2.0/sstream:40,
from /nix/gcc-13.2.0/include/c++/13.2.0/complex:45,
from /nix/gcc-13.2.0/include/c++/13.2.0/ccomplex:39,
from stdc++.h:127:
In member function ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>]’,
inlined from ‘int main()’ at foo.cc:41:13:
/nix/gcc-13.2.0/include/c++/13.2.0/ostream:204:25: warning: ‘xans’ may be used uninitialized [-Wmaybe-uninitialized]
204 | { return _M_insert(__n); }
| ~~~~~~~~~^~~~~
foo.cc: In function ‘int main()’:
foo.cc:22:9: note: ‘xans’ was declared here
22 | int xans, yans;
| ^~~~
In member function ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>]’,
inlined from ‘int main()’ at foo.cc:41:28:
/nix/gcc-13.2.0/include/c++/13.2.0/ostream:204:25: warning: ‘yans’ may be used uninitialized [-Wmaybe-uninitialized]
204 | { return _M_insert(__n); }
| ~~~~~~~~~^~~~~
foo.cc: In function ‘int main()’:
foo.cc:22:15: note: ‘yans’ was declared here
22 | int xans, yans;
| ^~~~