Compile problems, 19p7 (PR#7048)
Jim Watt
jimw at pe-nelson.com
Sat May 30 00:53:23 GMT 1998
--On Thursday, May 14, 1998, 3:50 AM +1000 "Jeremy Allison"
<jallison at whistle.com> wrote:
} We missed one QSORT_CAST define in includes.h for Solaris. It
} is just a warning and can be ignored.
}
} If it really bugs you add :
}
} #ifndef QSORT_CAST
} #define QSORT_CAST (int (*)(const void *, const void *))
} #endif /* QSORT_CAST */
}
} to the SUNOS5 section of includes.h (which is what is in
} the main branch).
BSDI 3.0 also complains about this one. Same fix, except
in the BSDI section of includes.h.
There are a couple of other warnings:
nmbd_packets.c: In function `initiate_multihomed_name_register_packet':
nmbd_packets.c:340: warning: passing arg 2 of `safe_strcpy' makes pointer
from integer without a cast
nmbd_subnetdb.c: In function `create_subnets':
nmbd_subnetdb.c:190: warning: passing arg 1 of `make_subnet' makes pointer
from integer without a cast
I didn't chase those down, but it sounds like they're obvious from
the warnings.
Jim
--
Jim Watt jimw at PE-Nelson.COM
Perkin-Elmer Corporation Voice (desk): +1 408 577 2228
PE-Nelson Division Fax: +1 408 894 9307
3833 North First Street Voice (main): +1 408 577 2200
San Jose CA 95134-1701
More information about the samba
mailing list