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
Compilation of cphalcon fails with gcc-7.2. #1591
Comments
There is no support yet for PHP 7.2. We'll plan to introduce 7.2 support in the Phalcon 4.0.0. |
From @Fisiu on October 11, 2017 15:20 I played around that issue. I build php-zephir-parser, invoked zephir compiler and passed generate option. Once C code has been generated, I tried to compile it and I get errors posted above. However, if I try to compile extension directly from In both cases I used the same toolchain with gcc 7.2. |
Well, as I can see the first version of GCC 7.x was released on May 2, 2017. I did a little research and made sure that most of LTS OS don't use even the 6.x branch. I'm sorry, but I want to close this issue for now. There are several reasons for this:
I'd like to add support for anything/everything at some point, but keeping the issue open doesn't help that. If anyone wants to get started, I'd love that. Thank you for contributing |
@Fisiu Could you provide |
@sergeyklay |
Gotcha! 😄 For example:
|
Don't concatenate result output in tests to avoid confusion. Correct parser output for the following text: ``` /** * Comment */ ``` is: ``` /** * Comment * ``` Related issues: * #31 * zephir-lang/zephir#1591 * phalcon/cphalcon#13140
Don't concatenate result output with "/" in tests to avoid confusion. Correct parser output for the following text: /** * Comment */ is: ** * Comment * Related issues: * #31 * zephir-lang/zephir#1591 * phalcon/cphalcon#13140 8ae4b82
Actually this is temporary workaround to be able try latest changes of re2c >= 1.x. Related issues: * skvadrik/re2c#197 * #31 * zephir-lang/zephir#1591 * phalcon/cphalcon#13140
@Fisiu I've prepared a patch for Zephir Parser to work with re2c >= 1.0. Could you please reinstall Zephir Parser from |
Fixed in the latest stable release of Zephir Parser. Feel free to open a new issue if the problem appears again. Thank you for the report, and for helping us make Zephir Parser better. |
From @Fisiu on September 19, 2017 19:14
I'm trying to compile phalcon-3.2.2 with with the latest zephir-0.9.11 using gcc-7.2 however I have some issues. Here is a build log:
phalcon-3.2.2-gcc-7.2.txt
Compilation of zephir didn't return any errors, but cphalcon.
Copied from original issue: phalcon/cphalcon#13076
The text was updated successfully, but these errors were encountered: