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

Markus Gerwinski markus@gerwinski.de
Tue Mar 25 12:37:00 GMT 2003


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



More information about the Gcc-help mailing list