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

Jonathan Martens jonathan at snetram.nl
Wed Aug 17 19:43:45 UTC 2011


On 17-8-2011 15:46, MythTV wrote:
>        Author:  Daniel Kristjansson<danielk at cuymedia.net>
>   Change Date:  2011-08-17T06:45:28-07:00
>     Push Date:  2011/08/17 06:46:09 -0700
>    Repository:  mythtv
>        Branch:  master
> New Revision:  d82f8c71ba88f45ea05ee32e69a202d97795a885
>     Changeset:  https://github.com/MythTV/mythtv/commit/d82f8c71b
>
> Log:
>
> Add a constructor for LoggingItem. This eliminates code duplication and allows us to more efficintly initialize the class.
>
> Modified:
>
>     mythtv/libs/libmythbase/logging.cpp

This commit seems to brake compilation on Windows iwth the following error:

ccache g++ -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-I/d/buildbot-data/snetram-winxp-32bit/master-winxp-32bit/build/install/include 
-fomit-frame-pointer -g -Wall -Wno-switch -Wpointer-arith 
-Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time 
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O3 
-Wmissing-declarations -frtti -fexceptions -mthreads 
-DQT_LARGEFILE_SUPPORT -DWIN32 -DUSING_MINGW -DMMX -Di386 -D_GNU_SOURCE 
-DRUNPREFIX=\"/d/buildbot-data/snetram-winxp-32bit/master-winxp-32bit/build/install\" 
-DLIBDIRNAME=\"lib\" -DMBASE_API -DUSING_LIBUDF -DQT_THREAD_SUPPORT 
-DQT_DLL -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB 
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW 
-DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 
-I'd:/MinGW/msys/1.0/home/bb.mythtv/mythbuild/qt-everywhere-opensource-src-4.7.3/include/QtCore' 
-I'd:/MinGW/msys/1.0/home/bb.mythtv/mythbuild/qt-everywhere-opensource-src-4.7.3/include/QtNetwork' 
-I'd:/MinGW/msys/1.0/home/bb.mythtv/mythbuild/qt-everywhere-opensource-src-4.7.3/include/QtGui' 
-I'd:/MinGW/msys/1.0/home/bb.mythtv/mythbuild/qt-everywhere-opensource-src-4.7.3/include/QtXml' 
-I'd:/MinGW/msys/1.0/home/bb.mythtv/mythbuild/qt-everywhere-opensource-src-4.7.3/include/QtSql' 
-I'd:/MinGW/msys/1.0/home/bb.mythtv/mythbuild/qt-everywhere-opensource-src-4.7.3/include' 
-I'/d/buildbot-data/snetram-winxp-32bit/master-winxp-32bit/build/install/include' 
-I'/d/buildbot-data/snetram-winxp-32bit/master-winxp-32bit/build/install' -I'../../../install/include/libxml2' 
-I'd:/MinGW/msys/1.0/home/bb.mythtv/mythbuild/qt-everywhere-opensource-src-4.7.3/include/ActiveQt' 
-I'.' 
-I'd:/MinGW/msys/1.0/home/bb.mythtv/mythbuild/qt-everywhere-opensource-src-4.7.3/mkspecs/default' 
-o logging.o logging.cpp
make[2]: Leaving directory 
`/d/buildbot-data/snetram-winxp-32bit/master-winxp-32bit/build/mythtv/libs/libmythbase'
make[1]: Leaving directory 
`/d/buildbot-data/snetram-winxp-32bit/master-winxp-32bit/build/mythtv/libs'
logging.cpp: In constructor 'LoggingItem::LoggingItem(const char*, const 
char*, int, LogLevel_t, int)':
logging.cpp:152:66: error: invalid static_cast from type 'void*' to type 
'uint64_t'
logging.cpp: In member function 'virtual bool 
FileLogger::logmsg(LoggingItem*)':
logging.cpp:323:17: error: 'fsync' was not declared in this scope
logging.cpp: In member function 'void 
LoggerThread::handleItem(LoggingItem*)':
logging.cpp:760:51: warning: unknown conversion type character 'l' in format
logging.cpp:760:51: warning: unknown conversion type character 'l' in format
logging.cpp:760:51: warning: format '%s' expects type 'char*', but 
argument 4 has type 'uint64_t'
logging.cpp:760:51: warning: too many arguments for format
logging.cpp:785:55: warning: unknown conversion type character 'l' in format
logging.cpp:785:55: warning: unknown conversion type character 'l' in format
logging.cpp:785:55: warning: format '%s' expects type 'char*', but 
argument 4 has type 'uint64_t'
logging.cpp:785:55: warning: too many arguments for format
make[2]: *** [logging.o] Error 1
make[1]: *** [sub-libmythbase-make_default] Error 2
make: *** [libs] Error 2
program finished with exit code 2

Kind regards,

Jonathan


More information about the mythtv-dev mailing list