Liste des Groupes | Revenir à cl c |
Kaz Kylheku <433-929-6894@kylheku.com> writes:No, it is /not/ what Lawrence is complaining about. He is complaining about clashes within the reserved namespace, because he didn't understand the difference between the library and headers that make up a C implementation, and other libraries that he happens to have on the system. It's an understandable confusion, since it is an overload of the term "library". But hopefully he understands that now.On 2024-03-12, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:That’s true, but AFAICT it’s exactly what Lawrence is complaining about:and the answer came back “1037”. The idea that a C-language>
implementation and run-time environment is any sense monolithic seems
hopelessly out of touch.
There is no such out-of-touch idea. In (say) a Glibc-based system, only
the GCC, Glibc and kernel headers are part of the implementation (which
comprises C, POSIX plus GNU and Linux extensions), and only the GCC and
Glibc library components and their external names.
>
Other libraries are third parties; the __ and _[A-Z] namespace
simply doesn't belong to them.
>
C doesn't provide any special tools for the application developer and
third party code to avoid clashes among themselves.
there’s nothing in the language spec to help those thousand other
libraries avoid name clashes.
Les messages affichés proviennent d'usenet.