[PATCHES v2] Fix FreeBSD developer build
Timur I. Bakeyev
timur at freebsd.org
Wed Nov 22 20:37:41 UTC 2017
On Wed, Nov 22, 2017 at 9:05 PM, Uri Simchoni via samba-technical <
samba-technical at lists.samba.org> wrote:
>
Here's the build result with the patch removed:
[1836/3977] Compiling default/librpc/gen_ndr/py_misc.c
default/librpc/gen_ndr/py_misc.c:34:25: error: unused function
'ndr_sizeof2intmax' [-Werror,-Wunused-function]
static inline long long ndr_sizeof2intmax(size_t var_size)
^
default/librpc/gen_ndr/py_misc.c:50:25: error: unused function
'ndr_PyLong_FromLongLong' [-Werror,-Wunused-function]
static inline PyObject *ndr_PyLong_FromLongLong(long long v)
^
Out of curiosity I patched all affected by this issue files and the list is:
py_atsvc.c py_auth.c py_dcerpc.c py_dfs.c py_dns.c py_dnsp.c py_dnsserver.c
py_drsblobs.c py_drsuapi.c py_echo.c py_epmapper.c py_idmap.c
py_initshutdown.c py_irpc.c py_krb5pac.c py_lsa.c py_mgmt.c py_misc.c
py_nbt.c py_ntlmssp.c py_security.c py_server_id.c py_smb_acl.c py_srvsvc.c
py_svcctl.c py_unixinfo.c py_winbind.c py_winreg.c py_wkssvc.c py_xattr.c
Although py_nbt.c, py_security.c, py_smb_acl.c and py_winbind.c have only
unused ndr_PyLong_FromLongLong.
It would be great if that could be resolved in Pidl, but I can't figure out
- how.
With regards,
Timur Bakeyev.
More information about the samba-technical
mailing list