[mythtv] [mythtv-commits] mythtv/master commit: c7b18dbc4 by Daniel Kristjansson (daniel-kristjansson)

Jonathan Martens jonathan at snetram.nl
Tue Aug 23 21:07:47 UTC 2011


On 23-8-2011 22:57, Jonathan Martens wrote:
> I am afraid that this is the first in a line of things braking windows
> compilation as before I did a 'make distclean' I already observed this
> error:
>
> In file included from mythcorecontext.cpp:22:0:
> compat.h: In function 'long int random()':
> compat.h:133:35: warning: left shift count>= width of type
> mythcorecontext.cpp: In constructor
> 'MythCoreContextPrivate::MythCoreContextPrivate(MythCoreContext*,
> QString, QObject*)':
> mythcorecontext.cpp:100:40: error: 'srandom' was not declared in this scope
> mythcorecontext.cpp: In member function 'void
> MythCoreContext::dispatchNow(const MythEvent&)':
> mythcorecontext.cpp:1047:38: warning: 'void
> MythObservable::dispatchNow(const MythEvent&)' is deprecated (declared
> at mythobservable.h:21)
> make[2]: *** [mythcorecontext.o] Error 1
> make[1]: *** [sub-libmythbase-make_default] Error 2
> make: *** [libs] Error 2

Just to confirm... After reverting the changes from 
c7b18dbc495f539cf4ed80525c09539d9061f977 I get the following error:

In file included from mythcorecontext.cpp:22:0:
compat.h: In function 'long int random()':
compat.h:133:35: warning: left shift count >= width of type
mythcorecontext.cpp: In constructor 
'MythCoreContextPrivate::MythCoreContextPrivate(MythCoreContext*, 
QString, QObject*)':
mythcorecontext.cpp:100:40: error: 'srandom' was not declared in this scope
mythcorecontext.cpp: In member function 'void 
MythCoreContext::dispatchNow(const MythEvent&)':
mythcorecontext.cpp:1047:38: warning: 'void 
MythObservable::dispatchNow(const MythEvent&)' is deprecated (declared 
at mythobservable.h:21)
make[2]: *** [mythcorecontext.o] Error 1
make[2]: Leaving directory 
`/d/buildbot-data/snetram-winxp-32bit/master-winxp-32bit/build/mythtv/libs/libmythbase'
make[1]: *** [sub-libmythbase-make_default] Error 2
make[1]: Leaving directory 
`/d/buildbot-data/snetram-winxp-32bit/master-winxp-32bit/build/mythtv/libs'
make: *** [libs] Error 2

There is also a 'left shift' warning in compat.h that seems to occur 
more often.

Kind regards,

Jonathan


More information about the mythtv-dev mailing list