Skip to content

Remove the redefinition of zend_error_info #7044

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 26, 2021
Merged

Remove the redefinition of zend_error_info #7044

merged 1 commit into from
May 26, 2021

Conversation

twose
Copy link
Member

@twose twose commented May 26, 2021

It causes -Wtypedef-redefinition warning, introduced by e8e7c04

In file included from /usr/local/php/latest/include/php/Zend/zend_API.h:25:
In file included from /usr/local/php/latest/include/php/Zend/zend_modules.h:24:
In file included from /usr/local/php/latest/include/php/Zend/zend_compile.h:745:
/usr/local/php/latest/include/php/Zend/zend_globals.h:65:33: warning: redefinition of typedef 'zend_error_info' is a C11 feature [-Wtypedef-redefinition]
typedef struct _zend_error_info zend_error_info;

/usr/local/php/latest/include/php/Zend/zend.h:389:3: note: previous definition is here
} zend_error_info;

It causes -Wtypedef-redefinition warning
@twose twose requested a review from nikic May 26, 2021 03:14
@twose twose merged commit 2c0b4c8 into php:master May 26, 2021
@twose twose deleted the redef branch May 26, 2021 08:23
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.

2 participants