View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001557 | Xdebug | Installation | public | 2018-06-11 16:41 | 2018-06-12 12:47 |
Reporter | jwoods | Assigned To | derick | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Solaris | OS | Solaris x86 | OS Version | 11.3.29.5.0 |
Product Version | 2.6.0 | ||||
Fixed in Version | 2.6.1 | ||||
Summary | 0001557: Compile error: "void function cannot return value", in xdebug_stack.c, line 1159 | ||||
Description | Our PHP was compiled using the Solaris Studio 12.6 compiler instead of GCC. The "make" fails on xdebug_stack.c, with the error: | ||||
Steps To Reproduce | export CC=cc phpize --clean ./configure --enable-xdebug | ||||
Additional Information | The function xdebug_build_fname() is declared as a void function. Yet, within the function, there is a recursive call to itself, on line 1159. I suspect that the GCC compiler doesn't complain about this, or only generates a warning. But the Solaris Studio compiler errors out altogether. Removing the "return" from this line causes the code to compile. I suspect that is the fix. | ||||
Tags | No tags attached. | ||||
Operating System | Solaris x86 | ||||
PHP Version | 7.1.15-7.1.19 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2018-06-11 16:41 | jwoods | New Issue | |
2018-06-12 12:47 | derick | Note Added: 0004672 | |
2018-06-12 12:47 | derick | Status | new => closed |
2018-06-12 12:47 | derick | Assigned To | => derick |
2018-06-12 12:47 | derick | Resolution | open => fixed |
2018-06-12 12:47 | derick | Fixed in Version | => 2.6.1 |