List:MySQL++« Previous MessageNext Message »
From:Andrej van der Zee Date:March 23 2009 1:28am
Subject:-fno-rtti
View as plain text  
Hi,

Is there any chance in compiling mysql++ with -fno-rtti? I am using mysql++ in another
project that uses -fno-rtti to decrease code-size. I get the errors below.

Thank you,
Andrej


In file included from /usr/local/include/mysql++/sql_buffer.h:32,
                 from /usr/local/include/mysql++/stadapter.h:35,
                 from /usr/local/include/mysql++/qparms.h:35,
                 from /usr/local/include/mysql++/query.h:34,
                 from /usr/local/include/mysql++/mysql++.h:58,
                 from sql_parse.cc:16:
/usr/local/include/mysql++/type_info.h: In member function ‘const unsigned
char& mysqlpp::mysql_ti_sql_type_info_lookup::operator[](const std::type_info&)
const’:
/usr/local/include/mysql++/type_info.h:134: error: exception handling disabled, use
-fexceptions to enable
In file included from /usr/local/include/mysql++/row.h:33,
                 from /usr/local/include/mysql++/result.h:40,
                 from /usr/local/include/mysql++/query.h:36,
                 from /usr/local/include/mysql++/mysql++.h:58,
                 from sql_parse.cc:16:
/usr/local/include/mysql++/mystring.h: In member function ‘Type
mysqlpp::String::conv(Type) const’:
/usr/local/include/mysql++/mystring.h:304: error: cannot use typeid with -fno-rtti
/usr/local/include/mysql++/mystring.h: In member function ‘Type
mysqlpp::String::do_conv(const char*) const’:
/usr/local/include/mysql++/mystring.h:623: error: cannot use typeid with -fno-rtti
/usr/local/include/mysql++/mystring.h:623: error: cannot use typeid with -fno-rtti
/usr/local/include/mysql++/mystring.h:624: error: cannot use typeid with -fno-rtti
/usr/local/include/mysql++/mystring.h:624: error: cannot use typeid with -fno-rtti




      
Thread
-fno-rttiAndrej van der Zee23 Mar
  • Re: -fno-rttiWarren Young23 Mar