This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: g++ std::map initializing raises segmentation fault.
On 07/07/2017 16:21, Ivan Gagis wrote:
I installed g++ 6.3.0-2 and still can reproduce the segfault :(.
Br,
Ivan
It seems due to the -std=c++11 restriction
$ g++ foo.cc
$ ./a.exe
Hello World!
$ g++ -std=c++11 foo.cc
$ ./a.exe
Segmentation fault (core dumped)
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple