<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>218690</bug_id>
          
          <creation_ts>2008-04-21 06:18 0000</creation_ts>
          <short_desc>kde-misc/kaptain-0.72 fails w/ gcc-4.3.0</short_desc>
          <delta_ts>2008-04-21 17:45:11 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>GCC Porting</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>198121</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>loki_val@gentoo.org</reporter>
          <assigned_to>kde@gentoo.org</assigned_to>
          <cc>esigra@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>loki_val@gentoo.org</who>
            <bug_when>2008-04-21 06:18:36 0000</bug_when>
            <thetext>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 &quot;.deps/communication.Tpo&quot; \
          -c -o communication.o `test -f &apos;communication.cpp&apos; || echo &apos;./&apos;`communication.cpp; \
        then mv -f &quot;.deps/communication.Tpo&quot; &quot;.deps/communication.Po&quot;; \
        else rm -f &quot;.deps/communication.Tpo&quot;; 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 &quot;.deps/process.Tpo&quot; \
          -c -o process.o `test -f &apos;process.cpp&apos; || echo &apos;./&apos;`process.cpp; \
        then mv -f &quot;.deps/process.Tpo&quot; &quot;.deps/process.Po&quot;; \
        else rm -f &quot;.deps/process.Tpo&quot;; 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 &quot;.deps/intermediate.Tpo&quot; \
          -c -o intermediate.o `test -f &apos;intermediate.cpp&apos; || echo &apos;./&apos;`intermediate.cpp; \
        then mv -f &quot;.deps/intermediate.Tpo&quot; &quot;.deps/intermediate.Po&quot;; \
        else rm -f &quot;.deps/intermediate.Tpo&quot;; 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 &amp;&amp; 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&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-misc/kaptain-0.72/work/kaptain-0.72&apos;
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>loki_val@gentoo.org</who>
            <bug_when>2008-04-21 06:19:12 0000</bug_when>
            <thetext>Created an attachment (id=150482)
kaptain-0.72-gcc43.patch

Fixes the problem. Snatched from Debian.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>philantrop@gentoo.org</who>
            <bug_when>2008-04-21 17:45:11 0000</bug_when>
            <thetext>Thanks, Peter! Fixed in CVS.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>150482</attachid>
            <date>2008-04-21 06:19 0000</date>
            <desc>kaptain-0.72-gcc43.patch</desc>
            <filename>kaptain-0.72-gcc43.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGthcHRhaW4tMC43Mi5vcmlnL2thcHRhaW4vY29tbXVuaWNhdGlvbi5jcHAKKysrIGthcHRh
aW4tMC43Mi9rYXB0YWluL2NvbW11bmljYXRpb24uY3BwCkBAIC0xLDMgKzEsNCBAQAorI2luY2x1
ZGUgPGNzdGRsaWI+CiAjaW5jbHVkZSA8c3RkaW8uaD4KICNpbmNsdWRlIDx1bmlzdGQuaD4KICNp
bmNsdWRlIDxlcnJuby5oPgotLS0ga2FwdGFpbi0wLjcyLm9yaWcva2FwdGFpbi9rYXB0YWluLmgK
KysrIGthcHRhaW4tMC43Mi9rYXB0YWluL2thcHRhaW4uaApAQCAtOCw3ICs4LDcgQEAKICNpbmNs
dWRlIDxxbGluZWVkaXQuaD4KICNpbmNsdWRlIDxxdGFid2lkZ2V0Lmg+CiAjaW5jbHVkZSA8cWxh
eW91dC5oPgotI2luY2x1ZGUgPHFsaXN0Lmg+CisjaW5jbHVkZSA8cXB0cmxpc3QuaD4KICNpbmNs
dWRlIDxxY29tYm9ib3guaD4KICNpbmNsdWRlIDxxbGlzdGJveC5oPgogI2luY2x1ZGUgPHFwdXNo
YnV0dG9uLmg+Cgo=
</data>        

          </attachment>
    </bug>

</bugzilla>