Show error if C++ function has default arguments.
まだ誰も着手していません。
評価
調査の方向性
No file, test, or entry point is named. Start by locating where C++ function declarations are processed and how diagnostics are reported, then trace the default-argument case. Done means a clear error is emitted when such arguments are encountered instead of allowing the problem to surface at link time.
索引モデルが issue の本文から書いたものです。
説明
I think it is fine that the default arguments are not supported (#4, #162).
But it is a bit confusing that there are no diagnostic messages about such functions, and the problem surfaces only at the linking time (also the linker errors about missing functions are cryptic).
Would be nice to stop with an error if default arguments are encountered.
- 主要言語
- C++
- スター
- 224
- フォーク
- 52
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
r-lib/cpp11 のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
KhronosGroup/Vulkan-Tutorial#524 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
microsoft/onnxruntime-genai#2633 ·
メンテナーはふだん 1 日以内に返信
-
mapper bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
firebase/firebase-ios-sdk#16718 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
tesseract-ocr/tesseract#4627 ·