wxruby-dev
[Top][All Lists]
Advanced

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

Re: [Wxruby-dev] Corrections for Windows build error


From: Kevin Smith
Subject: Re: [Wxruby-dev] Corrections for Windows build error
Date: 17 Jul 2003 20:25:47 -0700

On Thu, 2003-07-17 at 08:40, Curt Hibbs wrote:
> -----Original Message-----
> From: Roy Varghese [mailto:address@hidden

> button.cpp
> wx.h(41) : warning C4005: 'StringValue' : macro redefinition
>         c:/apps/ruby/lib/ruby/1.7/i386-mswin32\ruby.h(216) : see previous
> definition of 'StringValue'

This looks like a problem with Ruby 1.7 (I guess the rest of us are
using 1.6 or 1.8). I believe we need to change this line in wx.h:

#if RUBY_VERSION_CODE < 180

But I'm not sure what the correct value is instead of 180. Does anyone
know what version of Ruby first defined StringValue?

Roy: Can you find out what RUBY_VERSION_CODE is set to on your system?
We can at least use that as a value for now.

Thanks,

Kevin






reply via email to

[Prev in Thread] Current Thread [Next in Thread]