Problem in compiling the cint

envirement: winxp sp3 + vs2003
cint version: cint 7.3.00
/////////////////////////////////////////////////////////////////////////////////////
i have installed the cygwin,in the cygwin,i installed make and bash.

Then i edited D:\cygwin\cygwin.bat and insert this line at top
@call “C:\Program FilesLMicrosoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat”

Start cygwin and call Code below:

mv /usr/bin/link.exe /usr/bin/link_orig.exe

mkdir /cygdrive/c/cint

cd /cygdrive/c/cint

then i copy the cint diretory into the C:\cint

cd cint

./configure

this is the response:


Guessing architecture to be msvc7
Using new CINT core

Creating build dirs…
Writing Makefile.conf…
Writing cint7/inc/configcint.h…
Removing Apiif.cxx
Writing bin/cint-config…
Writing config.status…
Creating Makefile…
Creating reconfigure…
Done.

Run “make” to build cint.
Run “make help” to see the available build targets.


make -j3

this is the response:


cl -O2 -MD -G5 -nologo -wd4996 -GX -TP -GR -wd4181 -DG__REDIRECTIO -DG__SHARED
LIB -DG__WIN32 -DWIN32 -D_WIN32 -DG__NEWSTDHEADER -DG__HAVE_CONFIG -DG__NOMAKEIN
FO -Icint7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERGE -DInte
rnal=I -c cint7/src/Class.cxx -Focint7/src/Class.obj
cl -O2 -MD -G5 -nologo -wd4996 -GX -TP -GR -wd4181 -DG__REDIRECTIO -DG__SHARED
LIB -DG__WIN32 -DWIN32 -D_WIN32 -DG__NEWSTDHEADER -DG__HAVE_CONFIG -DG__NOMAKEIN
FO -Icint7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERGE -DInte
rnal=I -c cint7/src/BaseCls.cxx -Focint7/src/BaseCls.obj
reflex\inc\Reflex\Object.h(285) : error C2666: “Reflex::Type::operator&&'” : 3 个重载有相似的转换 reflex\inc\Reflex\Type.h(126): 可能是“bool Reflex::Type::operator &&(bo ol) const” 或“内置 C++ operator&&(bool, void *)” 或“内置 C++ operator&&(int, void *)” 试图匹配参数列表“(const Reflex::Type, void *)”时 Class.cxx BaseCls.cxx make: *** [cint7/src/Api.obj] Error 2 make: *** Waiting for unfinished jobs.... reflex\inc\Reflex\Object.h(285) : error C2666: “Reflex::Type::operator&&’” :
3 个重载有相似的转换
reflex\inc\Reflex\Type.h(126): 可能是“bool Reflex::Type::operator &&(bo
ol) const”
或“内置 C++ operator&&(bool, void )”
r e f l e x \或i“n内c置\ RCe+f+l oepxe\rOabtjoerc&t&.h((i2n8t5,) v:o iedr r

o)r” C
2 6 6 6: “ R e f试le图x匹配参数列表“(c::oTnyspte ::Roepferatorl`ex::Typ&e&,’
” :v o3 个重i载有d相 似*的转)换
” 时
reflex\inc\Reflex\Type.h(126): 可能是“bool Reflex::Type::operator &&(bool) con
st”
或“内置 C++ operator&&(bool, void *)”
或“内置 C++ operator&&(int, void *)”
试图匹配参数列表“(const Reflex::Type, void *)”时
make: *** [cint7/src/BaseCls.obj] Error 2
make: *** [cint7/src/Class.obj] Error 2

Administrator@ZhangWei /cygdrive/c/cint/cint


how should i do?

Hi,

Would it be possible to provide an english translation of the error messages?

Thanks,
Philippe.

i had translated the error and warning message.post it in the attachment

i have read the error message,it seems that the compiler don’t know to choose which override function.

bool Reflex::Type::operator &&(bool) const
“built-in C++ operator&&(bool, void *)”
“built-in C++ operator&&(int, void *)”

these three overloaded function has similar conversion.

how to fix it?
error message.txt (14.1 KB)

Hi,

We just updated the repository to fix those issues, it should now build cleanly on vc7. Please let us know if you any additional issue.

Cheers,
Philippe.

the compile progress is succeeded.