[Date Prev][Date Next] [Chronological] [Thread] [Top]

Compilation warnings on IRIX 6.5 (ITS#473)



Full_Name: Kari Hurtta
Version: 1.2.9
OS: IRIX 6.5
URL: ftp://ftp.openldap.org/incoming/kari-hurtta-20000308.txt
Submission from: (NULL) (128.214.219.3)



Compiling with
   env CC=cc ./configure --without-threads 
on IRIX 6.5 gives quite much of compilation warnings.

Including following types of messages

a)
        cc -g -I../../include        -I../../include   -DHAVE_CONFIG_H  -c
testavl.c
"testavl.c", line 28: warning(1164): argument of type "void (*)(void *)" is
          incompatible with parameter of type "IFP"
                        ( void ) avl_free( tree, free );
                                                 ^
  
b) [most common type]

"line64.c", line 71: warning(1198): the format string ends before this argument
                Debug( LDAP_DEBUG_PARSE, "parse_line missing ':'\n", 0, 0, 0 );
                ^
                                                                                
                                        
c)

        cc -g -I../../include        -I../../include   -DHAVE_CONFIG_H  -c
ldappasswd.c
"ldappasswd.c", line 208: warning(1164): argument of type "const char *" is
          incompatible with parameter of type "const unsigned char *"
        lutil_MD5Update (&MD5context, pw_in, strlen(pw_in));                    
                                        

d)

"ldappasswd.c", line 587: warning(1185): enumerated type mixed with another
          type
                        modify_dn (ld, targetdn, pwattr, NULL, newpw, hashtype,
&salt);
                                                                      ^         
                 

I try attach full typescript to that report.