This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Segmentation fault before main
- From: Csaba Raduly <rcsaba at gmail dot com>
- To: cygwin list <cygwin at cygwin dot com>
- Date: Thu, 5 Nov 2015 09:49:40 +0100
- Subject: Re: Segmentation fault before main
- Authentication-results: sourceware.org; auth=none
- References: <56338BCC dot 40709 at gmail dot com> <20151030191826 dot GQ5319 at calimero dot vinschen dot de> <5633C8D0 dot 2060101 at gmail dot com> <563A7BD4 dot 5050007 at gmail dot com>
On Wed, Nov 4, 2015 at 10:42 PM, Marco Atzeri wrote:
>
>
> For the archive, I found the culprit in the test code.
> Using "%lu" to print int is not a good idea on cygwin 64 bit.
That's why we have -Wformat=2
Csaba
--
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
--
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