Re: gtkmm with VS2005 vd2 option



On Fri, 2008-10-03 at 18:21 +0200, Stotz Urs (ENT) wrote:
> On Wed, Oct 01, 2008 at 03:56:35PM +0200, Stefani Leonardo wrote:
> > 
> > I am trying to compile an gtkmm 2.12 program with /vd2 option 
> > [...]
> > /vd2 is mandatory on gtkmm programs?
> 
> MSDN say: /vd supports incorrect behavior in an early version of Visual
> C++, and is no longer needed.
> 
> 
> - Microsoft Visual Studio 2008/.NET Framework 3.5
> http://msdn.microsoft.com/en-us/library/7sf3txa8.aspx
> /vd supports incorrect behavior in an early version of Visual C++, and
> is no longer needed.

This very page says for /vd2:

"Allows you to use dynamic_cast Operator on an object being constructed.
For example, a dynamic_cast from a virtual base class to a derived
class."

which is exactly what gtkmm does, IIRC (although I'm not sure where, and
it seems not to be mentioned in the bug). This is why /vd2 is required
for applications using gtkmm.

> - Microsoft Visual Studio 2005/.NET Framework 2.0
> http://msdn.microsoft.com/en-us/library/7sf3txa8(VS.80).aspx
> /vd supports incorrect behavior in an early version of Visual C++, and
> is no longer needed.
> 
> 
> - Microsoft Visual Studio 2003/.NET Framework 1.1
> I have found in this msdn documentation only a description of /vd0 and
> /vd1.
> http://msdn.microsoft.com/en-us/library/7sf3txa8(VS.71).aspx

/vd2 was introduced with Visual Studio 2005.

> See this comment:
> http://bugzilla.gnome.org/show_bug.cgi?id=158040#c15
> 
> Comment #15 from Murray Cumming (glibmm developer, points: 23) 
> 2006-05-24 07:30 UTC [reply] 
> So, this seems to be fixed.
> 
> 
> I think you don't need /vd2 for Visual Studio 2005 and higher any more.

I don't think so. But feel free to try out.

> Regards,
> Urs

Armin

> _______________________________________________
> 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]