Provide pre-built Windows debug binaries
Nobody has claimed this yet.
- #8171 by @ranvis — closed without merging
- Dominant language
- C
- Stars
- 40.4k
- Forks
- 8.1k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 96
Description
Description
ARG_ENABLE('debug', ...); is defined in two places: phpize.js.in and config.w32.phpize.in.
It makes user not possible to activate --enable-debug on configureing an extension because the latter definition overwrites PHP_DEBUG back to the default false.
The following code:
path\to\phpize
configure.bat --enable-debug --enable-extensionname
Resulted in this output:
---------------------------------------
| Build type | Release |
...
But I expected this output instead:
---------------------------------------
| Build type | Debug |
...
PHP Version
PHP 8.1.3
Operating System
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the duplicate ARG_ENABLE('debug', ...) definitions in phpize.js.in and config.w32.phpize.in. Run configure.bat --enable-debug --enable-extensionname and inspect the build summary; done means it reports Debug instead of Release when debug is enabled.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100