Thanks a lot. I was using SP2 version and have not put anything in udf.h. I
added entry in udf.h and it worked.
On Thu, Mar 31, 2016 at 3:08 PM, Stefan Manegold
In addition, the exacly same code should behave identically with both the Jul2015 release branch and the pythonudf develpment branch --- provided you checked out both branches from the Mercurial repository.
In case you used the source tarball for the Jul2015-SP2 release, things are slightly different. Strict (for good reasons!) compiler options are by default only enabled with Mercurial source, but not with source tarball. You can (and should, if you develop code yourself) enable them also with source tarballs by running configure with --enable-strict .
NB, compiler warning and error not "nasty" but very helpful to write correct code.
Stefan
----- On Mar 31, 2016, at 2:59 PM, Mark Raasveldt m.raasveldt@cwi.nl wrote:
Did you put the function prototype in the udf.h file?
----- Original Message ----- From: "Shmagi Kavtaradze"
To: "users-list" Sent: Thursday, March 31, 2016 2:49:25 PM Subject: No previous prototype for function I use two versions of Monetdb. 1 is PythonUDF and another Monetdb 11.21.13. Function "bitand" is compiled and used well in Monetdb, but when I try to compile PythonUDF it gives me errors:
udf.c:14:1: error: no previous prototype for 'UDFbitand' [-Werror=missing-prototypes] UDFbitand(flt *ret, lng*a, lng *b) ^ cc1: all warnings being treated as errors Makefile:876: recipe for target 'lib_udf_la-udf.lo' failed
any ideas? thanks in advance.
_______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list _______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
-- | Stefan.Manegold@CWI.nl | DB Architectures (DA) | | www.CWI.nl/~manegold/ | Science Park 123 (L321) | | +31 (0)20 592-4212 | 1098 XG Amsterdam (NL) | _______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list