-Re: Building Apache PyLucene 2.9.3 / 3.0.2 on Windows
Roman Chyla 2010-08-06, 09:33
Hi, I ran into the same problem (cygwin + MSVC7.0 - pylucene 18.104.22.168)
and the --reserved IGNORE solved the problem.
On Sat, Jul 10, 2010 at 2:00 AM, Thomas Koch
<[EMAIL PROTECTED]> wrote:
> Thanks for the speedy response - that solved this problem:
> in PyLucene 2.9.3 / Makefile
> JCCFLAGS?=--no-generics --reserved IGNORE
> in PyLucene 3.0.2 / Makefile
> JCCFLAGS?=--reserved IGNORE
> Am 10.07.2010, 00:24 Uhr, schrieb Andi Vajda <[EMAIL PROTECTED]>:
>> It is most likely that IGNORE is being defined to some int value in some
>> system header for this version of the compiler. I don't have this version of
>> MSVC so I can't verify this for sure but it's a common problem.
>> To work this around, add '--reserved IGNORE' to the jcc command line in
>> PyLucene's Makefile for this symbol to get decorated. If that fixes it, I'll
>> add it to the list of known reserved symbols in jcc's cpp.py file.