Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Show error if C++ function has default arguments.

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp
領域
tooling

調査の方向性

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 の本文から書いたものです。

説明

feature

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 はありません

環境構築

はじめの一歩

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

r-lib/cpp11 のほかの issue

r-lib/cpp11 の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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