Task #44 — Undefined dbpoll function called with freetds 1.3.3Attached to Project — OpenDBX
Opened by Florian Weimer (fweimer) - Tuesday, 21 Feb 2023, 11:56am
With freetds 1.3.3, dbpoll is just a stub that always returns success. Such stub functions are not declared in <sybdb.h> if DBLIB_UNIMPLEMENTED is not defined.
However, backends/mssql/mssql_basic.c calls this function unconditionally. This still works if the compiler supports implicit function declarations, but future compilers won't. (Implicit function declarations are no longer part of C as of C99.)
These tasks are related to this task
Other tasks that this task is related to