Liste des Groupes | Revenir à cl c |
The misconception is repeated in the GNU Conding Conventions. It might
have come from the same person.
>
https://www.gnu.org/prep/standards/standards.html
>
But we do not follow either of these specifications rigidly, and
there are specific points on which we decided not to follow them, so
as to make the GNU system better for users.
>
For instance, Standard C says that nearly all extensions to C are
prohibited. How silly! GCC implements many extensions, some of which
were later adopted as part of the standard. If you want these
constructs to give an error message as ?required? by the standard,
you must specify ?--pedantic?, which was implemented only so that we
can say ?GCC is a 100% implementation of the standard?, not because
there is any reason to actually use it.
>
Standard C does not say that any extensions are prohibited.
How silly to think so, and write about it, and code a facet of the
compiler diagnostic system that way!
Les messages affichés proviennent d'usenet.