[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#366633: marked as done (FTBFS with GCC 4.2: invalid conversion from 'int' to 'khtml::EBorderStyle')



Your message dated Fri, 9 Jun 2006 17:40:48 +0200
with message-id <20060609154048.GG6979@deprecation.cyrius.com>
and subject line Bug#366633: FTBFS with GCC 4.2: invalid conversion from 'int' to 'khtml::EBorderStyle'
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: kdelibs
Version: 4:3.5.2-2

Your package fails to build with GCC 4.2.  Version 4.2 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  The bug below appears to be in
your package and not because I'm using a snapshot of the compiler so
please take a look at it.  You can reproduce this with the
gcc-snapshot package.


> Automatic build of kdelibs_4:3.5.2-2 on test.track.rz.uni-augsburg.de by sbuild/powerpc 0.44
...
>  g++ -DHAVE_CONFIG_H -I. -I/build/tbm/kdelibs-3.5.2/./khtml/misc -I../.. -I../../dcop -I../../kdecore -I../../kio/kssl -I../../kjs -I/build/tbm/kdelibs-3.5.2/. -I/build/tbm/kdelibs-3.5.2/./dcop -I/build/tbm/kdelibs-3.5.2/./kio -I/build/tbm/kdelibs-3.5.2/./libltdl -I/build/tbm/kdelibs-3.5.2/./khtml -I/build/tbm/kdelibs-3.5.2/./kutils -I/build/tbm/kdelibs-3.5.2/./dcop -I/build/tbm/kdelibs-3.5.2/./libltdl -I/build/tbm/kdelibs-3.5.2/./kdefx -I../../kdecore -I/build/tbm/kdelibs-3.5.2/./kdecore -I/build/tbm/kdelibs-3.5.2/./kdeui -I/build/tbm/kdelibs-3.5.2/./kio -I/build/tbm/kdelibs-3.5.2/./kio/kio -I/build/tbm/kdelibs-3.5.2/./kio/kfile -I/build/tbm/kdelibs-3.5.2/. -I/usr/share/qt3/include -I. -I/usr/include/kde -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 -DNDEBUG -DNO_DEBUG -O2 -g -Wall -O2 -DDEBIAN_VERSION=4:3.5.2-2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c libkhtmlmisc_la.all_cpp.cpp  -fPIC -DPIC -o .libs/libkhtmlmisc_la.all_cpp.o
> /build/tbm/kdelibs-3.5.2/./khtml/rendering/render_style.h: In member function 'khtml::EBorderStyle khtml::CollapsedBorderValue::style() const':
> /build/tbm/kdelibs-3.5.2/./khtml/rendering/render_style.h:267: warning: enumeral and non-enumeral type in conditional expression
> /build/tbm/kdelibs-3.5.2/./khtml/rendering/render_style.h:267: error: invalid conversion from 'int' to 'khtml::EBorderStyle'
> make[4]: *** [libkhtmlmisc_la.all_cpp.lo] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/


--- End Message ---
--- Begin Message ---
reassign 366633 gcc-snapshot
thanks

* Josh Metzler <joshdeb@metzlers.org> [2006-06-08 12:27]:
> As far as I can tell, both possible return values are of type EBorderStyle, 
> so I don't see where the problematic conversion from int to EBorderStyle 
> happens.

You're right, sorry for wasting your time.  I just compiled the file
with a newer version of the compiler and it works.  Seems like this
was a temporary bug in gcc.


(sid)4371:tbm@test: ..werpc-linux-gnu/khtml/misc] sudo dpkg -i ~/gcc/gcc-snapshot_20060508-1_powerpc.deb
dpkg - warning: downgrading gcc-snapshot from 20060530-1 to 20060508-1.
(Reading database ... 99196 files and directories currently installed.)
Preparing to replace gcc-snapshot 20060530-1 (using .../gcc-snapshot_20060508-1_powerpc.deb) ...
Unpacking replacement gcc-snapshot ...
Setting up gcc-snapshot (20060508-1) ...
(sid)4372:tbm@test: ..werpc-linux-gnu/khtml/misc] /usr/lib/gcc-snapshot/bin/g++ -DHAVE_CONFIG_H -I. -I/home/tbm/src/kdelibs-3.5.3/./khtml/misc -I../.. -I../../dcop -I../../kdecore -I../../kio/kssl -I../../kjs -I/home/tbm/src/kdelibs-3.5.3/. -I/home/tbm/src/kdelibs-3.5.3/./dcop -I/home/tbm/src/kdelibs-3.5.3/./kio -I/home/tbm/src/kdelibs-3.5.3/./libltdl -I/home/tbm/src/kdelibs-3.5.3/./khtml -I/home/tbm/src/kdelibs-3.5.3/./kutils -I/home/tbm/src/kdelibs-3.5.3/./dcop -I/home/tbm/src/kdelibs-3.5.3/./libltdl -I/home/tbm/src/kdelibs-3.5.3/./kdefx -I../../kdecore -I/home/tbm/src/kdelibs-3.5.3/./kdecore -I/home/tbm/src/kdelibs-3.5.3/./kdeui -I/home/tbm/src/kdelibs-3.5.3/./kio -I/home/tbm/src/kdelibs-3.5.3/./kio/kio -I/home/tbm/src/kdelibs-3.5.3/./kio/kfile -I/home/tbm/src/kdelibs-3.5.3/. -I/usr/share/qt3/include -I. -I/usr/include/kde -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 -DNDEBUG -DNO_DEBUG -O2 -g -Wall -O2 -DDEBIAN_VERSION=4:3.5.3-1 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c libkhtmlmisc_la.all_cpp.cpp  -fPIC -DPIC -o .libs/libkhtmlmisc_la.all_cpp.o
/home/tbm/src/kdelibs-3.5.3/./khtml/rendering/render_style.h: In member function 'khtml::EBorderStyle khtml::CollapsedBorderValue::style() const':
/home/tbm/src/kdelibs-3.5.3/./khtml/rendering/render_style.h:267: warning: enumeral and non-enumeral type in conditional expression
/home/tbm/src/kdelibs-3.5.3/./khtml/rendering/render_style.h:267: error: invalid conversion from 'int' to 'khtml::EBorderStyle'
zsh: exit 1     /usr/lib/gcc-snapshot/bin/g++ -DHAVE_CONFIG_H -I.  -I../.. -I../../dcop
(sid)4373:tbm@test: ..werpc-linux-gnu/khtml/misc] sudo dpkg -i ~/gcc/gcc-snapshot_20060530-1_powerpc.deb
(Reading database ... 98995 files and directories currently installed.)
Preparing to replace gcc-snapshot 20060508-1 (using .../gcc-snapshot_20060530-1_powerpc.deb) ...
Unpacking replacement gcc-snapshot ...
Setting up gcc-snapshot (20060530-1) ...
(sid)4374:tbm@test: ..werpc-linux-gnu/khtml/misc] /usr/lib/gcc-snapshot/bin/g++ -DHAVE_CONFIG_H -I. -I/home/tbm/src/kdelibs-3.5.3/./khtml/misc -I../.. -I../../dcop -I../../kdecore -I../../kio/kssl -I../../kjs -I/home/tbm/src/kdelibs-3.5.3/. -I/home/tbm/src/kdelibs-3.5.3/./dcop -I/home/tbm/src/kdelibs-3.5.3/./kio -I/home/tbm/src/kdelibs-3.5.3/./libltdl -I/home/tbm/src/kdelibs-3.5.3/./khtml -I/home/tbm/src/kdelibs-3.5.3/./kutils -I/home/tbm/src/kdelibs-3.5.3/./dcop -I/home/tbm/src/kdelibs-3.5.3/./libltdl -I/home/tbm/src/kdelibs-3.5.3/./kdefx -I../../kdecore -I/home/tbm/src/kdelibs-3.5.3/./kdecore -I/home/tbm/src/kdelibs-3.5.3/./kdeui -I/home/tbm/src/kdelibs-3.5.3/./kio -I/home/tbm/src/kdelibs-3.5.3/./kio/kio -I/home/tbm/src/kdelibs-3.5.3/./kio/kfile -I/home/tbm/src/kdelibs-3.5.3/. -I/usr/share/qt3/include -I. -I/usr/include/kde -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 -DNDEBUG -DNO_DEBUG -O2 -g -Wall -O2 -DDEBIAN_VERSION=4:3.5.3-1 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c libkhtmlmisc_la.all_cpp.cpp  -fPIC -DPIC -o .libs/libkhtmlmisc_la.all_cpp.o
(sid)4375:tbm@test: ..werpc-linux-gnu/khtml/misc]

-- 
Martin Michlmayr
http://www.cyrius.com/

--- End Message ---

Reply to: