[MacPorts] #39854: root: unable to use TGuiBuilder
MacPorts
noreply at macports.org
Thu Jul 25 06:30:40 PDT 2013
#39854: root: unable to use TGuiBuilder
----------------------+-----------------------------------
Reporter: mojca@… | Owner: mattiafrancescomoro@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: root |
----------------------+-----------------------------------
Comment (by jonesc@…):
Hi,
Why are you using operator [] to make a new instance ? This isn't an
array, but a single object, so that isn't valid syntax I think.
I don't have access to OSX right now, but on linux I get the same if I do
{{{
root [1] new [] TGuiBuilder
Error: Symbol TGuiBuilder is not defined in current scope (tmpfile):1:
*** Interpreter error recovered ***
}}}
but
{{{
root [0] new TGuiBuilder()
(class TGuiBuilder*)0x2281c70
}}}
works just fine.
Chris
--
Ticket URL: <https://trac.macports.org/ticket/39854#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list