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

[Pkg-octave-devel] Bug#421218: marked as done (FTBFS with GCC 4.3: must #include <typeinfo> before using typeid)



Your message dated Mon, 21 May 2007 15:02:49 +0000
with message-id <E1Hq9PN-0007en-3b@ries.debian.org>
and subject line Bug#421218: fixed in octplot 0.4.0-1
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: octplot
Version: 0.3.9-3
Usertags: ftbfs-gcc-4.3
Tags: patch

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).

You can reproduce this problem with gcc-snapshot (20070422-1 or higher)
from unstable. (Currently not available for i386, but for amd64 and
and ia64.  I hope to have i386 binaries in the archive in the near
future.)

> Automatic build of octplot_0.3.9-3 on em64t by sbuild/amd64 0.53
...
> g++ -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/include/freetype2 -I/usr/include/freetype2 -g -Wall -O2 -fPIC -c -o octplot-object.o `test -f 'object.cpp' || echo './'`object.cpp
> object.cpp: In member function 'void Object::SetProperty(const char*, Property*)':
> object.cpp:91: error: must #include <typeinfo> before using typeid
> object.cpp:91: error: must #include <typeinfo> before using typeid
> make[3]: *** [octplot-object.o] Error 1

--- src/object.cpp~	2007-04-27 08:19:48.000000000 +0000
+++ src/object.cpp	2007-04-27 08:19:58.000000000 +0000
@@ -17,6 +17,7 @@
 
 #include <stdio.h>
 #include <string.h>
+#include <typeinfo>
 #include "globals.h"
 #include "object.h"
 #include "octplotapp.h"

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


--- End Message ---
--- Begin Message ---
Source: octplot
Source-Version: 0.4.0-1

We believe that the bug you reported is fixed in the latest version of
octplot, which is due to be installed in the Debian FTP archive:

octplot_0.4.0-1.diff.gz
  to pool/main/o/octplot/octplot_0.4.0-1.diff.gz
octplot_0.4.0-1.dsc
  to pool/main/o/octplot/octplot_0.4.0-1.dsc
octplot_0.4.0-1_i386.deb
  to pool/main/o/octplot/octplot_0.4.0-1_i386.deb
octplot_0.4.0.orig.tar.gz
  to pool/main/o/octplot/octplot_0.4.0.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 421218@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rafael Laboissiere <rafael@debian.org> (supplier of updated octplot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 21 May 2007 10:39:07 +0200
Source: octplot
Binary: octplot
Architecture: source i386
Version: 0.4.0-1
Distribution: unstable
Urgency: low
Maintainer: Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>
Changed-By: Rafael Laboissiere <rafael@debian.org>
Description: 
 octplot    - graphical interface for Octave
Closes: 421218 423994
Changes: 
 octplot (0.4.0-1) unstable; urgency=low
 .
   [ Thomas Weber ]
   * New upstream release (closes: #421218)
   * Dropped patches (applied upstream):
     + 50_quiet_subplot.patch
     + 50_kfreebsd.patch
     + 50_supply_paths.patch
   * New patches:
     + 50_link_with_glu.patch
       Change configure.ac to check for GLU. Check taken from autoconf-archive.
       These checks need config.guess and config.sub as well (closes: #423994)
     + 50_add_missing_functions
       Copy some files from Octave-forge into OctPlot. Otherwise, most demos
       won't run.
Files: 
 acdd5168057799af83a7492068b93063 895 math optional octplot_0.4.0-1.dsc
 1ea6fa85b620e6af252ee64407c87285 931203 math optional octplot_0.4.0.orig.tar.gz
 bcbe7dd82c1e22d866afac6ef1103856 36351 math optional octplot_0.4.0-1.diff.gz
 a47a89cd72cc8062b739fcfbbc30f0ee 1034100 math optional octplot_0.4.0-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGUbJWk3oga0pdcv4RAlTiAKCMaQ8fERLFFcKJlicy8cU+5/z2ewCeJl48
sw4XvQAurvspJFfi63b90JY=
=wA1E
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: