Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #85561

Re: warnings building 3.5 on Windows

Path csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Windows': 0.02; 'warnings': 0.04; 'deprecated': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'skip:2 30': 0.09; 'api': 0.11; 'jan': 0.12; 'mostly': 0.14; 'ahead,': 0.16; 'declaration': 0.16; 'deprecation': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'tends': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'skip:1 30': 0.19; 'header :User-Agent:1': 0.23; 'define': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'patch': 0.29; 'raise': 0.29; 'usually': 0.31; 'away.': 0.31; 'disable': 0.31; 'loads': 0.31; 'but': 0.35; 'add': 0.35; 'there': 0.35; 'responsible': 0.36; 'possible': 0.36; 'should': 0.36; 'so,': 0.37; 'loss': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'issue': 0.38; 'pm,': 0.38; 'anything': 0.39; 'skip:_ 30': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'eventually': 0.60; 'free': 0.61; 'conversion': 0.61; 'new': 0.61; 'such': 0.63; 'bothered': 0.68; 'received:fios.verizon.net': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: warnings building 3.5 on Windows
Date Wed, 11 Feb 2015 21:46:34 -0500
References <mbgkdm$jfo$1@ger.gmane.org>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-98-114-97-173.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
In-Reply-To <mbgkdm$jfo$1@ger.gmane.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.18676.1423709208.18130.python-list@python.org> (permalink)
Lines 35
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1423709208 news.xs4all.nl 2866 [2001:888:2000:d::a6]:54402
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:85561

Show key headers only | View raw


On 2/11/2015 5:17 PM, Mark Lawrence wrote:
> There are loads of "possible loss of data" warnings such as.
>
> 15>..\Modules\_tkinter.c(640): warning C4267: '+=' : conversion from
> 'size_t' to 'int', possible loss of data
> 15>..\Modules\_tkinter.c(892): warning C4244: 'function' : conversion
> from 'Py_ssize_t' to 'int', possible loss of data

Are these new?  All in tkinter.c? Is so, can you find the patch 
responsible (hg annotate?)?

> I understand that these are usually silenced.  Should I raise this on
> the issue tracker?

The warnings *are* annoying, but I have mostly not bothered to say 
anything since Viktor Stinner tends to eventually fix new ones and make 
them go away.  But feel free to go ahead, and add him as nosy.  Also 
Serhiy Storchaka if all/mostly tkinter.c

> There are also some deprecation warnings such as
>
> 26>..\Modules\overlapped.c(977): warning C4996: 'WSAStringToAddressA':
> Use WSAStringToAddressW() instead or define
> _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
> 26>          C:\Program Files (x86)\Windows
> Kits\8.1\Include\um\winsock2.h(3623) : see declaration of
> 'WSAStringToAddressA'
>
> Should I raise this if only as a place holder?
>


-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: warnings building 3.5 on Windows Terry Reedy <tjreedy@udel.edu> - 2015-02-11 21:46 -0500

csiph-web