[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] sysexits.h
From: |
Simon Josefsson |
Subject: |
Re: [Bug-gnulib] sysexits.h |
Date: |
Wed, 11 Jun 2003 21:24:52 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> 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
IIRC, it has to be something that ends up in the object code. I used
'static int dummy;' or something similar.
- Re: [Bug-gnulib] sysexits.h, (continued)
- Re: [Bug-gnulib] sysexits.h, James Youngman, 2003/06/11
- Re: [Bug-gnulib] sysexits.h, Simon Josefsson, 2003/06/11
- Re: [Bug-gnulib] sysexits.h, Bruno Haible, 2003/06/11
- Re: [Bug-gnulib] sysexits.h, Simon Josefsson, 2003/06/11
- Re: [Bug-gnulib] sysexits.h, Paul Eggert, 2003/06/11
- Re: [Bug-gnulib] sysexits.h, Bruno Haible, 2003/06/11
- Re: [Bug-gnulib] sysexits.h,
Simon Josefsson <=
- Re: [Bug-gnulib] sysexits.h, Paul Eggert, 2003/06/11
- Re: [Bug-gnulib] sysexits.h, Bruno Haible, 2003/06/12
- Re: [Bug-gnulib] feature request: argp(), Jim Meyering, 2003/06/10
- Re: [Bug-gnulib] feature request: argp(), Bruno Haible, 2003/06/10
- Re: [Bug-gnulib] feature request: argp(), Simon Josefsson, 2003/06/10
- Re: [Bug-gnulib] feature request: argp(), Bruno Haible, 2003/06/10
- Re: [Bug-gnulib] feature request: argp(), Simon Josefsson, 2003/06/11
- Re: [Bug-gnulib] feature request: argp(), Bruno Haible, 2003/06/11
- Re: [Bug-gnulib] feature request: argp(), Simon Josefsson, 2003/06/11
Re: [Bug-gnulib] feature request: argp(), Karl Berry, 2003/06/08