php / php/php-src

Provide pre-built Windows debug binaries

オープン
#8,170 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

  • #8171 @ranvis による — マージされずにクローズ
Category: Build System Feature OS: Windows Status: Verified
主要言語
C
スター
40.4k
フォーク
8.1k
平均マージ
2日 13時間
マージ済み PR(30日)
96

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

phpize.js.in と config.w32.phpize.in にある重複した ARG_ENABLE('debug', ...) 定義から始めます。configure.bat --enable-debug --enable-extensionname を実行してビルドの概要を確認します。debug が有効なときに Release ではなく Debug と報告されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

領域
build-system
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。