[pcre-dev] [Bug 2240] Failed build on MIPS ci20 with JIT sup…

Página Inicial
Delete this message
Autor: admin
Data:  
Para: pcre-dev
Assunto: [pcre-dev] [Bug 2240] Failed build on MIPS ci20 with JIT support
https://bugs.exim.org/show_bug.cgi?id=2240

--- Comment #1 from Jeffrey Walton <noloader@???> ---
Regarding this pattern, I've seen this issues on occasion with old tools:

   503  #ifdef SLJIT_IS_FPU_AVAILABLE
   504                  return SLJIT_IS_FPU_AVAILABLE;


I believe the workaround is

   503  #if SLJIT_IS_FPU_AVAILABLE+0
   504                  return SLJIT_IS_FPU_AVAILABLE;


The "+0" tricks the preprocessor into making SLJIT_IS_FPU_AVAILABLE an integral
value that can be tested with a plain #if.

--
You are receiving this mail because:
You are on the CC list for the bug.