bug-gnulib
[Top][All Lists]
Advanced

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

Re: stdint module rewrite (was: Re: Build CVS (TRUNK) failed.)


From: Bruno Haible
Subject: Re: stdint module rewrite (was: Re: Build CVS (TRUNK) failed.)
Date: Fri, 16 Jun 2006 18:29:35 +0200
User-agent: KMail/1.9.1

Hi Mark,

> I see the following:
> 
> #if 0
> # ifndef UINT_FAST16_MAX
> #  if  < 32
> #   define UINT_FAST16_MAX  (((1 << ( - 1)) - 1) * 2 + 1)
> #  else
> #   define UINT_FAST16_MAX  (((1UL << ( - 1)) - 1) * 2 + 1)
> #  endif
> # endif
> #else
> 
> I am not at all certain that all compilers will ignore illegal
> preprocessor expressions in a '#if 0' block. So, should some
> other expression for '#  if  < 32' be generated?

Let's see :-) There are chances that all compilers will ignore
these, because
  - ISO C 99 section 6.10.1 paragraph 5 says so,
  - there is no reason and never was a reason to evaluate #if
    conditionals inside a #if 0 block.

Bruno




reply via email to

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