Skip to content

Python: Fix Shadowing a Variable in Mesh - #582

Merged
ax3l merged 3 commits into
openPMD:devfrom
ax3l:topic-enableWshadow
Nov 4, 2019
Merged

Python: Fix Shadowing a Variable in Mesh#582
ax3l merged 3 commits into
openPMD:devfrom
ax3l:topic-enableWshadow

Conversation

@ax3l

@ax3lax3l commented Oct 31, 2019

Copy link
Copy Markdown
Member

Test for -Wshadow warnings even when building with pybind11. We introduced a SYSTEM option to link pybind11 headers and CPython headers pybind/pybind11#1416, which we can now use since we depend on pybind11 2.3.0+ (#525) :)

Fix a variable shadowing in the Python `Mesh` constructor.
Test for `-Wshadow` warnings even when building with pybind11.
We introduced a `SYSTEM` option to link pybind11 headers and
CPython headers, which we can use in pybind11 2.3.0+ now :)
@ax3l
ax3lforce-pushed the topic-enableWshadow branch from 473d6a5 to 87d0e5dCompareOctober 31, 2019 23:20
@ax3lax3l changed the title Python: Fix Shadow in MeshPython: Fix Shadowin a Variable in MeshOct 31, 2019
@ax3lax3l changed the title Python: Fix Shadowin a Variable in MeshPython: Fix Shadowing a Variable in MeshOct 31, 2019
@ax3l
ax3lforce-pushed the topic-enableWshadow branch 3 times, most recently from f5e3fc4 to 59591f4CompareNovember 2, 2019 23:36
@ax3l
ax3lforce-pushed the topic-enableWshadow branch from 59591f4 to 54072dcCompareNovember 4, 2019 01:58
@ax3l
ax3l merged commit 57b9e60 into openPMD:devNov 4, 2019
@ax3l
ax3l deleted the topic-enableWshadow branch November 4, 2019 09:54
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@ax3l