Hi, I ran into the same problem (cygwin + MSVC7.0 - pylucene 2.9.3.1)
and the --reserved IGNORE solved the problem.
Thank you,

roman



On Sat, Jul 10, 2010 at 2:00 AM, Thomas Koch
<thomas.k...@leute.server.de> 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
>
> regards
> Thomas
> --
> Am 10.07.2010, 00:24 Uhr, schrieb Andi Vajda <va...@apache.org>:
>
>>
>> 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.
>>  Andi..
>

Reply via email to