bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Bug-gnulib] sysexits.h


From: Bruno Haible
Subject: Re: [Bug-gnulib] sysexits.h
Date: Wed, 11 Jun 2003 20:52:02 +0200
User-agent: KMail/1.5

Paul Eggert wrote:
> 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.

Does "typedef int dummy;" count as such an external declaration? I.e.
will it work to write

  #ifndef ELIDE_CODE
    ... much code ,,.
  #else
    typedef int dummy;
  #endif

Bruno





reply via email to

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