The Samba-Bugzilla – Bug 1898
winbind_nss.h - HAVE_NSS_H & HAVE_NS_API_H macro tests
Last modified: 2010-04-26 03:46:17 UTC
In module winbind_nss.h, and winbind_nss_linux.h it is testing the values of
HAVE_NSS_H and HAVE_NS_API_H but not checking to see if they were defined.
The OpenVMS C compiler is reporting that tests are being done for a value of an
undefined macro, which will be interpreted as being defined to zero.
Because these macros are tested for being defined in other modules, using a
#define HAVE_NS_API_H 0
to suppress the message will work.
If the code in wiinbind_nss.h could be changed to:
It would eliminate the VMS C compiler diagnostics.
A similar change may be useful in the winbind_nss_linux.h module.
If it's still broken in 3.5, please reopen.
3.0 isn't supported anymore.