#115 compilation problem

open
nobody
None
5
2009-07-18
2009-07-18
No

ksmoothdock-4.5_automake-1.9
Fedora 11
-------------------------------------
$ make
make all-recursive
make[1]: Entering directory `/home/builder/work/ksmoothdock'
Making all in doc
make[2]: Entering directory `/home/builder/work/ksmoothdock/doc'
Making all in .
make[3]: Entering directory `/home/builder/work/ksmoothdock/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/builder/work/ksmoothdock/doc'
Making all in en
make[3]: Entering directory `/home/builder/work/ksmoothdock/doc/en'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/builder/work/ksmoothdock/doc/en'
make[2]: Leaving directory `/home/builder/work/ksmoothdock/doc'
Making all in po
make[2]: Entering directory `/home/builder/work/ksmoothdock/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/builder/work/ksmoothdock/po'
Making all in src
make[2]: Entering directory `/home/builder/work/ksmoothdock/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
In file included from /usr/lib/qt-3.3/include/qwindowdefs.h:47,
from /usr/lib/qt-3.3/include/qwidget.h:45,
from ksmoothdock.h:31,
from main.cpp:22:
/usr/lib/qt-3.3/include/qstring.h: In member function âchar QChar::latin1() constâ:
/usr/lib/qt-3.3/include/qstring.h:197: warning: conversion to âcharâ from âintâ may alter its value
/usr/lib/qt-3.3/include/qstring.h: In member function âvoid QChar::setCell(uchar)â:
/usr/lib/qt-3.3/include/qstring.h:222: warning: conversion to âushortâ from âintâ may alter its value
/usr/lib/qt-3.3/include/qstring.h: In member function âvoid QChar::setRow(uchar)â:
/usr/lib/qt-3.3/include/qstring.h:223: warning: conversion to âushortâ from âintâ may alter its value
/usr/lib/qt-3.3/include/qstring.h: In constructor âQChar::QChar(uchar, uchar)â:
/usr/lib/qt-3.3/include/qstring.h:267: warning: conversion to âushortâ from âintâ may alter its value
/usr/lib/qt-3.3/include/qstring.h: In constructor âQStringData::QStringData(QChar*, uint, uint)â:
/usr/lib/qt-3.3/include/qstring.h:365: warning: conversion to âunsigned int:30â from âuintâ may alter its value
/usr/lib/qt-3.3/include/qstring.h:365: warning: conversion to âunsigned int:30â from âuintâ may alter its value
In file included from /usr/lib/qt-3.3/include/qobject.h:48,
from /usr/lib/qt-3.3/include/qwidget.h:46,
from ksmoothdock.h:31,
from main.cpp:22:
/usr/lib/qt-3.3/include/qevent.h: In constructor âQContextMenuEvent::QContextMenuEvent(QContextMenuEvent::Reason, const QPoint&, const QPoint&, int)â:
/usr/lib/qt-3.3/include/qevent.h:432: warning: conversion to âunsigned charâ from âuintâ may alter its value
/usr/lib/qt-3.3/include/qevent.h: In member function âvoid QDropEvent::setAction(QDropEvent::Action)â:
/usr/lib/qt-3.3/include/qevent.h:523: warning: conversion to âunsigned charâ from âuintâ may alter its value
In file included from main.cpp:22:
ksmoothdock.h: At global scope:
ksmoothdock.h:313: error: ISO C++ forbids declaration of âauto_ptrâ with no type
ksmoothdock.h:313: error: invalid use of â::â
ksmoothdock.h:313: error: expected â;â before â<â token
ksmoothdock.h:314: error: ISO C++ forbids declaration of âauto_ptrâ with no type
ksmoothdock.h:314: error: invalid use of â::â
ksmoothdock.h:314: error: expected â;â before â<â token
ksmoothdock.h:315: error: ISO C++ forbids declaration of âauto_ptrâ with no type
ksmoothdock.h:315: error: invalid use of â::â
ksmoothdock.h:315: error: expected â;â before â<â token
ksmoothdock.h:318: error: ISO C++ forbids declaration of âauto_ptrâ with no type
ksmoothdock.h:318: error: invalid use of â::â
ksmoothdock.h:318: error: expected â;â before â<â token
In file included from /usr/include/kde/kaboutdata.h:24,
from main.cpp:24:
/usr/lib/qt-3.3/include/qimage.h: In member function âbool QImageTextKeyLang::operator<(const QImageTextKeyLang&) constâ:
/usr/lib/qt-3.3/include/qimage.h:61: warning: suggest parentheses around â&&â within â||â
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/builder/work/ksmoothdock/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/builder/work/ksmoothdock'
make: *** [all] Error 2
----------------------------------------
Any help ?

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks