gtkmm and Visual C++ 2005 (aka VC++ 8.0)



Hi,
I was just compiling a simple gtkmm example with the Microsoft Visual C++ 2005 Express Edition, which can be downloaded for free. I have to change "glibmmconfig.h" in line 61 from
 #define GLIBMM_HAVE_ALLOWS_STATIC_INLINE_NPOS 1
to
 #undef GLIBMM_HAVE_ALLOWS_STATIC_INLINE_NPOS
Otherwise I am getting the error message
\include\glibmm-2.4\glibmm\ustring.h(236) : error C2057: expected constant expression
at this part of ustring.h
#ifdef GLIBMM_HAVE_ALLOWS_STATIC_INLINE_NPOS
 static const size_type npos = std::string::npos;
#else

Can anybody confirm this, or am I doing something else wrong?
Greetings,
Jan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]