Liste des Groupes | Revenir à cl c |
Kaz Kylheku <643-408-1753@kylheku.com> writes:[...]
On 2024-07-08, Ben Bacarisse <ben@bsb.me.uk> wrote:
No funding?We could patch GCC to have a -Wnull-ptr-zero, which will give you aSure.
diagnostic for every occurrence of a zero valued integer expression that
becomes a null pointer constant rather than an integer or floating-point
value (and that isn't cast to pointer type).
I once tried to persuade the compiler team where I worked to write a
"tool box" for diagnostics that would have a meta-language in which
users could describe the conditions that wanted to be diagnosed. The
idea was half-baked so it never went anywhere.
Les messages affichés proviennent d'usenet.