Re: [gtkmm] Troubles compiling gtkmm on WIN32
- From: Maya <escalante canada com>
- To: "Andrew E. Makeev" <andrew solvo ru>
- Cc: gtkmm-main <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Troubles compiling gtkmm on WIN32
- Date: Fri, 13 Sep 2002 17:20:52 +0300
Is your code nemespaced? If not so, now would be a good idea to start
namespacing your codo. If so, the reference operator might do the trick.
Good luck!
On 2002.09.13 10:21 Andrew E. Makeev wrote:
Hi,
We are trying to build latest gtkmm (1.3.22) on WIN32 using mingw with
gcc3.2.
There is a problem with some token/enum names.
1. glibmm/thread.h
enum ThreadPriority
{
THREAD_PRIORITY_LOW,
THREAD_PRIORITY_NORMAL,
THREAD_PRIORITY_HIGH,
THREAD_PRIORITY_URGENT
};
THREAD_PRIORITY_NORMAL is defined somewhere in WINDOWS headers, so,
compiler gave up here on token substitution.
-----------------------------------------------------
2. gdkmm/
- types.h
enum Status
{
OK = 0,
ERROR = -1,
ERROR_PARAM = -2,
ERROR_FILE = -3,
ERROR_MEM = -4
};
ERROR token is defined in WINDOWS headers.
- event.h
enum EventType
{
NOTHING = -1,
DELETE,
DESTROY, ...
DELETE token is defined in WINDOWS headers.
--------------------------------------------------------
3. gtkmm/
- stock.h
extern GTKMM_API const Gtk::BuiltinStockID DELETE;
- stock.cc
const Gtk::BuiltinStockID DELETE = { GTK_STOCK_DELETE };
DELETE again.
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]