This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Namespace conflict: "Row" vs. "Gtk::TreeModel::Row"


Hello,

I'm currently writing a C++ app with a GTKMM GUI and a MySQL database.
Problem: The MySQL interface (sqlplus.hh) defines a data type "Row".
GTKMM defines a data type "Gtk::TreeModel::Row". Thus, the declaration

  Gtk::TreeModel::Row row;

results in a compiler error:

  `MysqlRow' is not a member of type `Gtk::TreeModel'

What can I do to solve this conflict?

Thanks in advance,

  Markus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]