Re: [Exim] Doesn't build with GCC 3.0 (was Re: Release of Ex…

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Exim Users Mailing List
Assunto: Re: [Exim] Doesn't build with GCC 3.0 (was Re: Release of Exim 3.30)
On Tue, 19 Jun 2001, Greg A. Woods wrote:

> while you could do that, it would be rather silly to introduce such a
> change just to support one broken compiler.....


It would not be the first. Admittedly, most such changes are to avoid
compiler warnings, so in effect they are reducing the code to the least
ambiguous case. However, in the source of PCRE you will find this:

    if (c == '#')
      {
      /* The space before the ; is to avoid a warning on a silly compiler
      on the Macintosh. */
      while ((c = *(++ptr)) != 0 && c != '\n') ;
      continue;
      }



-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.