Summary: Solaris: warnings reported by the Solaris compiler
https://bugzilla.redhat.com/show_bug.cgi?id=339031
Description of problem:
Warnings from the Solaris compiler (Studio 11)
1. "ldap/servers/slapd/back-ldbm/back-ldbm.h", line 57: warning: macro
redefined:
_LARGEFILE64_SOURCE
2. "ldap/servers/slapd/localhost.c", line 158: warning: implicit function
declaration: getdomainname
3. "ldap/servers/slapd/ntuserpin.c", line 214: warning: empty translation unit
4. "ldap/servers/slapd/back-ldbm/haschildren.c", line 45: warning: empty
translation
unit
5. "ldap/servers/slapd/back-ldbm/ldbm_attrcrypt.c", line 591: warning:
assignment
type mismatch:
pointer to unsigned char "=" pointer to char
6. "ldap/servers/plugins/replication/cl5_api.c", line 2248: warning: implicit
function declaration: unlink
7. "ldap/servers/plugins/replication/cl5_api.c", line 6455: warning: implicit
function declaration: dblayer_strerror
8. "ldap/servers/plugins/replication/windows_protocol_util.c", line 2259:
warning:
implicit function declaration: strcasestr
Mostly, benign except (2), (7), and (8).
------- Additional Comments From nhosoi(a)redhat.com 2007-10-18 21:22 EST -------
Created an attachment (id=231761)
--> (
https://bugzilla.redhat.com/attachment.cgi?id=231761&action=view)
proposed cvs diffs