Re: Needed Help with Gtk+ 2.8, Gtkmm 2.8, and .Net 2005
- From: Murray Cumming <murrayc murrayc com>
- To: Allen <allen saucier cas-inc com>
- Cc: gtkmm-list gnome org
- Subject: Re: Needed Help with Gtk+ 2.8, Gtkmm 2.8, and .Net 2005
- Date: Tue, 25 Jul 2006 18:05:38 +0200
On Tue, 2006-07-25 at 09:45 -0500, Allen wrote:
> Hi all,
>
> well the "bug" I found in GTKmm 2.8 when compiling with .Net 2005 (XP
> p-yuk box) is below. The solution that I HAD to use was to:
>
> 1. Edit the C:\GTKmm\include\pangomm-1.4\pangomm/coverage.h file
> 2. Comment out the "max" method in the pangomm coverage.h file
> 3. Then, I recompiled and viola! All compiled and is working now.
>
> This is a DEFINITE BUG. So how, this max function, void max( const
> Glib::RefPtr<Coverage>& other) const; MUST already be defined as a
> try C macro, as the error states. Therefore there is a conflict
> somewhere.
Yes, you are including something that is #defining max, before you are
including the gtkmm header. This is namespace pollution.
You could try
#undef max
before including the gtkmm header.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]