bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] sysexits.h


From: Paul Eggert
Subject: Re: [Bug-gnulib] sysexits.h
Date: 11 Jun 2003 10:18:08 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Simon Josefsson <address@hidden> writes:

> made me recall a system that couldn't handle empty .o files.  All *.c
> files must declare at least one symbol, or the resulting *.o file was
> regarded as corrupt when you tried to link it.  I saw this only a few
> months ago, and I don't normally use historic machines (although
> sometimes non-mainstream ones) so it may be relevant.

It is certainly relevant from the point of the C and POSIX standards.
They both require that every C translation unit must contain at least
one external declaration.  "gcc -pedantic" checks for this.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]