mercurial build error on windows

Kevin Bullock kbullock+mercurial at ringworld.org
Wed Apr 17 11:31:14 CDT 2013


On Apr 17, 2013, at 11:09 AM, Angel Ezquerra wrote:

> Hi,
> 
> I got a Windows 2008 server that runs an automated build of mercurial
> and tortoisehg nightly. Today I saw that the thg build of the head of
> the default branch (using the mercurial default branch head) failed as
> follows:
> 
> hg-build\winbuild>hg summary -R build/hg
> parent: 19040:12acbea17625 tip
> dispatch: print 'abort:' when a pre-command hook fails (BC)
> branch: default
> commit: 1 unknown (clean)
> update: 29 new changesets, 11 branch heads (merge)
> 
> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\Bin\amd64\cl.exe /c /nolog
> o /Ox /MD /W3 /GS- /DNDEBUG -Ic:\python27-x64\include -Ic:\python27-x64\PC /Tcme
> rcurial/parsers.c /Fobuild\temp.win-amd64-2.7\Release\mercurial/parsers.obj
> parsers.c
> mercurial/parsers.c(594) : warning C4244: '+=' : conversion from 'Py_ssize_t' to
> 'long', possible loss of data
> mercurial/parsers.c(635) : warning C4090: 'function' : different 'const' qualifi
> ers
> mercurial/parsers.c(777) : warning C4244: 'function' : conversion from 'Py_ssize
> _t' to 'long', possible loss of data
> mercurial/parsers.c(917) : warning C4244: '=' : conversion from 'Py_ssize_t' to
> 'int', possible loss of data
> mercurial/parsers.c(1212) : warning C4244: 'initializing' : conversion from 'bit
> mask' to 'long', possible loss of data
> mercurial/parsers.c(1244) : error C2143: syntax error : missing ';' before 'type
> '
> mercurial/parsers.c(1246) : error C2065: 'sp' : undeclared identifier
> mercurial/parsers.c(1250) : error C2065: 'sp' : undeclared identifier
> mercurial/parsers.c(1253) : error C2065: 'sp' : undeclared identifier
> mercurial/parsers.c(1253) : error C2065: 'sp' : undeclared identifier

No idea what the syntax error is about, but my guess is that VC doesn't like declaring a variable inside a loop (parsers.c:1244)?

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list