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 [EMAIL PROTECTED] www.murrayc.com www.openismus.com _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
