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

Re: Openldap 2.0.14 compilation warning (IRIX)



> 
> 1)
> 
> 
> echo timestamp > cache.lo
>         /bin/sh /usr/local/src/openldap-2.0.14/libtool --only-static
> --mode=compile cc -g -I../..
> /../include        -I../../../include -I.. -I./..  -I/usr/local/ssl/include
> -I/usr/local/include   -c dbcache.c
> cc -g -I../../../include -I../../../include -I.. -I./..
> -I/usr/local/ssl/include -I/usr/local/inc
> lude -c dbcache.c -o dbcache.o
> cc-1551 cc: WARNING File = dbcache.c, Line = 329
>   The variable "data" is used before its value is set.
> 

There was one line missing from message:

echo timestamp > cache.lo
        /bin/sh /usr/local/src/openldap-2.0.14/libtool --only-static
--mode=comp
ile cc -g -I../../../include        -I../../../include -I.. -I./.. 
-I/usr/local
/ssl/include -I/usr/local/include    -c dbcache.c
cc -g -I../../../include -I../../../include -I.. -I./..
-I/usr/local/ssl/include
 -I/usr/local/include -c dbcache.c -o dbcache.o
cc-1551 cc: WARNING File = dbcache.c, Line = 329
  The variable "data" is used before its value is set.

        return( data );
                ^


> 2)
> 
> echo timestamp > alias.lo
>         /bin/sh /usr/local/src/openldap-2.0.14/libtool --only-static
> --mode=compile cc -g -I../../../include        -I../../../include -I..
> -I./..  -I/usr/local/ssl/include -I/usr/local/include
>    -c tools.c
> cc -g -I../../../include -I../../../include -I.. -I./..
> -I/usr/local/ssl/include -I/usr/local/include -c tools.c -o tools.o
> cc-1551 cc: WARNING File = tools.c, Line = 106
>   The variable "key" is used before its value is set.
>  
>         key = ldbm_nextkey( id2entry->dbc_db, key, cursorp );
>                                               ^
>                                                                  
> Is these bad?
> 
> -- 
>           /"\                           |  Kari 
>           \ /     ASCII Ribbon Campaign |    Hurtta
>            X      Against HTML Mail     |
>           / \                           |
> 

-- 
          /"\                           |  Kari 
          \ /     ASCII Ribbon Campaign |    Hurtta
           X      Against HTML Mail     |
          / \                           |