]> granicus.if.org Git - python/commit
bpo-9566 & bpo-30747: Silence warnings from pyatomic.h macros (#3140)
authorSegev Finer <segev208@gmail.com>
Sun, 20 Aug 2017 22:45:46 +0000 (01:45 +0300)
committerAntoine Pitrou <pitrou@free.fr>
Sun, 20 Aug 2017 22:45:46 +0000 (00:45 +0200)
commit0267128aa4dc7c383c341c19833c5d506eae9c93
treecfd8e3a1d1542f4f93ac85e6e234131073191195
parent1d1d3e9db882d78433f5bc8dbe7df929f4b6b5e1
bpo-9566 & bpo-30747: Silence warnings from pyatomic.h macros (#3140)

* bpo-9566: Silence warnings from pyatomic.h macros

Apparently MSVC is too stupid to understand that the alternate branch is
not taken and emits a warning for it.

Warnings added in https://github.com/python/cpython/pull/2383

* bpo-9566: A better fix for the pyatomic.h warning

* bpo-9566: Remove a slash
Include/pyatomic.h