Displaying 20 results from an estimated 300 matches similar to: "Next swig problem"
2005 Aug 10
5
more patches
Here are a few patches 2 small changes and one a little hefty. All are
to *.i files.
SpinCtrl.patch - Changes cWxSpinCtrl.klass to mWxSpinCtrl in rb_define_method.
Dialog.patch - Removed the %ignore wxDialog::wxDialog line, this line
prevents Dialogs working with XRC.
Window.i - Added special code for find_window_* methods so the correct
object type is returned, this is very important when
2006 Nov 28
2
(no subject)
I''m using wx_sugar 0.1.2 with wxruby2-preview 0.0.37 on OSX and am
coming up with a strange error when trying to create a SpinCtrl:
class DatePicker < Wx::Dialog
def initialize
super(nil, :title => "Pick a date...")
arrange_vertically(:padding => 5)
@month = Wx::SpinCtrl.new(self) # line 19
add(@month)
end
end
gives error:
2006 Nov 29
5
wxSugar control problem
I''m using wx_sugar 0.1.2 with wxruby2-preview 0.0.37 on OSX and am
coming up with an error when trying to create a SpinCtrl (and quite a
few others have exactly the same prob.):
#file date_picker.rb
class DatePicker < Wx::Dialog
def initialize
super(nil, :title => "Pick a date...")
@cal = Wx::CalendarCtrl.new(self)
add(@cal)
#works fine up to
2004 Nov 05
2
[LLVMdev] Re: LLVM Visual Studio Project files
Like I said, it is in my path. That's not enough. I'd be happy if
Morten chimed in with any suggestions as to how he got it to work.
On Thu, 04 Nov 2004 18:45:18 -0800
Reid Spencer <reid at x10sys.com> wrote:
> Two suggestions:
>
> 1. m4 might be located by your PATH variable.
> 2. Talk to Morten Ofstad about how he got it to work.
>
> Reid.
>
> On
2004 Nov 05
0
[LLVMdev] Re: LLVM Visual Studio Project files
Solved it. Looking at the source of bison, I found an undocumented
environment variable M4 that points to the m4 binary. Setting it to the
absolute path did the job. When not present, it ought to find it in the
path as it uses execvp. At least on Unix. I have no idea what it does
on Windows as I could not get the source used to build the Windows
version (the installer claimed it installed the
2007 Jul 04
0
[1101] trunk/wxruby2/doc/textile/spinctrl.txtl: Doc patch to SpinCtrl from wxWidgets 2.8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2006 Nov 30
0
[764] trunk/wxsugar/lib/wx_sugar/keyword_classes.rb: Correct duplicate and incorrect definition of SpinCtrl constructor
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Jun 26
0
[1078] trunk/wxruby2: Map evt_spinctrl to SpinEvent instead of CommandEvent; add example to bigdemo
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2008 Oct 02
3
[LLVMdev] MS C++ gives error C2371 on this code while (obviously)gcc compiles it fine
gcc is correct. According to the ISO specification, the for-init-statement
is supposed to inject any variable names into the same declarative scope as
the condition of an equivalent restructuring of the loop in the form of a
while statement, which in turn fronts the declaration to an extra scope that
surrounds the /entire/ loop construct. VC++ seems to be scoping the
variables as if they were
2009 Jan 29
2
[LLVMdev] [PATCH] Build fails on windows with VC2009
Hi everybody,
I just updated to the latest svn trunk version, but now the code does not
compile anymore.
It trows an error in "f:\dev\llvm\lib\system\Win32/DynamicLibrary.inc(159) :
error C2228: left of '.find' must have class/struct/union".
Below you can find the small patch which makes the compiler happy again :-)
Sincerely yours
Marius Wachtler
2008 Oct 02
3
[LLVMdev] MS C++ gives error C2371 on this code while (obviously) gcc compiles it fine
Taken from tools/llvmc2/CompilationGraph.cpp:
...
for (typename C::const_iterator B = EdgesContainer.begin(),
E = EdgesContainer.end(); B != E; ++B) {
const Edge* E = B->getPtr();
...
MS C++ compiler (VS 2008) gives:
...
CompilationGraph.cpp
..\..\..\llvm\tools\llvmc2\CompilationGraph.cpp(58) : error C2371:
'E' : redefinition; different basic types
2007 Jul 04
0
[1102] trunk/wxruby2/doc/textile/spinbutton.txtl: Doc patch to SpinButton from wxWidgets 2.8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2008 Oct 02
0
[LLVMdev] MS C++ gives error C2371 on this code while (obviously)gcc compiles it fine
Jay Freeman (saurik) wrote:
> gcc is correct. According to the ISO specification, the for-init-statement
> is supposed to inject any variable names into the same declarative scope as
> the condition of an equivalent restructuring of the loop in the form of a
> while statement, which in turn fronts the declaration to an extra scope that
> surrounds the /entire/ loop construct.
2008 Oct 02
1
[LLVMdev] MS C++ gives error C2371 on this code while (obviously)gcc compiles it fine
Fair enough, you win this round. ;P (Which actually makes me happy as that
makes things a lot more consistent and sensible.) -J
--------------------------------------------------
From: "Argiris Kirtzidis" <akyrtzi at gmail.com>
Sent: Thursday, October 02, 2008 12:32 PM
To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>
Subject: Re: [LLVMdev] MS C++ gives
2008 Oct 02
0
[LLVMdev] MS C++ gives error C2371 on this code while (obviously)gcc compiles it fine
Jay Freeman (saurik) wrote:
> Those rules only apply to if and switch statements. (Yes, this is insane,
> but true.) The entire section you are quoting from, 6.4, is titled
> "Selection statements [stmt.select]", which specifically covers these two
> cases. A for is an iteration statement, not a selection statement.
>
See 6.4p2: "The rules for conditions apply
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2008 Oct 02
2
[LLVMdev] MS C++ gives error C2371 on this code while (obviously)gcc compiles it fine
Those rules only apply to if and switch statements. (Yes, this is insane,
but true.) The entire section you are quoting from, 6.4, is titled
"Selection statements [stmt.select]", which specifically covers these two
cases. A for is an iteration statement, not a selection statement.
So, if you read 6.5.3p1 (which is actually about for statements) it states
that a for loop is rewritten
2009 Jan 29
0
[LLVMdev] [PATCH] Build fails on windows with VC2009
On Jan 29, 2009, at 10:35 AM, Marius Wachtler wrote:
> Hi everybody,
>
> I just updated to the latest svn trunk version, but now the code
> does not compile anymore.
> It trows an error in "f:\dev\llvm\lib\system\Win32/
> DynamicLibrary.inc(159) : error C2228: left of '.find' must have
> class/struct/union".
Oops, sorry about that, fixed, please
2007 May 31
0
[1042] trunk/wxruby2: Overhaul of the event handling WxType->RubyClass mapping to make it
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Apr 29
0
[982] branches/wxruby2/wxwidgets_282/swig/classes/EvtHandler.i: Add EvtThunker mapping for TimerEvent (bug 10391)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: