lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Heimes <>
Subject jcc 2.2 fails to compile on Windows
Date Mon, 18 May 2009 15:35:39 GMT
I'm trying to compile JCC 2.2 for Python 2.6 with Visual Studio 2008.
The build process fails with this error message:

building 'jcc._jcc' extension
C:\Programme\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox
/MD /W3 /G
S- /DNDEBUG -IC:\Programme\java\jdk1.6.0_12/include
_12/include/win32 -I_jcc -Ijcc/sources -Ic:\Python26\include
-Ic:\Python26\PC /T
c:\python26\jcc-2.2\jcc\sources\JCCEnv.h(93) : warning C4251:
'JCCEnv::refs' : c
lass 'std::multimap<_Kty,_Ty>' needs to have dll-interface to be used by
 of class 'JCCEnv'
c:\python26\jcc-2.2\jcc\sources\JArray.h(133) : warning C4530: C++
exception han
dler used, but unwind semantics are not enabled. Specify /EHsc
jcc/sources/functions.cpp(58) : warning C4101: 'e' : unreferenced local

jcc/sources/functions.cpp(154) : error C2059: syntax error : ')'
jcc/sources/functions.cpp(500) : error C2059: syntax error : ')'
error: command '"C:\Programme\Microsoft Visual Studio
9.0\VC\BIN\cl.exe"' failed
 with exit status 2

Apparently MSVC is unable to parse the line "jclass (*initializeClass)()
= va_arg(list, jclass (*)());" The problem seems to be "jclass (*)()".


View raw message