Bug #1108 compiler errors
Submitted: 20 Aug 2003 15:50 Modified: 21 Aug 2003 5:19
Reporter: Jørgen Hovland Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL++ Severity:S1 (Critical)
Version:1.7.9 OS:Linux (Linux)
Assigned to: CPU Architecture:Any

[20 Aug 2003 15:50] Jørgen Hovland
Description:
I did a ./configure & make, but I get a lot of compiler errors.
Mysql4 is currently installed. Using Gcc 3.2

# make

In file included from const_string2.hh:2,
                 from const_string3.hh:2,
                 from coldata.cc:2:
const_string1.hh: In member function `const char& const_string::at(unsigned
   int) const':
const_string1.hh:50: `out_of_range' undeclared (first use this function)
const_string1.hh:50: (Each undeclared identifier is reported only once for each
   function it appears in.)
const_string1.hh: At global scope:
const_string1.hh:70: syntax error before `&' token
In file included from coldata1.hh:7,
                 from coldata2.hh:5,
                 from coldata3.hh:12,
                 from coldata4.hh:6,
                 from coldata.cc:3:
exceptions.hh:65: parse error before `er'
exceptions.hh:65: missing ';' before right brace
exceptions.hh:66: ISO C++ forbids defining types within return type
exceptions.hh:66: syntax error before `;' token
exceptions.hh:73: ISO C++ forbids declaration of `string' with no type
exceptions.hh:73: parse error before `;' token
exceptions.hh: In constructor `MysqlBadConversion::MysqlBadConversion(const
   char*, const char*, unsigned int, unsigned int)':
exceptions.hh:76: class `MysqlBadConversion' does not have any field named `
   data'
In file included from coldata1.hh:8,
                 from coldata2.hh:5,
                 from coldata3.hh:12,
                 from coldata4.hh:6,
                 from coldata.cc:3:
type_info1.hh: At global scope:
type_info1.hh:22: friend declaration requires class-key, i.e. `friend struct
   mysql_type_info'
type_info1.hh:23: friend declaration requires class-key, i.e. `friend struct
   mysql_ti_sql_type_info_lookup'
type_info1.hh:26: ISO C++ forbids declaration of `type_info' with no type
type_info1.hh:26: parse error before `*' token
type_info1.hh:36: parse error before `&' token
type_info1.hh:38: missing ';' before right brace
type_info1.hh:39: parse error before `}' token
type_info1.hh:42: parse error before `*' token
type_info1.hh: In member function `bool type_info_cmp::operator()(...) const':
type_info1.hh:43: `lhs' undeclared (first use this function)
type_info1.hh:43: `rhs' undeclared (first use this function)
type_info1.hh: At global scope:
type_info1.hh:48: friend declaration requires class-key, i.e. `friend struct
   mysql_type_info'
type_info1.hh:52: ISO C++ forbids declaration of `type name' with no type
type_info1.hh:52: parse error before `*' token
type_info1.hh:56: parse error before `&' token
type_info1.hh:56: `const unsigned char&
   mysql_ti_sql_type_info_lookup::operator[](...)' must take exactly one
   argument
type_info1.hh: In member function `const unsigned char&
   mysql_ti_sql_type_info_lookup::operator[](...) const':
type_info1.hh:57: `_map' undeclared (first use this function)
type_info1.hh:57: `ti' undeclared (first use this function)
type_info1.hh: At global scope:
type_info1.hh:97: parse error before `&' token
type_info1.hh:99: ISO C++ forbids defining types within return type
type_info1.hh:99: syntax error before `&' token
type_info1.hh:102: `mysql_type_info& operator=(const mysql_type_info&)' must be
   a nonstatic member function
type_info1.hh:102: `mysql_type_info& operator=(const mysql_type_info&)' must
   take exactly two arguments
type_info1.hh: In function `mysql_type_info& operator=(const
   mysql_type_info&)':
type_info1.hh:102: `num' undeclared (first use this function)
type_info1.hh:83: `unsigned char mysql_type_info::num' is private
type_info1.hh:102: within this context
type_info1.hh:102: invalid use of `this' in non-member function
type_info1.hh: At global scope:
type_info1.hh:104: parse error before `&' token
type_info1.hh:105: `mysql_type_info& operator=(...)' must be a nonstatic member
   function
type_info1.hh:105: `mysql_type_info& operator=(...)' must take exactly two
   arguments
type_info1.hh: In function `mysql_type_info& operator=(...)':
type_info1.hh:105: `lookups' undeclared (first use this function)
type_info1.hh:105: `t' undeclared (first use this function)
type_info1.hh:105: invalid use of `this' in non-member function
type_info1.hh: At global scope:
type_info1.hh:107: non-member function `const char* name()' cannot have `const'
   method qualifier
type_info1.hh:111: non-member function `const char* sql_name()' cannot have `
   const' method qualifier
type_info1.hh:113: syntax error before `&' token
type_info1.hh:114: non-member function `const unsigned int length()' cannot
   have `const' method qualifier
type_info1.hh:115: non-member function `const unsigned int max_length()' cannot
   have `const' method qualifier
type_info1.hh:117: non-member function `const mysql_type_info base_type()'
   cannot have `const' method qualifier
type_info1.hh:120: non-member function `int id()' cannot have `const' method
   qualifier
type_info1.hh:124: non-member function `bool quote_q()' cannot have `const'
   method qualifier
type_info1.hh:126: non-member function `bool escape_q()' cannot have `const'
   method qualifier
type_info1.hh: In function `bool before(mysql_type_info&)':
type_info1.hh:83: `unsigned char mysql_type_info::num' is private
type_info1.hh:129: within this context
type_info1.hh: At global scope:
type_info1.hh:132: parse error before `}' token
type_info1.hh:137: no `const char* mysql_type_info::name() const' member
   function declared in class `mysql_type_info'
type_info1.hh: In member function `const char* mysql_type_info::name() const':
type_info1.hh:138: `class mysql_type_info' has no member named `deref'
type_info1.hh: At global scope:
type_info1.hh:140: no `const char* mysql_type_info::sql_name() const' member
   function declared in class `mysql_type_info'
type_info1.hh:143: no `const unsigned int mysql_type_info::length() const'
   member function declared in class `mysql_type_info'
type_info1.hh:146: no `const unsigned int mysql_type_info::max_length() const'
   member function declared in class `mysql_type_info'
type_info1.hh:149: syntax error before `&' token
type_info1.hh:153: no `const mysql_type_info mysql_type_info::base_type() const
   ' member function declared in class `mysql_type_info'
type_info1.hh: In member function `const mysql_type_info
   mysql_type_info::base_type() const':
type_info1.hh:154: `class mysql_type_info' has no member named `deref'
type_info1.hh: In constructor
   `mysql_type_info::mysql_type_info(enum_field_types, bool, bool)':
type_info1.hh:159: `class mysql_type_info' has no member named `type'
type_info1.hh: In constructor `mysql_type_info::mysql_type_info(const
   MYSQL_FIELD&)':
type_info1.hh:163: `class mysql_type_info' has no member named `type'
type_info1.hh: In function `bool operator==(const mysql_type_info&, const
   mysql_type_info&)':
type_info1.hh:168: no matching function for call to `mysql_type_info::id()
   const'
type_info1.hh:168: no matching function for call to `mysql_type_info::id()
   const'
type_info1.hh: In function `bool operator!=(const mysql_type_info&, const
   mysql_type_info&)':
type_info1.hh:172: no matching function for call to `mysql_type_info::id()
   const'
type_info1.hh:172: no matching function for call to `mysql_type_info::id()
   const'
type_info1.hh: At global scope:
type_info1.hh:175: parse error before `&' token
type_info1.hh:175: `bool operator==(...)' must have an argument of class or
   enumerated type
type_info1.hh:175: `bool operator==(...)' must take exactly two arguments
type_info1.hh: In function `bool operator==(...)':
type_info1.hh:176: `a' undeclared (first use this function)
type_info1.hh:176: `b' undeclared (first use this function)
type_info1.hh: At global scope:
type_info1.hh:179: parse error before `&' token
type_info1.hh:179: `bool operator!=(...)' must have an argument of class or
   enumerated type
type_info1.hh:179: `bool operator!=(...)' must take exactly two arguments
type_info1.hh:183: parse error before `&' token
type_info1.hh:183: `bool operator==(...)' must have an argument of class or
   enumerated type
type_info1.hh:183: `bool operator==(...)' must take exactly two arguments
type_info1.hh: In function `bool operator==(...)':
type_info1.hh:183: redefinition of `bool operator==(...)'
type_info1.hh:175: `bool operator==(...)' previously defined here
type_info1.hh:183: redefinition of `bool operator==(...)'
type_info1.hh:175: `bool operator==(...)' previously defined here
type_info1.hh: At global scope:
type_info1.hh:187: parse error before `&' token
type_info1.hh:187: `bool operator!=(...)' must have an argument of class or
   enumerated type
type_info1.hh:187: `bool operator!=(...)' must take exactly two arguments
type_info1.hh: In function `bool operator!=(...)':
type_info1.hh:187: redefinition of `bool operator!=(...)'
type_info1.hh:179: `bool operator!=(...)' previously defined here
type_info1.hh:187: redefinition of `bool operator!=(...)'
type_info1.hh:179: `bool operator!=(...)' previously defined here
In file included from /usr/include/c++/3.2/backward/ostream.h:31,
                 from null1.hh:4,
                 from coldata1.hh:10,
                 from coldata2.hh:5,
                 from coldata3.hh:12,
                 from coldata4.hh:6,
                 from coldata.cc:3:
/usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Plea
se consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X
.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
In file included from coldata2.hh:5,
                 from coldata3.hh:12,
                 from coldata4.hh:6,
                 from coldata.cc:3:
coldata1.hh: At global scope:
coldata1.hh:43: 'string' is used as a type, but is not defined as a type.
coldata1.hh:75: ISO C++ forbids declaration of `string' with no type
coldata1.hh:75: `string' declared as an `inline' field
coldata1.hh:75: parse error before `&' token
coldata1.hh:76: semicolon missing after declaration of `mysql_ColData<Str>'
coldata1.hh: In constructor `mysql_ColData<Str>::mysql_ColData(const char*,
   mysql_type_info, bool)':
coldata1.hh:50: parse error before `operator'
coldata1.hh: At global scope:
coldata1.hh:76: ISO C++ forbids defining types within return type
coldata1.hh:76: operator `const cchar*' declared to return `mysql_ColData<Str>'
coldata1.hh:76: non-member function `operator const cchar*()' cannot have `
   const' method qualifier
coldata1.hh:76: `operator const cchar*()' must be a nonstatic member function
coldata1.hh:76: `operator const cchar*()' must take exactly one argument
coldata1.hh:77: non-member function `operator signed char()' cannot have `const
   ' method qualifier
coldata1.hh:77: `operator signed char()' must be a nonstatic member function
coldata1.hh:77: `operator signed char()' must take exactly one argument
coldata1.hh: In function `operator signed char()':
coldata1.hh:77: `conv' undeclared (first use this function)
coldata1.hh: At global scope:
coldata1.hh:78: non-member function `operator unsigned char()' cannot have `
   const' method qualifier
coldata1.hh:78: `operator unsigned char()' must be a nonstatic member function
coldata1.hh:78: `operator unsigned char()' must take exactly one argument
coldata1.hh:79: non-member function `operator int()' cannot have `const' method
   qualifier
coldata1.hh:79: `operator int()' must be a nonstatic member function
coldata1.hh:79: `operator int()' must take exactly one argument
coldata1.hh:80: non-member function `operator unsigned int()' cannot have `
   const' method qualifier
coldata1.hh:80: `operator unsigned int()' must be a nonstatic member function
coldata1.hh:80: `operator unsigned int()' must take exactly one argument
coldata1.hh:81: non-member function `operator short int()' cannot have `const'
   method qualifier
coldata1.hh:81: `operator short int()' must be a nonstatic member function
coldata1.hh:81: `operator short int()' must take exactly one argument
coldata1.hh:82: non-member function `operator short unsigned int()' cannot have
   `const' method qualifier
coldata1.hh:82: `operator short unsigned int()' must be a nonstatic member
   function
coldata1.hh:82: `operator short unsigned int()' must take exactly one argument
coldata1.hh:83: non-member function `operator long int()' cannot have `const'
   method qualifier
coldata1.hh:83: `operator long int()' must be a nonstatic member function
coldata1.hh:83: `operator long int()' must take exactly one argument
coldata1.hh:84: non-member function `operator long unsigned int()' cannot have
   `const' method qualifier
coldata1.hh:84: `operator long unsigned int()' must be a nonstatic member
   function
coldata1.hh:84: `operator long unsigned int()' must take exactly one argument
coldata1.hh:86: non-member function `operator longlong()' cannot have `const'
   method qualifier
coldata1.hh:86: `operator longlong()' must be a nonstatic member function
coldata1.hh:86: `operator longlong()' must take exactly one argument
coldata1.hh:87: non-member function `operator ulonglong()' cannot have `const'
   method qualifier
coldata1.hh:87: `operator ulonglong()' must be a nonstatic member function
coldata1.hh:87: `operator ulonglong()' must take exactly one argument
coldata1.hh:89: non-member function `operator float()' cannot have `const'
   method qualifier
coldata1.hh:89: `operator float()' must be a nonstatic member function
coldata1.hh:89: `operator float()' must take exactly one argument
coldata1.hh:90: non-member function `operator double()' cannot have `const'
   method qualifier
coldata1.hh:90: `operator double()' must be a nonstatic member function
coldata1.hh:90: `operator double()' must take exactly one argument
coldata1.hh:92: non-member function `operator MysqlNull<T, B>()' cannot have `
   const' method qualifier
coldata1.hh:92: `operator MysqlNull<T, B>()' must be a nonstatic member
   function
coldata1.hh:92: `operator MysqlNull<T, B>()' must take exactly one argument
coldata1.hh:93: parse error before `}' token
coldata1.hh:96: non-template type `mysql_ColData' used as a template
coldata1.hh:96: ISO C++ forbids declaration of `MysqlColData' with no type
coldata1.hh:98: `string' was not declared in this scope
coldata1.hh:98: non-template type `mysql_ColData' used as a template
coldata1.hh:98: ISO C++ forbids declaration of `MysqlMutableColData' with no
   type
In file included from coldata3.hh:12,
                 from coldata4.hh:6,
                 from coldata.cc:3:
coldata2.hh:32: non-template type `mysql_ColData' used as a template
coldata2.hh:32: ISO C++ forbids declaration of `x' with no type
coldata2.hh:32: `float operator+(int, float)' must have an argument of class or
   enumerated type
coldata2.hh:32: non-template type `mysql_ColData' used as a template
coldata2.hh:32: ISO C++ forbids declaration of `y' with no type
coldata2.hh:32: `float operator+(float, int)' must have an argument of class or
   enumerated type
coldata2.hh:32: non-template type `mysql_ColData' used as a template
coldata2.hh:32: ISO C++ forbids declaration of `x' with no type
coldata2.hh:32: `float operator-(int, float)' must have an argument of class or
   enumerated type
coldata2.hh:32: non-template type `mysql_ColData' used as a template
coldata2.hh:32: ISO C++ forbids declaration of `y' with no type
coldata2.hh:32: `float operator-(float, int)' must have an argument of class or
   enumerated type
coldata2.hh:32: non-template type `mysql_ColData' used as a template
coldata2.hh:32: ISO C++ forbids declaration of `x' with no type
coldata2.hh:32: `float operator*(int, float)' must have an argument of class or
   enumerated type
coldata2.hh:32: non-template type `mysql_ColData' used as a template
coldata2.hh:32: ISO C++ forbids declaration of `y' with no type
coldata2.hh:32: `float operator*(float, int)' must have an argument of class or
   enumerated type
coldata2.hh:32: non-template type `mysql_ColData' used as a template

... snip ...

coldata2.hh:43: non-template type `mysql_ColData' used as a template
coldata2.hh:43: ISO C++ forbids declaration of `x' with no type
coldata2.hh:43: `long unsigned int operator&(int, long unsigned int)' must have
   an argument of class or enumerated type
coldata2.hh:43: non-template type `mysql_ColData' used as a template
coldata2.hh:43: ISO C++ forbids declaration of `y' with no type
coldata2.hh:43: `long unsigned int operator&(long unsigned int, int)' must have
   an argument of class or enumerated type
coldata2.hh:43: non-template type `mysql_ColData' used as a template
coldata2.hh:43: ISO C++ forbids declaration of `x' with no type
coldata2.hh:43: `long unsigned int operator^(int, long unsigned int)' must have
   an argument of class or enumerated type
coldata2.hh:43: non-template type `mysql_ColData' used as a template
coldata2.hh:43: ISO C++ forbids declaration of `y' with no type
coldata2.hh:43: `long unsigned int operator^(long unsigned int, int)' must have
   an argument of class or enumerated type
coldata2.hh:43: non-template type `mysql_ColData' used as a template
coldata2.hh:43: ISO C++ forbids declaration of `x' with no type
coldata2.hh:43: `long unsigned int operator|(int, long unsigned int)' must have
   an argument of class or enumerated type
coldata2.hh:43: non-template type `mysql_ColData' used as a template
coldata2.hh:43: ISO C++ forbids declaration of `y' with no type
coldata2.hh:43: `long unsigned int operator|(long unsigned int, int)' must have
   an argument of class or enumerated type
coldata2.hh:43: non-template type `mysql_ColData' used as a template
coldata2.hh:43: ISO C++ forbids declaration of `x' with no type
coldata2.hh:43: `long unsigned int operator<<(int, long unsigned int)' must
   have an argument of class or enumerated type
coldata2.hh:43: non-template type `mysql_ColData' used as a template
coldata2.hh:43: ISO C++ forbids declaration of `y' with no type
coldata2.hh:43: `long unsigned int operator<<(long unsigned int, int)' must
   have an argument of class or enumerated type
coldata2.hh:43: non-template type `mysql_ColData' used as a template
coldata2.hh:43: ISO C++ forbids declaration of `x' with no type
coldata2.hh:43: `long unsigned int operator>>(int, long unsigned int)' must
   have an argument of class or enumerated type
coldata2.hh:43: non-template type `mysql_ColData' used as a template
coldata2.hh:43: ISO C++ forbids declaration of `y' with no type
coldata2.hh:43: `long unsigned int operator>>(long unsigned int, int)' must
   have an argument of class or enumerated type
coldata2.hh:45: non-template type `mysql_ColData' used as a template
coldata2.hh:45: ISO C++ forbids declaration of `x' with no type
coldata2.hh:45: `longlong operator+(int, long long int)' must have an argument
   of class or enumerated type
coldata2.hh:45: non-template type `mysql_ColData' used as a template
coldata2.hh:45: ISO C++ forbids declaration of `y' with no type
coldata2.hh:45: `longlong operator+(long long int, int)' must have an argument
   of class or enumerated type
coldata2.hh:45: non-template type `mysql_ColData' used as a template
coldata2.hh:45: ISO C++ forbids declaration of `x' with no type
coldata2.hh:45: `longlong operator-(int, long long int)' must have an argument
   of class or enumerated type
coldata2.hh:45: non-template type `mysql_ColData' used as a template
coldata2.hh:45: ISO C++ forbids declaration of `y' with no type
coldata2.hh:45: `longlong operator-(long long int, int)' must have an argument
   of class or enumerated type
coldata2.hh:45: non-template type `mysql_ColData' used as a template
coldata2.hh:45: ISO C++ forbids declaration of `x' with no type
coldata2.hh:45: `longlong operator*(int, long long int)' must have an argument
   of class or enumerated type
coldata2.hh:45: non-template type `mysql_ColData' used as a template
coldata2.hh:45: ISO C++ forbids declaration of `y' with no type
coldata2.hh:45: `longlong operator*(long long int, int)' must have an argument
   of class or enumerated type
coldata2.hh:45: non-template type `mysql_ColData' used as a template
coldata2.hh:45: ISO C++ forbids declaration of `x' with no type
coldata2.hh:45: `longlong operator/(int, long long int)' must have an argument
   of class or enumerated type
coldata2.hh:45: non-template type `mysql_ColData' used as a template
coldata2.hh:45: ISO C++ forbids declaration of `y' with no type
coldata2.hh:45: `longlong operator/(long long int, int)' must have an argument
   of class or enumerated type
coldata2.hh:45: non-template type `mysql_ColData' used as a template
coldata2.hh:45: ISO C++ forbids declaration of `x' with no type
coldata2.hh:45: `longlong operator%(int, long long int)' must have an argument
   of class or enumerated type
coldata2.hh:45: non-template type `mysql_ColData' used as a template
coldata2.hh:45: ISO C++ forbids declaration of `y' with no type
coldata2.hh:45: `longlong operator%(long long int, int)' must have an argument
   of class or enumerated type
coldata2.hh:45: non-template type `mysql_ColData' used as a template
coldata2.hh:45: ISO C++ forbids declaration of `x' with no type
coldata2.hh:45: `longlong operator&(int, long long int)' must have an argument
   of class or enumerated type
coldata2.hh:45: non-template type `mysql_ColData' used as a template
coldata2.hh:45: ISO C++ forbids declaration of `y' with no type
coldata2.hh:45: `longlong operator&(long long int, int)' must have an argument
   of class or enumerated type
coldata2.hh:45: non-template type `mysql_ColData' used as a template
coldata2.hh:45: ISO C++ forbids declaration of `x' with no type
coldata2.hh:45: `longlong operator^(int, long long int)' must have an argument
   of class or enumerated type
coldata2.hh:45: non-template type `mysql_ColData' used as a template
coldata2.hh:45: ISO C++ forbids declaration of `y' with no type
coldata2.hh:45: `longlong operator^(long long int, int)' must have an argument
   of class or enumerated type
coldata2.hh:45: non-template type `mysql_ColData' used as a template
coldata2.hh:45: ISO C++ forbids declaration of `x' with no type
coldata2.hh:45: `longlong operator|(int, long long int)' must have an argument
   of class or enumerated type
coldata2.hh:45: non-template type `mysql_ColData' used as a template
coldata2.hh:45: ISO C++ forbids declaration of `y' with no type
coldata2.hh:45: `longlong operator|(long long int, int)' must have an argument
   of class or enumerated type
coldata2.hh:45: non-template type `mysql_ColData' used as a template
coldata2.hh:45: ISO C++ forbids declaration of `x' with no type
coldata2.hh:45: `longlong operator<<(int, long long int)' must have an argument
   of class or enumerated type
coldata2.hh:45: non-template type `mysql_ColData' used as a template
coldata2.hh:45: ISO C++ forbids declaration of `y' with no type
coldata2.hh:45: `longlong operator<<(long long int, int)' must have an argument
   of class or enumerated type
coldata2.hh:45: non-template type `mysql_ColData' used as a template
coldata2.hh:45: ISO C++ forbids declaration of `x' with no type
coldata2.hh:45: `longlong operator>>(int, long long int)' must have an argument
   of class or enumerated type
coldata2.hh:45: non-template type `mysql_ColData' used as a template
coldata2.hh:45: ISO C++ forbids declaration of `y' with no type
coldata2.hh:45: `longlong operator>>(long long int, int)' must have an argument
   of class or enumerated type
coldata2.hh:46: non-template type `mysql_ColData' used as a template
coldata2.hh:46: ISO C++ forbids declaration of `x' with no type
coldata2.hh:46: `ulonglong operator+(int, long long unsigned int)' must have an
   argument of class or enumerated type
coldata2.hh:46: non-template type `mysql_ColData' used as a template
coldata2.hh:46: ISO C++ forbids declaration of `y' with no type
coldata2.hh:46: `ulonglong operator+(long long unsigned int, int)' must have an
   argument of class or enumerated type
coldata2.hh:46: non-template type `mysql_ColData' used as a template
coldata2.hh:46: ISO C++ forbids declaration of `x' with no type
coldata2.hh:46: `ulonglong operator-(int, long long unsigned int)' must have an
   argument of class or enumerated type
coldata2.hh:46: non-template type `mysql_ColData' used as a template
coldata2.hh:46: ISO C++ forbids declaration of `y' with no type
coldata2.hh:46: `ulonglong operator-(long long unsigned int, int)' must have an
   argument of class or enumerated type
coldata2.hh:46: non-template type `mysql_ColData' used as a template
coldata2.hh:46: ISO C++ forbids declaration of `x' with no type
coldata2.hh:46: `ulonglong operator*(int, long long unsigned int)' must have an
   argument of class or enumerated type
coldata2.hh:46: non-template type `mysql_ColData' used as a template
coldata2.hh:46: ISO C++ forbids declaration of `y' with no type
coldata2.hh:46: `ulonglong operator*(long long unsigned int, int)' must have an
   argument of class or enumerated type
coldata2.hh:46: non-template type `mysql_ColData' used as a template
coldata2.hh:46: ISO C++ forbids declaration of `x' with no type
coldata2.hh:46: `ulonglong operator/(int, long long unsigned int)' must have an
   argument of class or enumerated type
coldata2.hh:46: non-template type `mysql_ColData' used as a template
coldata2.hh:46: ISO C++ forbids declaration of `y' with no type
coldata2.hh:46: `ulonglong operator/(long long unsigned int, int)' must have an
   argument of class or enumerated type
coldata2.hh:46: non-template type `mysql_ColData' used as a template
coldata2.hh:46: ISO C++ forbids declaration of `x' with no type
coldata2.hh:46: `ulonglong operator%(int, long long unsigned int)' must have an
   argument of class or enumerated type
coldata2.hh:46: non-template type `mysql_ColData' used as a template
coldata2.hh:46: ISO C++ forbids declaration of `y' with no type
coldata2.hh:46: `ulonglong operator%(long long unsigned int, int)' must have an
   argument of class or enumerated type
coldata2.hh:46: non-template type `mysql_ColData' used as a template
coldata2.hh:46: ISO C++ forbids declaration of `x' with no type
coldata2.hh:46: `ulonglong operator&(int, long long unsigned int)' must have an
   argument of class or enumerated type
coldata2.hh:46: non-template type `mysql_ColData' used as a template
coldata2.hh:46: ISO C++ forbids declaration of `y' with no type
coldata2.hh:46: `ulonglong operator&(long long unsigned int, int)' must have an
   argument of class or enumerated type
coldata2.hh:46: non-template type `mysql_ColData' used as a template
coldata2.hh:46: ISO C++ forbids declaration of `x' with no type
coldata2.hh:46: `ulonglong operator^(int, long long unsigned int)' must have an
   argument of class or enumerated type
coldata2.hh:46: non-template type `mysql_ColData' used as a template
coldata2.hh:46: ISO C++ forbids declaration of `y' with no type
coldata2.hh:46: `ulonglong operator^(long long unsigned int, int)' must have an
   argument of class or enumerated type
coldata2.hh:46: non-template type `mysql_ColData' used as a template
coldata2.hh:46: ISO C++ forbids declaration of `x' with no type
coldata2.hh:46: `ulonglong operator|(int, long long unsigned int)' must have an
   argument of class or enumerated type
coldata2.hh:46: non-template type `mysql_ColData' used as a template
coldata2.hh:46: ISO C++ forbids declaration of `y' with no type
coldata2.hh:46: `ulonglong operator|(long long unsigned int, int)' must have an
   argument of class or enumerated type
coldata2.hh:46: non-template type `mysql_ColData' used as a template
coldata2.hh:46: ISO C++ forbids declaration of `x' with no type
coldata2.hh:46: `ulonglong operator<<(int, long long unsigned int)' must have
   an argument of class or enumerated type
coldata2.hh:46: non-template type `mysql_ColData' used as a template
coldata2.hh:46: ISO C++ forbids declaration of `y' with no type
coldata2.hh:46: `ulonglong operator<<(long long unsigned int, int)' must have
   an argument of class or enumerated type
coldata2.hh:46: non-template type `mysql_ColData' used as a template
coldata2.hh:46: ISO C++ forbids declaration of `x' with no type
coldata2.hh:46: `ulonglong operator>>(int, long long unsigned int)' must have
   an argument of class or enumerated type
coldata2.hh:46: non-template type `mysql_ColData' used as a template
coldata2.hh:46: ISO C++ forbids declaration of `y' with no type
coldata2.hh:46: `ulonglong operator>>(long long unsigned int, int)' must have
   an argument of class or enumerated type
In file included from coldata4.hh:6,
                 from coldata.cc:3:
coldata3.hh:17: non-template type `mysql_ColData' used as a template
coldata3.hh:17: non-member function `operator MysqlNull<T, B>()' cannot have `
   const' method qualifier
coldata3.hh:17: `operator MysqlNull<T, B>()' must be a nonstatic member
   function
coldata3.hh:17: `operator MysqlNull<T, B>()' must take exactly one argument
coldata3.hh:17: too many template parameter lists in declaration of `operator
   MysqlNull<T, B>()'
coldata3.hh:17: syntax error before `{' token
In file included from coldata4.hh:8,
                 from coldata.cc:3:
string_util.hh:6: `string' was not declared in this scope
string_util.hh:6: `s' was not declared in this scope
string_util.hh:6: warning: `strip' initialized and declared `extern'
string_util.hh:6: variable or field `strip' declared void
string_util.hh:8: `string' was not declared in this scope
string_util.hh:8: `s' was not declared in this scope
string_util.hh:8: warning: `escape_string' initialized and declared `extern'
string_util.hh:8: variable or field `escape_string' declared void
string_util.hh:10: `string' was not declared in this scope
string_util.hh:10: `s' was not declared in this scope
string_util.hh:10: variable or field `str_to_upr' declared void
string_util.hh:10: `str_to_upr' declared as an `inline' variable
string_util.hh:10: syntax error before `{' token
string_util.hh:11: `s' was not declared in this scope
string_util.hh:11: parse error before `;' token
string_util.hh:11: syntax error before `++' token
string_util.hh:12: `cnt' was not declared in this scope
string_util.hh:12: ISO C++ forbids declaration of `s' with no type
string_util.hh:12: `c' was not declared in this scope
string_util.hh:12: assignment (not initialization) in declaration
string_util.hh:13: parse error before `}' token
string_util.hh:16: `string' was not declared in this scope
string_util.hh:16: `s' was not declared in this scope
string_util.hh:16: variable or field `str_to_lwr' declared void
string_util.hh:16: `str_to_lwr' declared as an `inline' variable
string_util.hh:16: syntax error before `{' token
string_util.hh:17: `s' was not declared in this scope
string_util.hh:17: parse error before `;' token
string_util.hh:17: syntax error before `++' token
string_util.hh:18: `cnt' was not declared in this scope
string_util.hh:18: ISO C++ forbids declaration of `s' with no type
string_util.hh:18: `c' was not declared in this scope
string_util.hh:18: assignment (not initialization) in declaration
string_util.hh:19: parse error before `}' token
string_util.hh:22: `string' was not declared in this scope
string_util.hh:22: `s' was not declared in this scope
string_util.hh:22: variable or field `strip_all_blanks' declared void
string_util.hh:22: `strip_all_blanks' declared as an `inline' variable
string_util.hh:22: syntax error before `{' token
string_util.hh:23: `s' was not declared in this scope
string_util.hh:23: parse error before `;' token
string_util.hh:23: syntax error before `++' token
string_util.hh:24: syntax error before `--' token
string_util.hh:27: `string' was not declared in this scope
string_util.hh:27: `s' was not declared in this scope
string_util.hh:27: variable or field `strip_all_non_num' declared void
string_util.hh:27: `strip_all_non_num' declared as an `inline' variable
string_util.hh:27: syntax error before `{' token
string_util.hh:28: `s' was not declared in this scope
string_util.hh:28: parse error before `;' token
string_util.hh:28: syntax error before `++' token
string_util.hh:29: syntax error before `--' token
In file included from coldata.cc:3:
coldata4.hh:11: non-template type `mysql_ColData' used as a template
coldata4.hh:11: non-member function `Type conv(Type)' cannot have `const'
   method qualifier
coldata4.hh:11: too many template parameter lists in declaration of `Type
   conv(Type)'
coldata4.hh:11: syntax error before `{' token
coldata4.hh:13: `strbuf' was not declared in this scope
coldata4.hh:13: ISO C++ forbids declaration of `strip_all_blanks' with no type
coldata4.hh:13: redefinition of `int strip_all_blanks'
string_util.hh:22: `int strip_all_blanks' previously defined here
coldata4.hh:14: `strbuf' was not declared in this scope
coldata4.hh:15: `strbuf' was not declared in this scope
coldata4.hh:17: parse error before `=' token
coldata4.hh:20: syntax error before `==' token
coldata4.hh:20: syntax error before `++' token
coldata.cc:5: `string' was not declared in this scope
coldata.cc:5: non-template type `mysql_ColData' used as a template
coldata.cc:5: explicit instantiation of non-template type `<type error>'
coldata.cc:6: non-template type `mysql_ColData' used as a template
coldata.cc:6: explicit instantiation of non-template type `<type error>'
make[2]: *** [coldata.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

How to repeat:
wget "http://www.mysql.com/downloads/download.php?file=Downloads%2Fmysql%2B%2B%2Fmysql%2B%2B-1.7.9.tar.gz&mirror=http%3A%2F%2Fmysql.mirrors.key2network.com%2F"
tar xzvf mysql++-1.7.9.tar.gz
cd mysql++-1.7.9
./configure
make

Suggested fix:
I have no idea
[21 Aug 2003 4:11] MySQL Verification Team
You have to apply the following patches, one after anohter:

* Patch for GCC 3.0
* Patch for GCC 3.2
* If you have 3.2.2, then that patch too .
[21 Aug 2003 4:45] Jørgen Hovland
Sorry, I dont saw that on the download page. 
 
However, I still get compiler errors after using the patches. 
 
connection.cc: In member function `std::string MysqlConnection::info()': 
connection.cc:112: invalid conversion from `const char*' to `char*' 
make[2]: *** [connection.lo] Error 1 
make[2]: Leaving directory `/tmp/mysql++-1.7.9/sqlplusint' 
 
 
just change the char* i into const 
 
std::string Connection::info () { 
  char *i = mysql_info(&mysql); 
  if (!i) 
    return std::string(); 
  else 
    return std::string(i); 
} 
 
 
I also get errors in the example directory, but thats not critical since its just examples 
anyway... 
 
Making all in examples 
make[2]: Entering directory `/tmp/mysql++-1.7.9/examples' 
make[2]: *** No rule to make target `resetdb.@OBJEXT@', needed by 
`resetdb@EXEEXT@'.  Stop. 
make[2]: Leaving directory `/tmp/mysql++-1.7.9/examples'
[21 Aug 2003 5:19] MySQL Verification Team
Thos two changes have to be done manually until a better patch is made.