Re: Problem using generic types?

2014-02-02 Thread Petrus Hyvönen
Hi Andi and Others, The latest trunk jcc works and builds very fine on my windows machine, and happy about the extendend support of generics. But I am experiencing the problem below when building on my mac, using same wrap parameters as on the windows platform. To me it seems like some

Re: Problem using generic types?

2014-02-02 Thread Petrus Hyvönen
Hi, It's part of a class PointVectorValuePair and PointValuePair in the apache math commons (http://commons.apache.org/proper/commons-math/javadocs/api-3.2/org/apache/commons/math3/optimization/PointVectorValuePair.html) I have tried to reserve a bunch of things like 'Point', 'Value', 'Pair'

Re: Problem using generic types?

2014-02-02 Thread Andi Vajda
On Feb 2, 2014, at 13:41, Petrus Hyvönen petrus.hyvo...@gmail.com wrote: Hi, It's part of a class PointVectorValuePair and PointValuePair in the apache math commons

Re: Problem using generic types?

2014-02-02 Thread Petrus Hyvönen
Hi Andi, Yes, the confusing thing is that it works well under windows. I compared the code in __wrap__ and it looks different in the windows version: static int t_PointVectorValuePair_init_(t_PointVectorValuePair *self, PyObject *args, PyObject *kwds) { switch

Re: Problem using generic types?

2014-02-02 Thread Andi Vajda
On Sun, 2 Feb 2014, Petrus Hyvönen wrote: Yes, the confusing thing is that it works well under windows. I compared the code in __wrap__ and it looks different in the windows version: static int t_PointVectorValuePair_init_(t_PointVectorValuePair *self, PyObject *args, PyObject *kwds)

Re: Problem using generic types?

2014-02-02 Thread Andi Vajda
On Sun, 2 Feb 2014, Petrus Hyvönen wrote: Yes, the confusing thing is that it works well under windows. I compared the code in __wrap__ and it looks different in the windows version: static int t_PointVectorValuePair_init_(t_PointVectorValuePair *self, PyObject *args, PyObject *kwds)

Re: Problem using generic types?

2014-02-02 Thread Andi Vajda
On Sun, 2 Feb 2014, Andi Vajda wrote: On Sun, 2 Feb 2014, Petrus Hyvönen wrote: Yes, the confusing thing is that it works well under windows. I compared the code in __wrap__ and it looks different in the windows version: static int t_PointVectorValuePair_init_(t_PointVectorValuePair *self,

Re: Problem using generic types?

2014-02-02 Thread Andi Vajda
On Sun, 2 Feb 2014, Andi Vajda wrote: On Sun, 2 Feb 2014, Andi Vajda wrote: On Sun, 2 Feb 2014, Petrus Hyvönen wrote: Yes, the confusing thing is that it works well under windows. I compared the code in __wrap__ and it looks different in the windows version: static int

Re: Problem using generic types?

2014-02-02 Thread Petrus Hyvönen
Thanks Andi! Rev 1563753 Builds and runs fine now on the Mac and Windows! I need to check my Windows machine and get rid of any old versions, think it shouldn't be there but obviously it is strange that it worked.. Many thanks! Regards /Petrus On 03 Feb 2014, at 2:44 , Andi Vajda