delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/11/05/08:11:19

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT cygwin DOT com
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> <CAEhDDbD3OHy8nnKdw_DACzK=rQd_H4SKWRFXsUDo6wuU69b0sw AT mail DOT gmail DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT 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>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019