Liste des Groupes | Revenir à cl c |
Kaz Kylheku <643-408-1753@kylheku.com> writes:On 2025-04-10, bart <bc@freeuk.com> wrote:>As far as different translation units go, there are rules. But most>
implementations of C operate on faith: implementations see only
the type declarations in one translation unit being processed.
It is trusted that cross-translation-unit uses of types are compatible.
And when they're not compatible, it can take _days_ to find the
bug. I was once called in to debug a random SIGSEGV in a large
crypto application (generated X.509 site certificates for most of the
world at the time). Turned out that different components of the
the application were linked against different versions of the crypto
library (a proprietary predecessor to openssl).
Les messages affichés proviennent d'usenet.