X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=gzxbzJCrQ0L/RJLj
	5pnX5B0540G5/crj5Ejo8XxQvG8s6e4/0Kj8dwPGZ82ecHId9sjDyrtEg1CJ+I0q
	3thTkRW39kdJmMUGlfIGVpm8FNU4Pcs5MTAJqBaBHTh1eWXqtG2TvZMZ8tkaBDpF
	bWwBTAYNRH+FqrOfdSFtDT1eYWg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=+XbVAfFO8mL1vkWy9fawLU
	ok/xM=; b=X+v7rR3cUx2zey4OQrHpBYFAFzgxsgNc3gEIoPD1LUraBGBSKpdyD8
	uLt+cIZHccrgEsMA0pzyKSN/eGWu8W98ttHMkKps28fIgXLlse+hrVKX9bCKK/Ry
	Az+rpBV2e4eYGmPOseZT7vV4qofTLwsNVGBLdrXzr5Swyyv5/mAL8=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wi0-f179.google.com
X-Received: by 10.194.78.109 with SMTP id a13mr8527513wjx.20.1446729059945;        Thu, 05 Nov 2015 05:10:59 -0800 (PST)
Subject: Re: Segmentation fault before main
To: cygwin@cygwin.com
References: <56338BCC.40709@gmail.com> <20151030191826.GQ5319@calimero.vinschen.de> <5633C8D0.2060101@gmail.com> <563A7BD4.5050007@gmail.com> <CAEhDDbD3OHy8nnKdw_DACzK=rQd_H4SKWRFXsUDo6wuU69b0sw@mail.gmail.com>
From: Marco Atzeri <marco.atzeri@gmail.com>
Message-ID: <563B555F.3090907@gmail.com>
Date: Thu, 5 Nov 2015 14:10:55 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <CAEhDDbD3OHy8nnKdw_DACzK=rQd_H4SKWRFXsUDo6wuU69b0sw@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes



On 05/11/2015 09:49, Csaba Raduly wrote:
> 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
>

Thanks for the suggestion, but it seems not
effective for this type of issue.

I rebuilt the original code and no additional
warning arises.



--
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

