help-smalltalk
[Top][All Lists]
Advanced

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

Re: [Help-smalltalk] [PATCH] blox: Fix fall-out from calling >>#initiali


From: Holger Freyther
Subject: Re: [Help-smalltalk] [PATCH] blox: Fix fall-out from calling >>#initialize as part of new
Date: Sun, 24 Jan 2016 23:58:52 +0100

> On 24 Jan 2016, at 22:09, address@hidden wrote:
> 
> 
> 
> It's not that there is a broken function, just that there's no obvious
> way to create methods. There's an "add" option for classes but I'm not
> seeing any way to add a method. If I try editing in the lower pane and
> "Accept" it asks me if I want to discard my changes and when I say "no"
> it puts me back to editing mode again but doesn't seem to actually make
> any changes.


If you select any "category" it gives you a dummy method you can alter
and then use "Accept" to save it. The issue I see is that the template
they provide is not correct syntax.

method: selectors and: arguments
    "Comment describing purpose and answered value."
    | temporary variables |
    statements


should be (the brackets):

method: selectors and: arguments [
    "Comment describing purpose and answered value."
    | temporary variables |
    statements
]


that is the "new" fileout syntax of GNU Smalltalk. Would you like to
try to fix that, create a GNU changelog and use git format-patch to send
the patch?



> I'm on Gentoo Linux AMD FX(tm)-4100 x86_64 with gcc 4.8.5
> 
> make is issuing:
> 
> gcc -DHAVE_CONFIG_H -I.  -I./libgst -I./lib-src -DCMD_XZIP="\"/usr/bin/zip\"" 
> -DCMD_INSTALL="\"/usr/bin/install -c\"" -DCMD_LN_S="\"ln -s\"" 
> -DDEFAULT_EXECUTABLE=\""/usr/local/bin/gst"\"   -g -O2 -Wall 
> -Wdeclaration-after-statement -Wno-format -Wpointer-arith -Wno-pointer-sign 
> -Wno-switch -Wwrite-strings -Wno-strict-aliasing -fno-gcse -fstrict-aliasing  
> -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c


Any special gentoo release or flags? Is gtk-2.0 installed?


reply via email to

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