- work around gcc bug: http://gcc.gnu.org/PR34708, take 2
This commit is contained in:
parent
92e8cea974
commit
20ce8b420e
|
@ -93,16 +93,16 @@ diff -up openbabel-2.1.1/src/fingerprint.cpp.gcc43 openbabel-2.1.1/src/fingerpri
|
|||
#include <openbabel/fingerprint.h>
|
||||
diff -up openbabel-2.1.1/scripts/perl/openbabel_perl.cpp.gcc43 openbabel-2.1.1/scripts/perl/openbabel_perl.cpp
|
||||
--- openbabel-2.1.1/scripts/perl/openbabel_perl.cpp.gcc43 2007-07-01 22:14:02.000000000 +0200
|
||||
+++ openbabel-2.1.1/scripts/perl/openbabel_perl.cpp 2008-01-07 23:18:45.000000000 +0100
|
||||
@@ -814,7 +814,7 @@ extern "C" {
|
||||
+++ openbabel-2.1.1/scripts/perl/openbabel_perl.cpp 2008-01-07 23:30:21.000000000 +0100
|
||||
@@ -812,6 +812,8 @@ extern "C" {
|
||||
/* -----------------------------------------------------------------------------
|
||||
* error manipulation
|
||||
* ----------------------------------------------------------------------------- */
|
||||
+SWIGINTERN const char*
|
||||
+SWIG_Perl_ErrorType(int code) __attribute__((noinline));
|
||||
|
||||
SWIGINTERN const char*
|
||||
-SWIG_Perl_ErrorType(int code) {
|
||||
+SWIG_Perl_ErrorType(int code) __attribute__((noinline)) {
|
||||
const char* type = 0;
|
||||
switch(code) {
|
||||
case SWIG_MemoryError:
|
||||
SWIG_Perl_ErrorType(int code) {
|
||||
diff -up openbabel-2.1.1/include/openbabel/xml.h.gcc43 openbabel-2.1.1/include/openbabel/xml.h
|
||||
--- openbabel-2.1.1/include/openbabel/xml.h.gcc43 2007-02-26 17:28:03.000000000 +0100
|
||||
+++ openbabel-2.1.1/include/openbabel/xml.h 2008-01-07 23:15:46.000000000 +0100
|
||||
|
|
Loading…
Reference in New Issue