From: Kevin S. <Kev...@sa...> - 2016-01-04 16:50:37
|
That looks like it solves my issue. Thanks! Kevin D Smith Kev...@sa... > On Dec 17, 2015, at 12:16 PM, William S Fulton <ws...@fu...> wrote: > > This should be fixed for the 3.0.8 release. Please try it out from > github to check. > > William > > On 11 December 2015 at 16:51, Kevin Smith <Kev...@sa...> wrote: >> I'm getting build problems with Python 3.5 extensions using the -builtin option. It looks like the initializers for Python types are misaligned. It does compile with some compilers (it fails on a Windows cross compiler), but it sure seems like something isn’t right. I have SWIG 3.0.7 installed. Has anyone else seen this? >> >> >> py35_swat.c(16999): warning #144: a value of type "binaryfunc" cannot be used to initialize an entity of type "unaryfunc" >> (binaryfunc) 0, /* nb_add */ >> ^ >> >> py35_swat.c(17000): warning #144: a value of type "binaryfunc" cannot be used to initialize an entity of type "unaryfunc" >> (binaryfunc) 0, /* nb_subtract */ >> ^ >> >> py35_swat.c(17001): warning #144: a value of type "binaryfunc" cannot be used to initialize an entity of type "unaryfunc" >> (binaryfunc) 0, /* nb_multiply */ >> ^ >> >> py35_swat.c(17005): warning #1368: excess initializers are ignored >> (binaryfunc) 0, /* nb_remainder */ >> ^ >> >> And on some compilers: >> >> >> py35_swat.c(17005): error: too many initializer values >> (binaryfunc) 0, >> >> >> Kevin D Smith >> Kev...@sa... >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Swig-user mailing list >> Swi...@li... >> https://lists.sourceforge.net/lists/listinfo/swig-user |