tellico 1.3.5 fails compilation with GCC 4.4
Regis Boudin
regis at boudin.name
Thu Mar 5 01:44:49 MST 2009
Hi,
I fixed it in the trunk, see r3410 in the novell svn (only pick this
specific file, it was part of a bigger patch to help compiling on win32).
Regis
On Thu, March 5, 2009 07:29, Alex Lancaster wrote:
> 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
>
> _______________________________________________
> tellico-users mailing list
> tellico-users at forge.novell.com
> http://forge.novell.com/mailman/listinfo/tellico-users
>
More information about the tellico-users
mailing list