tellico 1.3.5 fails compilation with GCC 4.4
Alex Lancaster
alexl at users.sourceforge.net
Thu Mar 5 00:29:29 MST 2009
Hi there,
Fedora recently did a mass-rebuild of the entire distribution with the
new version of GCC 4.4 and unfortunately tellico 1.3.5 (I help
co-maintain the Fedora package) fails the rebuild:
/usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)':
/usr/lib64/qt-3.3/include/qstring.h:365: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
/usr/lib64/qt-3.3/include/qstring.h:365: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
DB.cpp: In member function 'void PalmLib::FlatFile::DB::extract_schema(unsigned int)':
DB.cpp:152: warning: conversion to 'int' from 'long int' may alter its value
DB.cpp:207: warning: conversion to 'PalmLib::pi_uint16_t' from 'unsigned int' may alter its value
../strop.cpp: In function 'void StrOps::lower(std::string&)':
../strop.cpp:35: warning: conversion to 'char' from 'int' may alter its value
DB.cpp: In member function 'void PalmLib::FlatFile::DB::extract_listviews()':
DB.cpp:246: error: reinterpret_cast from type 'const void*' to type 'PalmLib::pi_char_t*' casts away constness
DB.cpp: In member function 'std::string PalmLib::FlatFile::DB::extract_fieldsdata(PalmLib::pi_uint16_t, PalmLib::FlatFile::Field::FieldType)':
DB.cpp:386: warning: conversion to 'int' from 'size_t' may alter its value
full logs here:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1222923
http://koji.fedoraproject.org/koji/getfile?taskID=1222923&name=build.log
Is there a patch, perhaps in SVN, that fixes this?
Thanks,
Alex
More information about the tellico-users
mailing list