[php-src] PR #15235: rename 'try' to 'allow_not_found' to avoid conflict with c++ reserved word
| From: | oplanre | Date: | Sun, 04 Aug 2024 19:39:25 +0000 |
| Subject: | [php-src] PR #15235: rename 'try' to 'allow_not_found' to avoid conflict with c++ reserved word | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-27658@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15235
Author: oplanre
Importing zend_enum.h breaks C++ files and needs to be bypassed with something like:
```cxx
#define try try_
#include <zend_enum.h>
#undef try
```
This simple change fixes that.