Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Show error if C++ function has default arguments.

Aperta
#221 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp
Ambito
tooling

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C++
Stelle
224
Fork
52
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di r-lib/cpp11

Tutte le issue di r-lib/cpp11

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.