Defining an alias to _has_include fails
まだ誰も着手していません。
評価
調査の方向性
Start by running the minimal C++ example with wave and compare its behavior with a direct __has_include() use. Then trace wave's preprocessing of macro expansion around the __has_include operator; done means the alias form processes successfully, including the googletest pattern linked in the issue.
索引モデルが issue の本文から書いたものです。
説明
Preprocessing code which creates an alias to _has_include() via #define FOO _has_include cannot be processed with wave.
A real world example for this is googletest, see here: https://github.com/google/googletest/blob/52eb8108c5bdec04579160ae17225d66034bd723/googletest/include/gtest/internal/gtest-port.h#L277-L281
A minimal test case for this is
#define HAS_INCLUDE __has_include
#if HAS_INCLUDE(<header>)
#endif
- 主要言語
- C++
- スター
- 29
- フォーク
- 56
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 4
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
boostorg/wave のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 56/100
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
cp-algorithms/cp-algorithms#1715 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Icinga/icinga2#11058 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
status:needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
PX4/PX4-Autopilot#28924 ·
メンテナーはふだん 1 日以内に返信
-
component: split-view platform: windows
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
zen-browser/desktop#15616 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信