Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49590 - mysql++ ebuild is broken with gcc 3.3.3 20040412 (Gentoo Linux 3.3.3-r3, ssp-3.3-7, pie-8.5.3)
Summary: mysql++ ebuild is broken with gcc 3.3.3 20040412 (Gentoo Linux 3.3.3-r3, ssp-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: Robin Johnson
URL: http://www.mysql.org/downloads/api-my...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-01 05:10 UTC by Nickolay Kolchin-Semyonov
Modified: 2004-05-13 12:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix for the mysql++ 1.7.9 (t.patch,1.02 KB, patch)
2004-05-01 05:12 UTC, Nickolay Kolchin-Semyonov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nickolay Kolchin-Semyonov 2004-05-01 05:10:41 UTC
The following patch fixes the problem

*** mysql++-1.7.9/sqlplusint/type_info1.hh      Sat May 19 20:44:48 2001
--- mysql++-1.7.9-patched/sqlplusint/type_info1.hh      Sat May  1 16:08:18 2004
***************
*** 28,34 ****
    const bool           _default;
    mysql_ti_sql_type_info (const mysql_ti_sql_type_info &b);           // can't do
    mysql_ti_sql_type_info& operator=(const mysql_ti_sql_type_info &b); //  " "
!   mysql_ti_sql_type_info () {}
    // OEP - didn't init _base_type and _default mysql_ti_sql_type_info () {}
    // all private, only mysql_type_info can
    // create because there *must* be only one copy
--- 28,34 ----
    const bool           _default;
    mysql_ti_sql_type_info (const mysql_ti_sql_type_info &b);           // can't do
    mysql_ti_sql_type_info& operator=(const mysql_ti_sql_type_info &b); //  " "
!   mysql_ti_sql_type_info : _base_type(0), _default(false) () {}
    // OEP - didn't init _base_type and _default mysql_ti_sql_type_info () {}
    // all private, only mysql_type_info can
    // create because there *must* be only one copy
Comment 1 Nickolay Kolchin-Semyonov 2004-05-01 05:12:02 UTC
Created attachment 30442 [details, diff]
fix for the mysql++ 1.7.9
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-05-03 22:12:36 UTC
fixed in cvs.
Comment 3 Howard B. Golden 2004-05-09 17:40:55 UTC
See bug #50442. I believe the patch is incorrect. I believe that the line:

  mysql_ti_sql_type_info : _base_type(0), _default(false) () {} 

should be:

  mysql_ti_sql_type_info() : _base_type(0), _default(false) {} 
Comment 4 Kai Ruhnau 2004-05-13 12:13:51 UTC
Yes, you are right, the patch should be

*** mysql++-1.7.9/sqlplusint/type_info1.hh  Sat May 19 20:44:48 2001
--- mysql++-1.7.9-patched/sqlplusint/type_info1.hh  Sat May  1 16:08:18 2004
***************
*** 28,34 ****
    const bool           _default;
    mysql_ti_sql_type_info (const mysql_ti_sql_type_info &b);           // can't do
    mysql_ti_sql_type_info& operator=(const mysql_ti_sql_type_info &b); //  "    "
!   mysql_ti_sql_type_info () {}
    // OEP - didn't init _base_type and _default mysql_ti_sql_type_info () {}
    // all private, only mysql_type_info can
    // create because there *must* be only one copy
--- 28,34 ----
    const bool           _default;
    mysql_ti_sql_type_info (const mysql_ti_sql_type_info &b);           // can't do
    mysql_ti_sql_type_info& operator=(const mysql_ti_sql_type_info &b); //  "    "
!   mysql_ti_sql_type_info () : _base_type(0), _default(false) {}
    // OEP - didn't init _base_type and _default mysql_ti_sql_type_info () {}
    // all private, only mysql_type_info can
    // create because there *must* be only one copy