delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/11/05/03:50:00

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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=Cb
+czD3ByHLtzWdmeCc63/STfX8r6yfJ61QIzmJ7u4AsZizd7JgcrEWcvJI4xRF1tG
9iTDLnWLRVg6x88c9bOxe8OsiX3KTQpfsZkqxSFQTVsi8ZXBlIdhkaHC+cdjd+uD
iVXWx+mN852mHLH/62tWCpOKclL78eisR+1pumZQc=
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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=XWbAp+uf
kWarA59hWt7n0HrQvPY=; b=cn4KvVNW7Q2U00MydA6w3MekYXPdb1Nma4BAJN+f
YXwTdrFNK5QMjalQk2Rd7v9DscpDVRnuzSMqzppZn0o6XcIiUcXYAsZxaq7ISeOc
SCsa+K4rQq66XNYmCgPlJxnNQIRsB10Pip5S0hK+Mduc+jZnVBHmkNii5VQ9J1+h
Mus=
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=-1.3 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wi0-f181.google.com
MIME-Version: 1.0
X-Received: by 10.194.71.145 with SMTP id v17mr6936942wju.89.1446713380624; Thu, 05 Nov 2015 00:49:40 -0800 (PST)
In-Reply-To: <563A7BD4.5050007@gmail.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>
Date: Thu, 5 Nov 2015 09:49:40 +0100
Message-ID: <CAEhDDbD3OHy8nnKdw_DACzK=rQd_H4SKWRFXsUDo6wuU69b0sw@mail.gmail.com>
Subject: Re: Segmentation fault before main
From: Csaba Raduly <rcsaba AT gmail DOT com>
To: cygwin list <cygwin AT cygwin 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

- Raw text -


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