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

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Subject: [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.