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

Bug#364630: marked as done (FTBFS with GCC 4.2: invalid use of incomplete type)



Your message dated Thu, 28 Jun 2007 16:29:52 -0400
with message-id <200706281629.52956.schepler@math.unipd.it>
and subject line Current koffice builds with gcc-4.2
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: koffice
Version: 1:1.5.0-1

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.  I assume the problem below is
because G++ is constantly becoming stricter regarding the C++
standard.  However, if you believe this is a bug in the compiler
please let me know.  You can reproduce the problem with the
gcc-snapshot package.


> Automatic build of koffice_1:1.5.0-1 on test.track.rz.uni-augsburg.de by sbuild/powerpc 0.44
...
>  g++ -DHAVE_CONFIG_H -I. -I/build/tbm/koffice-1.5.0/./lib/kross/api -I../../.. -I/build/tbm/koffice-1.5.0/./lib/kross -I../../../lib/kross -I/usr/include/kde -I/usr/share/qt3/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 -DNDEBUG -DNO_DEBUG -O2 -g -Wall -O2 -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 -DHAVE_KNEWSTUFF -fexceptions -c libkrossapi_la.all_cpp.cpp  -fPIC -DPIC -o .libs/libkrossapi_la.all_cpp.o
> /build/tbm/koffice-1.5.0/./lib/kross/api/object.h: In static member function 'static T* Kross::Api::Object::fromObject(KSharedPtr<Kross::Api::Object>)':
> /build/tbm/koffice-1.5.0/./lib/kross/api/object.h:202: error: invalid use of incomplete type 'struct Kross::Api::Exception'
> /build/tbm/koffice-1.5.0/./lib/kross/api/object.h:41: error: forward declaration of 'struct Kross::Api::Exception'
> make[6]: *** [libkrossapi_la.all_cpp.lo] Error 1
> make[6]: Leaving directory `/build/tbm/koffice-1.5.0/obj-powerpc-linux-gnu/lib/kross/api'

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


--- End Message ---
--- Begin Message ---
Package: koffice
Version: 1:1.6.3-1

The current version of koffice built fine for me using g++-4.2.  I don't know 
exactly which upload fixed it, so I'll put the latest version to be safe.
-- 
Daniel Schepler

--- End Message ---

Reply to: