formalize standards support
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 15/100
- Tipo di issue
- Refactoring
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- c
- Ambito
- build-system
Direzione di ricerca
Start with the build files, looking for -ansi, -pedantic and where CFLAGS is set, since the proposal asks to drop the former and add -std=c99. The platform questions (netware #294, VMS #453) and the Visual Studio check need maintainer decisions before any edit, and the thread has been idle for years. Done means the flags are updated across build files only after the maintainers agree on the supported platforms and compilers.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
i propose we require C99 in GD-2.3+. it's the default in gcc/clang and has been for some time, and none of us are really testing elsewhere.
are there any platforms we care about anymore where this would be a problem ?
i don't think embedded systems (https://github.com/libgd/libgd/issues/169#issuecomment-225336212) should be an issue here ... C99 compilers aren't a new thing.
we should double check Visual Studio status and probably formalize that supported version too.
more concretely:
- drop usage/support for
-ansiand-pedanticeverywhere - drop support for netware (#294)
- drop support for VMS (#453)
- add
-std=c99toCFLAGSin our build files
this should help simplify #451 (trailing commas w/enums).
- Lingua principale
- C
- Stelle
- 985
- Fork
- 289
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di libgd/libgd
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
New version? fix vulns?Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
libgd: Uninitialized Stack Read in gdImageScaleBicubicFixed Leading to Out-of-bounds Pixel AccessAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
libsndfile/libsndfile#1239 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
CommonLoon102/restunts-bb11#101 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100