<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>125196</bug_id>
          
          <creation_ts>2006-03-06 01:32 0000</creation_ts>
          <short_desc>dev-db/libodbc++-0.2.3-r1 fails (gcc4)</short_desc>
          <delta_ts>2006-04-13 17:07:40 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>GCC Porting</component>
          <version>2005.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>117482</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>hetfield666@gmail.com</reporter>
          <assigned_to>robbat2@gentoo.org</assigned_to>
          <cc>cpp@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>hetfield666@gmail.com</who>
            <bug_when>2006-03-06 01:32:49 0000</bug_when>
            <thetext>i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src -I.. -I/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/include -I../include -DIN_ODBCXX -D_GNU_SOURCE -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -c /var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp -MT drivermanager.lo -MD -MP -MF .deps/drivermanager.TPlo  -fPIC -DPIC -o .libs/drivermanager.lo
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/include/odbc++/drivermanager.h:102: error: ISO C++ forbids declaration of &apos;ErrorHandler&apos; with no type
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/include/odbc++/drivermanager.h:102: error: expected &apos;;&apos; before &apos;*&apos; token
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp:31: error: &apos;odbc::ErrorHandler* odbc::DriverManager::eh_&apos; is not a static member of &apos;class odbc::DriverManager&apos;
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp: In static member function &apos;static void odbc::DriverManager::shutdown()&apos;:
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp:69: error: &apos;eh_&apos; was not declared in this scope
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp:75: error: &apos;eh_&apos; was not declared in this scope
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp: In static member function &apos;static void odbc::DriverManager::_checkInit()&apos;:
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp:108: error: &apos;eh_&apos; was not declared in this scope
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp: In static member function &apos;static odbc::Connection* odbc::DriverManager::_createConnection()&apos;:
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp:142: error: &apos;eh_&apos; was not declared in this scope
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp: In static member function &apos;static odbc::DataSourceList* odbc::DriverManager::getDataSources()&apos;:
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp:212: error: &apos;eh_&apos; was not declared in this scope
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp: In static member function &apos;static odbc::DriverList* odbc::DriverManager::getDrivers()&apos;:
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp:259: error: &apos;eh_&apos; was not declared in this scope
make[2]: *** [drivermanager.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3-build/src&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3-build&apos;
make: *** [all] Error 2

!!! ERROR: dev-db/libodbc++-0.2.3-r1 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2006-03-25 14:19:16 0000</bug_when>
            <thetext>patches welcome.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>halcy0n@gentoo.org</who>
            <bug_when>2006-04-08 18:25:52 0000</bug_when>
            <thetext>Created an attachment (id=84243)
gcc-4.1 patch

I ran into two problems...here is the patch for gcc-4.1</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>halcy0n@gentoo.org</who>
            <bug_when>2006-04-08 18:26:18 0000</bug_when>
            <thetext>Created an attachment (id=84244)
doxygen patch

And the doxygen error</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hetfield666@gmail.com</who>
            <bug_when>2006-04-09 12:19:37 0000</bug_when>
            <thetext>please commit :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hetfield666@gmail.com</who>
            <bug_when>2006-04-11 00:29:44 0000</bug_when>
            <thetext>i just found this error in ebuild:

/usr/portage/dev-db/libodbc++/libodbc++-0.2.3-r1.ebuild: line 37: append-flags: command not found


flag-o-matic needed?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hetfield666@gmail.com</who>
            <bug_when>2006-04-12 02:01:49 0000</bug_when>
            <thetext>however it compiles and installes flawlessy, apply to portage and close :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>halcy0n@gentoo.org</who>
            <bug_when>2006-04-13 17:07:40 0000</bug_when>
            <thetext>Fixed, thanks for reporting.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>84243</attachid>
            <date>2006-04-08 18:25 0000</date>
            <desc>gcc-4.1 patch</desc>
            <filename>libodbc++-0.2.3-gcc41.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtdXIgbGlib2RiYysrLTAuMi4zLW9yaWcvaW5jbHVkZS9vZGJjKysvZHJpdmVybWFuYWdl
ci5oIGxpYm9kYmMrKy0wLjIuMy9pbmNsdWRlL29kYmMrKy9kcml2ZXJtYW5hZ2VyLmgKLS0tIGxp
Ym9kYmMrKy0wLjIuMy1vcmlnL2luY2x1ZGUvb2RiYysrL2RyaXZlcm1hbmFnZXIuaAkyMDA2LTA0
LTA4IDAwOjU0OjE5LjAwMDAwMDAwMCAtMDQwMAorKysgbGlib2RiYysrLTAuMi4zL2luY2x1ZGUv
b2RiYysrL2RyaXZlcm1hbmFnZXIuaAkyMDA2LTA0LTA4IDAwOjU2OjE1LjAwMDAwMDAwMCAtMDQw
MApAQCAtMjYsNiArMjYsOCBAQAogCiAjaW5jbHVkZSA8b2RiYysrL3R5cGVzLmg+CiAKKyNpbmNs
dWRlIDxvZGJjKysvZXJyb3JoYW5kbGVyLmg+CisKIC8qKiBUaGUgbmFtZXNwYWNlIHdoZXJlIGFs
bCA8Yj5saWJvZGJjKys8L2I+IGNsYXNzZXMgcmVzaWRlICovCiBuYW1lc3BhY2Ugb2RiYyB7CiAK
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>84244</attachid>
            <date>2006-04-08 18:26 0000</date>
            <desc>doxygen patch</desc>
            <filename>libodbc++-0.2.3-doxygen.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtdXIgbGlib2RiYysrLTAuMi4zLW9yaWcvZG9jL3Byb2dyZWYvRG94eWZpbGUgbGlib2Ri
YysrLTAuMi4zL2RvYy9wcm9ncmVmL0RveHlmaWxlCi0tLSBsaWJvZGJjKystMC4yLjMtb3JpZy9k
b2MvcHJvZ3JlZi9Eb3h5ZmlsZQkyMDA2LTA0LTA4IDAxOjAzOjIwLjAwMDAwMDAwMCAtMDQwMAor
KysgbGlib2RiYysrLTAuMi4zL2RvYy9wcm9ncmVmL0RveHlmaWxlCTIwMDYtMDQtMDggMDE6MDY6
MDMuMDAwMDAwMDAwIC0wNDAwCkBAIC0yNTYsNyArMjU2LDcgQEAKICMgZWFjaCBnZW5lcmF0ZWQg
SFRNTCBwYWdlLiBJZiBpdCBpcyBsZWZ0IGJsYW5rIGRveHlnZW4gd2lsbCBnZW5lcmF0ZSBhIAog
IyBzdGFuZGFyZCBmb290ZXIuCiAKLUhUTUxfRk9PVEVSICAgICAgICAgID0gZm9vdGVyCitIVE1M
X0ZPT1RFUiAgICAgICAgICA9CiAKICMgVGhlIEhUTUxfU1RZTEVTSEVFVCB0YWcgY2FuIGJlIHVz
ZWQgdG8gc3BlY2lmeSBhIHVzZXIgZGVmaW5lZCBjYXNjYWRpbmcKICMgc3R5bGUgc2hlZXQgdGhh
dCBpcyB1c2VkIGJ5IGVhY2ggSFRNTCBwYWdlLiBJdCBjYW4gYmUgdXNlZCB0byAK
</data>        

          </attachment>
    </bug>

</bugzilla>