Your message dated Mon, 15 Oct 2007 11:54:41 +0800
with message-id <[EMAIL PROTECTED]>
and subject line close
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: openbabel
Version: 2.0.2-1
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).  Some background of this can be found at
http://gcc.gnu.org/PR28080

You can reproduce this problem with gcc-snapshot (20070326-1 or higher)
from unstable.

> Automatic build of openbabel_2.0.2-1 on em64t by sbuild/amd64 0.53
...
>  g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src -I../../data -g -Wall 
> -O2 -c yasaraformat.cpp  -fPIC -DPIC -o .libs/yasaraformat.o
> yasaraformat.cpp: In function 'int OpenBabel::int32lemem(char*)':
> yasaraformat.cpp:58: error: 'INT_MIN' was not declared in this scope
> yasaraformat.cpp: At global scope:

--- src/formats/yasaraformat.cpp~       2007-04-02 20:08:34.000000000 +0000
+++ src/formats/yasaraformat.cpp        2007-04-02 20:08:42.000000000 +0000
@@ -33,6 +33,7 @@
 #include "mol.h"
 #include "obconversion.h"
 #include "obmolecformat.h"
+#include <climits>
 
 #define mem_alloc malloc
 #define mem_free free
--- src/dlhandler_unix.cpp~     2007-04-02 20:17:06.000000000 +0000
+++ src/dlhandler_unix.cpp      2007-04-02 20:17:13.000000000 +0000
@@ -26,6 +26,7 @@
 #include <sys/stat.h>
 #include <dlfcn.h>
 
+#include <cstdlib>
 #include <iostream>
 
 using namespace std;
--- src/main.cpp~       2007-04-02 20:18:00.000000000 +0000
+++ src/main.cpp        2007-04-02 20:18:07.000000000 +0000
@@ -40,6 +40,7 @@
        #include <sstream.h>
 #endif
 
+#include <cstdlib>
 #include <string>
 #include <map>
 #if HAVE_CONIO_H

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


--- End Message ---
--- Begin Message ---
Package: openbabel
Version: 2.1.1-1

-- 
Best Regards,
 LI Daobing


--- End Message ---

Reply via email to