if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/qt/3/include -I.
-DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef
-Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O2 -march=i686 -mtune=athlon-xp
-msse -mmmx -pipe -ggdb3 -fno-exceptions -fno-check-new -MT communication.o
-MD -MP -MF ".deps/communication.Tpo" \
-c -o communication.o `test -f 'communication.cpp' || echo
'./'`communication.cpp; \
then mv -f ".deps/communication.Tpo" ".deps/communication.Po"; \
else rm -f ".deps/communication.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/qt/3/include -I.
-DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef
-Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O2 -march=i686 -mtune=athlon-xp
-msse -mmmx -pipe -ggdb3 -fno-exceptions -fno-check-new -MT process.o -MD -MP
-MF ".deps/process.Tpo" \
-c -o process.o `test -f 'process.cpp' || echo './'`process.cpp; \
then mv -f ".deps/process.Tpo" ".deps/process.Po"; \
else rm -f ".deps/process.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/qt/3/include -I.
-DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef
-Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O2 -march=i686 -mtune=athlon-xp
-msse -mmmx -pipe -ggdb3 -fno-exceptions -fno-check-new -MT intermediate.o -MD
-MP -MF ".deps/intermediate.Tpo" \
-c -o intermediate.o `test -f 'intermediate.cpp' || echo
'./'`intermediate.cpp; \
then mv -f ".deps/intermediate.Tpo" ".deps/intermediate.Po"; \
else rm -f ".deps/intermediate.Tpo"; exit 1; \
fi
In file included from /usr/qt/3/include/qwindowdefs.h:45,
from /usr/qt/3/include/qobject.h:44,
from /usr/qt/3/include/qsocketnotifier.h:43,
from communication.h:5,
from communication.cpp:16:
/usr/qt/3/include/qstring.h: In member function ‘char QChar::latin1()
const’:
/usr/qt/3/include/qstring.h:194: warning: conversion to ‘char’ from
‘int’ may alter its value
/usr/qt/3/include/qstring.h: In member function ‘void
QChar::setCell(uchar)’:
/usr/qt/3/include/qstring.h:219: warning: conversion to ‘ushort’ from
‘int’ may alter its value
/usr/qt/3/include/qstring.h: In member function ‘void
QChar::setRow(uchar)’:
/usr/qt/3/include/qstring.h:220: warning: conversion to ‘ushort’ from
‘int’ may alter its value
/usr/qt/3/include/qstring.h: In constructor ‘QChar::QChar(uchar, uchar)’:
/usr/qt/3/include/qstring.h:264: warning: conversion to ‘ushort’ from
‘int’ may alter its value
/usr/qt/3/include/qstring.h: In constructor ‘QStringData::QStringData(QChar*,
uint, uint)’:
/usr/qt/3/include/qstring.h:362: warning: conversion to ‘unsigned int:30’
from ‘uint’ may alter its value
/usr/qt/3/include/qstring.h:362: warning: conversion to ‘unsigned int:30’
from ‘uint’ may alter its value
In file included from /usr/qt/3/include/qobject.h:46,
from /usr/qt/3/include/qsocketnotifier.h:43,
from communication.h:5,
from communication.cpp:16:
/usr/qt/3/include/qevent.h: In member function ‘void
QDropEvent::setAction(QDropEvent::Action)’:
/usr/qt/3/include/qevent.h:520: warning: conversion to ‘unsigned char’ from
‘uint’ may alter its value
communication.cpp: In member function ‘bool
Communicator::setup_socket_server(std::string)’:
communication.cpp:101: warning: conversion to ‘short unsigned int’ from
‘int’ may alter its value
communication.cpp:101: warning: conversion to ‘short unsigned int’ from
‘int’ may alter its value
communication.cpp: In member function ‘bool
Communicator::setup_socket_client(std::string)’:
communication.cpp:196: warning: conversion to ‘short unsigned int’ from
‘unsigned int’ may alter its value
communication.cpp:196: warning: conversion to ‘short unsigned int’ from
‘int’ may alter its value
communication.cpp: In member function ‘void
Communicator::send(std::string)’:
communication.cpp:301: error: ‘exit’ was not declared in this scope
make[2]: *** [communication.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/qt/3/include/qwindowdefs.h:45,
from /usr/qt/3/include/qwidget.h:43,
from kaptain.h:5,
from intermediate.cpp:8:
/usr/qt/3/include/qstring.h: In member function ‘char QChar::latin1()
const’:
/usr/qt/3/include/qstring.h:194: warning: conversion to ‘char’ from
‘int’ may alter its value
/usr/qt/3/include/qstring.h: In member function ‘void
QChar::setCell(uchar)’:
/usr/qt/3/include/qstring.h:219: warning: conversion to ‘ushort’ from
‘int’ may alter its value
/usr/qt/3/include/qstring.h: In member function ‘void
QChar::setRow(uchar)’:
/usr/qt/3/include/qstring.h:220: warning: conversion to ‘ushort’ from
‘int’ may alter its value
/usr/qt/3/include/qstring.h: In constructor ‘QChar::QChar(uchar, uchar)’:
/usr/qt/3/include/qstring.h:264: warning: conversion to ‘ushort’ from
‘int’ may alter its value
/usr/qt/3/include/qstring.h: In constructor ‘QStringData::QStringData(QChar*,
uint, uint)’:
/usr/qt/3/include/qstring.h:362: warning: conversion to ‘unsigned int:30’
from ‘uint’ may alter its value
/usr/qt/3/include/qstring.h:362: warning: conversion to ‘unsigned int:30’
from ‘uint’ may alter its value
In file included from /usr/qt/3/include/qobject.h:46,
from /usr/qt/3/include/qwidget.h:44,
from kaptain.h:5,
from intermediate.cpp:8:
/usr/qt/3/include/qevent.h: In member function ‘void
QDropEvent::setAction(QDropEvent::Action)’:
/usr/qt/3/include/qevent.h:520: warning: conversion to ‘unsigned char’ from
‘uint’ may alter its value
In file included from /usr/qt/3/include/qwidget.h:50,
from kaptain.h:5,
from intermediate.cpp:8:
/usr/qt/3/include/qsizepolicy.h: In member function ‘void
QSizePolicy::transpose()’:
/usr/qt/3/include/qsizepolicy.h:122: warning: conversion to ‘uchar’ from
‘uint’ may alter its value
/usr/qt/3/include/qsizepolicy.h:122: warning: conversion to ‘uchar’ from
‘uint’ may alter its value
In file included from kaptain.h:15,
from intermediate.cpp:8:
/usr/qt/3/include/qpushbutton.h: In member function ‘virtual void
QPushButton::setIsMenuButton(bool)’:
/usr/qt/3/include/qpushbutton.h:91: warning: conversion to ‘unsigned
char:1’ from ‘int’ may alter its value
intermediate.cpp: In member function ‘int
Intermediate::get_parameter_num()’:
intermediate.cpp:337: warning: suggest explicit braces to avoid ambiguous
‘else’
intermediate.cpp: In member function ‘int
Intermediate::get_int_parameter(int)’:
intermediate.cpp:356: warning: suggest parentheses around && within ||
intermediate.cpp: In member function ‘void Intermediate::transduce_2()’:
intermediate.cpp:464: warning: suggest explicit braces to avoid ambiguous
‘else’
intermediate.cpp: In member function ‘void Intermediate::send(std::string,
char)’:
intermediate.cpp:565: warning: suggest explicit braces to avoid ambiguous
‘else’
intermediate.cpp: In member function ‘void
Intermediate::recieve(std::string)’:
intermediate.cpp:623: warning: suggest explicit braces to avoid ambiguous
‘else’
make[2]: Leaving directory
`/var/tmp/portage/kde-misc/kaptain-0.72/work/kaptain-0.72/kaptain'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kde-misc/kaptain-0.72/work/kaptain-0.72'
make: *** [all] Error 2
Reproducible: Always
Steps to Reproduce: