| I should have known, as I wrote that code...
On 28 Sep 2009, at 19:49, Felipe Sateler wrote:
> python_interface.i has a bunch of C++ code. Which includes
> pythonMessageCallback().
>
> On Mon, 2009-09-28 at 19:34 +0100, Victor Lazzarini wrote:
>> I have a suspicion that the function wrapped by swig is not even
>> callable
>> from the API (I can't see where it can be called from by looking a
>> CppSound.hpp
>> and PyMsgcb.cpp)
>>
>> Victor
>>
>> On 28 Sep 2009, at 19:14, Felipe Sateler wrote:
>>
>>> I found the bug in question, the solution is to provide a ...
>>> version of
>>> the function besides the va_list one, and then %ignore the va_list
>>> one
>>> (swig can handle the ... version).
>>>
>>> On Mon, 2009-09-28 at 14:04 -0400, Felipe Sateler wrote:
>>>> What is the "obvious" fix?
>>>> I seem to remember we filed a bug in swig, but I can't remember the
>>>> outcome of that. I think it had to do with vararg functions, but
>>>> there
>>>> was not a problem because there were alternative versions so the
>>>> vararg
>>>> one just got excluded from the .i file.
>>>>
>>>> On Mon, 2009-09-28 at 08:01 +0100, victor wrote:
>>>>> No such problems on Windows and OSX. I will try Linux later today.
>>>>> There is something funny though: the cppSound class does not have
>>>>> a setPythonMessageCallback() anymore (which used to call
>>>>> pythonMessageCallback() ), defined in PyMsg.cpp. I suspect that
>>>>> the SWIG interface is looking in that file and wrapping these when
>>>>> it
>>>>> shouldn't (but this might not be related to the problem).
>>>>>
>>>>> Victor
>>>>>
>>>>> ----- Original Message -----
>>>>> From: "Felipe Sateler"
>>>>> To: "Developer discussions"
>>>>> Sent: Monday, September 28, 2009 5:14 AM
>>>>> Subject: [Cs-dev] build failure with 5.11 on linux
>>>>>
>>>>>
>>>>>> The python interface fails to build:
>>>>>>
>>>>>> interfaces/python_interface_wrap.cc: In function ‘PyObject*
>>>>>> _wrap_CppSound_pythonMessageCallback(PyObject*, PyObject*)’:
>>>>>> interfaces/python_interface_wrap.cc:35536: error: invalid array
>>>>>> assignment
>>>>>> scons: *** [interfaces/python_interface_wrap.os] Error 1
>>>>>>
>>>>>>
>>>>>>
>>>>>> Apparently its not legal to do dereference a va_list pointer. Any
>>>>>> clues?
>>>>>>
>>>>>>
>>>>>> Saludos,
>>>>>> Felipe Sateler
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Come build with us! The BlackBerry® Developer Conference in
>>>>>> SF, CA
>>>>>> is the only developer event you need to attend this year.
>>>>>> Jumpstart your
>>>>>> developing skills, take BlackBerry mobile applications to market
>>>>>> and stay
>>>>>> ahead of the curve. Join us from November 9-12, 2009.
>>>>>> Register
>>>>>> now!
>>>>>> http://p.sf.net/sfu/devconf
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Come build with us! The BlackBerry® Developer Conference in
>>>>> SF, CA
>>>>> is the only developer event you need to attend this year.
>>>>> Jumpstart your
>>>>> developing skills, take BlackBerry mobile applications to market
>>>>> and stay
>>>>> ahead of the curve. Join us from November 9-12, 2009. Register
>>>>> now!
>>>>> http://p.sf.net/sfu/devconf
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>
>>>
>>> --
>>> Saludos,
>>> Felipe Sateler
>>> ------------------------------------------------------------------------------
>>> Come build with us! The BlackBerry® Developer Conference in
>>> SF, CA
>>> is the only developer event you need to attend this year. Jumpstart
>>> your
>>> developing skills, take BlackBerry mobile applications to market and
>>> stay
>>> ahead of the curve. Join us from November 9-12, 2009. Register
>>> now!
>>> http://p.sf.net/sfu/devconf_______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry® Developer Conference in SF,
>> CA
>> is the only developer event you need to attend this year. Jumpstart
>> your
>> developing skills, take BlackBerry mobile applications to market
>> and stay
>> ahead of the curve. Join us from November 9-12, 2009. Register
>> now!
>> http://p.sf.net/sfu/devconf
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> --
> Saludos,
> Felipe Sateler
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart
> your
> developing skills, take BlackBerry mobile applications to market and
> stay
> ahead of the curve. Join us from November 9-12, 2009. Register
> now!
> http://p.sf.net/sfu/devconf_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |