Skip to content

[3.6] bpo-30604: Fix __PyCodeExtraState_Get() prototype#2152

Merged
vstinner merged 1 commit into
python:3.6from
vstinner:pystate36
Jun 13, 2017
Merged

[3.6] bpo-30604: Fix __PyCodeExtraState_Get() prototype#2152
vstinner merged 1 commit into
python:3.6from
vstinner:pystate36

Conversation

@vstinner

Copy link
Copy Markdown
Member

Replace __PyCodeExtraState_Get() with __PyCodeExtraState_Get(void) to
fix the following GCC warning:

./Include/pystate.h:63:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
__PyCodeExtraState* __PyCodeExtraState_Get();

Replace __PyCodeExtraState_Get() with __PyCodeExtraState_Get(void) to
fix the following GCC warning:

./Include/pystate.h:63:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 __PyCodeExtraState* __PyCodeExtraState_Get();
@vstinner vstinner requested a review from DinoV June 13, 2017 08:21
@vstinner vstinner merged commit 932946c into python:3.6 Jun 13, 2017
@vstinner vstinner deleted the pystate36 branch June 13, 2017 08:39
@Mariatta

Copy link
Copy Markdown
Member

This still needs porting to 3.7

@1st1

1st1 commented Jun 21, 2017

Copy link
Copy Markdown
Member

This still needs porting to 3.7

No, this is only 3.6 thing. This issue was a bit messy :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants