All pastes #26497 Raw Edit

Mine

public text v1 · immutable
#26497 ·published 2005-10-24 17:33 UTC
rendered paste body
[root@Q931-05 mysql++-1.7.9]# make
make  all-recursive
make[1]: Entering directory `/home/q931/mysql++-1.7.9'
Making all in sqlplusint
make[2]: Entering directory `/home/q931/mysql++-1.7.9/sqlplusint'
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint  -I/usr/include/mysql  -g -O2 -c coldata.cc
rm -f .libs/coldata.lo
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/include/mysql -g -O2 -Wp,-MD,.deps/coldata.pp -c  -fPIC -DPIC coldata.cc -o .libs/coldata.lo
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: error: `out_of_range' undeclared (first use this function)
const_string1.hh:50: error: (Each undeclared identifier is reported only once 
   for each function it appears in.)
const_string1.hh: At global scope:
const_string1.hh:70: error: 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: error: syntax error before `er'
exceptions.hh:65: error: missing ';' before right brace
exceptions.hh:66: error: ISO C++ forbids defining types within return type
exceptions.hh:66: error: syntax error before `;' token
exceptions.hh:73: error: ISO C++ forbids declaration of `string' with no type
exceptions.hh:73: error: syntax error before `;' token
exceptions.hh: In constructor `MysqlBadConversion::MysqlBadConversion(const 
   char*, const char*, unsigned int, unsigned int)':
exceptions.hh:76: error: class `MysqlBadConversion' does not have any field 
   named `data'
exceptions.hh:76: error: uninitialized member 'MysqlBadConversion::string' with 
   'const' type 'const int'
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: error: friend declaration requires class-key, i.e. `friend 
   struct mysql_type_info'
type_info1.hh:23: error: friend declaration requires class-key, i.e. `friend 
   struct mysql_ti_sql_type_info_lookup'
type_info1.hh:26: error: ISO C++ forbids declaration of `type_info' with no 
   type
type_info1.hh:26: error: syntax error before `*' token
type_info1.hh:36: error: syntax error before `&' token
type_info1.hh:38: error: missing ';' before right brace
type_info1.hh: In constructor `mysql_ti_sql_type_info::mysql_ti_sql_type_info()
   ':
type_info1.hh:31: error: uninitialized member '
   mysql_ti_sql_type_info::type_info' with 'const' type 'const int'
type_info1.hh:31: error: uninitialized member '
   mysql_ti_sql_type_info::_base_type' with 'const' type 'const unsigned char'
type_info1.hh:31: error: uninitialized member 'mysql_ti_sql_type_info::_default
   ' with 'const' type 'const bool'
type_info1.hh: At global scope:
type_info1.hh:39: error: syntax error before `}' token
type_info1.hh:42: error: syntax error before `*' token
type_info1.hh: In member function `bool type_info_cmp::operator()(...) const':
type_info1.hh:43: error: `lhs' undeclared (first use this function)
type_info1.hh:43: error: `rhs' undeclared (first use this function)
type_info1.hh: At global scope:
type_info1.hh:48: error: friend declaration requires class-key, i.e. `friend 
   struct mysql_type_info'
type_info1.hh:52: error: ISO C++ forbids declaration of `type name' with no 
   type
type_info1.hh:52: error: syntax error before `*' token
type_info1.hh:56: error: syntax error before `&' token
type_info1.hh:56: error: `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: error: `_map' undeclared (first use this function)
type_info1.hh:57: error: `ti' undeclared (first use this function)
type_info1.hh: At global scope:
type_info1.hh:97: error: syntax error before `&' token
type_info1.hh:99: error: ISO C++ forbids defining types within return type
type_info1.hh:99: error: syntax error before `&' token
type_info1.hh:102: error: `mysql_type_info& operator=(const mysql_type_info&)' 
   must be a nonstatic member function
type_info1.hh:102: error: `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: error: `num' undeclared (first use this function)
type_info1.hh:83: error: `unsigned char mysql_type_info::num' is private
type_info1.hh:102: error: within this context
type_info1.hh:102: error: invalid use of `this' in non-member function
type_info1.hh: At global scope:
type_info1.hh:104: error: syntax error before `&' token
type_info1.hh:105: error: `mysql_type_info& operator=(...)' must be a nonstatic 
   member function
type_info1.hh:105: error: `mysql_type_info& operator=(...)' must take exactly 
   two arguments
type_info1.hh: In function `mysql_type_info& operator=(...)':
type_info1.hh:105: error: `lookups' undeclared (first use this function)
type_info1.hh:105: error: `t' undeclared (first use this function)
type_info1.hh:105: error: invalid use of `this' in non-member function
type_info1.hh: At global scope:
type_info1.hh:107: error: non-member function `const char* name()' cannot have 
   `const' method qualifier
type_info1.hh:111: error: non-member function `const char* sql_name()' cannot 
   have `const' method qualifier
type_info1.hh:113: error: syntax error before `&' token
type_info1.hh:114: error: non-member function `const unsigned int length()' 
   cannot have `const' method qualifier
type_info1.hh:115: error: non-member function `const unsigned int max_length()' 
   cannot have `const' method qualifier
type_info1.hh:117: error: non-member function `const mysql_type_info 
   base_type()' cannot have `const' method qualifier
type_info1.hh:120: error: non-member function `int id()' cannot have `const' 
   method qualifier
type_info1.hh:124: error: non-member function `bool quote_q()' cannot have `
   const' method qualifier
type_info1.hh:126: error: 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: error: `unsigned char mysql_type_info::num' is private
type_info1.hh:129: error: within this context
type_info1.hh: At global scope:
type_info1.hh:132: error: syntax error before `}' token
type_info1.hh:137: error: 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: error: 'const class mysql_ti_sql_type_info' has no member 
   named '_c_type'
type_info1.hh: At global scope:
type_info1.hh:140: error: no `const char* mysql_type_info::sql_name() const' 
   member function declared in class `mysql_type_info'
type_info1.hh:143: error: no `const unsigned int mysql_type_info::length() 
   const' member function declared in class `mysql_type_info'
type_info1.hh:146: error: no `const unsigned int mysql_type_info::max_length() 
   const' member function declared in class `mysql_type_info'
type_info1.hh:149: error: syntax error before `&' token
type_info1.hh:153: error: no `const mysql_type_info 
   mysql_type_info::base_type() const' member function declared in class `
   mysql_type_info'
type_info1.hh:154: confused by earlier errors, bailing out
make[2]: *** [coldata.lo] Error 1
make[2]: Leaving directory `/home/q931/mysql++-1.7.9/sqlplusint'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/q931/mysql++-1.7.9'
make: *** [all-recursive-am] Error 2
[root@Q931-05 mysql++-1.7.9]#