lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Janssen (JIRA)" <j...@apache.org>
Subject [jira] Created: (PYLUCENE-7) compile fails for 3.0.2 with GCC 4.5 on Windows XP with MinGW/msys
Date Tue, 05 Oct 2010 21:26:32 GMT
compile fails for 3.0.2 with GCC 4.5 on Windows XP with MinGW/msys
------------------------------------------------------------------

                 Key: PYLUCENE-7
                 URL: https://issues.apache.org/jira/browse/PYLUCENE-7
             Project: PyLucene
          Issue Type: Bug
         Environment: PyLucene 3.0.2, Python 2.6.6, Java 6, MinGW/msys, Windows XP, Subversion
not installed, GCC 4.5.0
            Reporter: Bill Janssen


Compile of PyLucene fails:

c:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DPYTHON -DJCC_VER="2.6" -D_jcc_shared -D_java_generics
-D_dll_lucene=__declspec(dllexport) "-IC:\Program Files\Java\jdk1.6.0_21\include" "-IC:\Program
Files\Java\jdk1.6.0_21\include\win32" -Ibuild\_lucene -Ic:\UpLib\1.7.10\Lib\site-packages\jcc\sources
-Ic:\Python26\include -Ic:\Python26\PC -c build\_lucene\__init__.cpp -o build\temp.win32-2.6\Release\build\_lucene\__init__.o
-fno-strict-aliasing -Wno-write-strings
In file included from build\_lucene\__init__.cpp:2073:0:
build\_lucene\/org/apache/lucene/search/CachingWrapperFilter$DeletesMode.h:38:62: error: expected
unqualified-id before numeric constant
build\_lucene\/org/apache/lucene/search/CachingWrapperFilter$DeletesMode.h:38:62: error: expected
';' before numeric constant
  Warning: renaming static method 'toString' on class java.lang.Long to 'toString_' since
it is shadowed by non-static method of same name.
  Warning: renaming static method 'isInfinite' on class java.lang.Double to 'isInfinite_'
since it is shadowed by non-static method of same name.
  Warning: renaming static method 'isNaN' on class java.lang.Double to 'isNaN_' since it is
shadowed by non-static method of same name.
  Warning: renaming static method 'toString' on class java.lang.Double to 'toString_' since
it is shadowed by non-static method of same name.
  Warning: renaming static method 'getCurrentSegmentFileName' on class org.apache.lucene.index.SegmentInfos
to 'getCurrentSegmentFileName_' since it is shadowed by non-static method of same name.
  Warning: renaming static method 'toString' on class java.lang.Boolean to 'toString_' since
it is shadowed by non-static method of same name.
  Warning: renaming static method 'toString' on class java.lang.Short to 'toString_' since
it is shadowed by non-static method of same name.
  Warning: renaming static method 'toString' on class java.lang.Integer to 'toString_' since
it is shadowed by non-static method of same name.
  Warning: renaming static method 'getCommitUserData' on class org.apache.lucene.index.IndexReader
to 'getCommitUserData_' since it is shadowed by non-static method of same name.
  Warning: renaming static method 'toString' on class java.lang.Byte to 'toString_' since
it is shadowed by non-static method of same name.
  Warning: renaming static method 'toString' on class java.lang.Character to 'toString_' since
it is shadowed by non-static method of same name.
  Warning: renaming static method 'fileModified' on class org.apache.lucene.store.FSDirectory
to 'fileModified_' since it is shadowed by non-static method of same name.
  Warning: renaming static method 'listAll' on class org.apache.lucene.store.FSDirectory to
'listAll_' since it is shadowed by non-static method of same name.
  Warning: renaming static method 'isInfinite' on class java.lang.Float to 'isInfinite_' since
it is shadowed by non-static method of same name.
  Warning: renaming static method 'isNaN' on class java.lang.Float to 'isNaN_' since it is
shadowed by non-static method of same name.
  Warning: renaming static method 'toString' on class java.lang.Float to 'toString_' since
it is shadowed by non-static method of same name.
error: command 'gcc' failed with exit status 1
make: *** [compile] Error 1

The offending lines appear to be:

                    static CachingWrapperFilter$DeletesMode *DYNAMIC;
                    static CachingWrapperFilter$DeletesMode *IGNORE;
                    static CachingWrapperFilter$DeletesMode *RECACHE;

Not sure what the problem is.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message