C23 issues

Aperta
#17 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@bsdimp ci sta già lavorando.

Dal 10/12/2025.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

So we need to do the following

  1. Fix the bugs we found in our discussion
  2. POSIX_C_SOURCE will set the version of C. This version is a floor. If you do a prior version, it's on you. We can't lower the version.
  3. If POSIX_C_SOURCE isn't set, then -stdcXX sets the language and the API to XX. If POSIX_C_SOURCE is set, then it can raise the version to XX for both.
  4. if ISOCyy_SOURCE is defined, then it can raise the API that's visible for the compilation unit.
  5. For now, the default ISOCyy_SOURCE=2011 (which is the same as 2017). This is what you get with _BSD_SOURCE (the fiction).
  6. So by default, you get everything except C23 APIs. -stdc23 or ISOC23_SOURCE will get you ISOC23 APIs. The former also gives you the language features.

APIs here is functions. TBD are keywords, but generally we shouldn't define them for backwards compat.

Lingua principale
Python
Stelle
4
Fork
3
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 freebsd/srcmgr

Tutte le issue di freebsd/srcmgr

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.