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:message-id:date:from:subject:to:references :content-type; q=dns; s=default; b=KSjFkEJ3xnl3PO6Khl3advgH6fctR mseRbVqAVrz9qcEqwbqm+tjtDvVauQCfnvgor9K1+eRFv7PqsLYZ4gac15GlnJtL qdzpcC/oRrSTQ7nAeLV8ob4Jf4pfGIVx04Go2udB7TYfLpk1OznPw3OIcHhqOhJv bNkSngm3OgcKgI= 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:message-id:date:from:subject:to:references :content-type; s=default; bh=GqyzMcVud3JQrjiB70t4YMC4qe0=; b=KpR K6cjAo0Hb/kgQYN3DZLZu4WH8z8RzT0BpNwXtk5NJAMbH5S/PBvim5dfriUoxGmC zCV6w2XXw2rO7dgJiefZFRnCdDCZ2rlCGgiT75xc9iaun5l0Jt3wQDU4GOd/LOGO Y3ONdrtjOUUSHR+CJlyoZ3kL8VYQ2CSaC8o17v6g= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=H*M:google X-HELO: mail-oi0-f54.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:subject:to:references :user-agent; bh=reNxODp/gskYwyji7by4ekec5o+hC6aj97zVJ1vUbRA=; b=UBw7CGGmdVD6FgaXoKGVDn8IlUBJ41PiW88Jp1wVz2sSaTUoNBd1m/R39EOWzhhH2p kMC6VK/Rv/sAbfN02w9O8/GOdE9WOpXXNVuMFkyoYAiE1p9vhmftMBIojaAQybNFbiJV Pmn1ri2GYEtzKWRaTeMN1htk6XekHChYOV5nfASUevle8IINACsfZrlRyjBblJIhcsGO x8KBd183482fk5KDRHJ00bkFPtCRPvXBw+nlLpOY4HQzl3LaDUDZLGqMXsa0DUJV0kWt 3D76yZf8sMO8CGWIupdnaq4bGDUhe66VKcXEdV8Yf6VqSVSbtvmSHUzPnFMY2GqDgmIl Hi0Q== X-Gm-Message-State: AODbwcBnNxMHrlXuHREKRHpBc8dEm8w8JydDzxhh9cvoOQM4/JihG5zS KEA0GxkwaHC2wG0q X-Received: by 10.202.56.137 with SMTP id f131mr23016940oia.42.1495763039719; Thu, 25 May 2017 18:43:59 -0700 (PDT) Message-ID: <5927885e.b5169d0a.fd65e.370a@mx.google.com> Date: Thu, 25 May 2017 18:43:58 -0700 (PDT) From: Steven Penny X-Google-Original-From: Steven Penny Subject: Re: bug in lrint [was: FW: Printing long int in C program under cygwin64] To: cygwin AT cygwin DOT com References: Content-Type: text/plain; charset=utf8; format=flowed User-Agent: Tryst/2.0.1 (github.com/svnpenn/tryst) On Thu, 25 May 2017 13:17:30, Eric Blake wrote: > Correct. Newer gcc's -Wformat-signedness will flag the discrepency. Uh, have you actually tried this? It doesnt do anything: $ cat alfa.c #define __USE_MINGW_ANSI_STDIO 1 #include int main() { printf("%zi %zu %llu\n", __SIZE_MAX__, __SIZE_MAX__, __SIZE_MAX__); } $ x86_64-w64-mingw32-gcc -Wformat-signedness -o alfa alfa.c $ ./alfa -1 18446744073709551615 18446744073709551615 -- 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