Skip to content
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

Fix minor build problem in C++11 #268

Closed
wants to merge 1 commit into from

Conversation

JelleZijlstra
Copy link
Contributor

Clang++ 3.3 (and presumably other C++11 compilers) chokes on the definition of ZEND_NS_NAME in Zend/zend_API.h, because it's interpreted as a user-defined literal.

I've verified that Clang++ parses the headers correctly with this patch, and PHP itself (I tested master and 5.4.12) still builds correctly using gcc 4.2.1 and clang 4.1 on Mac OS X.

I'd like to have this patch go into master as well as the 5.4 and 5.5 branches.

@php-pulls
Copy link

Comment on behalf of lstrojny at php.net:

Merged, thanks!

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