Hi,

This patch fixes all the warnings when building current the SVN
tree against samba-4.0.0alpha1:

warning: passing argument 1 of 'lp_parm_string' makes integer from pointer
without a cast
warning: passing argument 1 of 'lp_parm_int' makes integer from pointer
without a cast

None of these warnings was particularly dangerous, and the fixes
are obvious.  OK to apply?

Is there a reason that we tell the Makefile to suppress output?

Is there a simple way to turn on the displaying of output?
I currently use:
sed -i 's/^\t@/\t/' Makefile.in
to get any warnings to be displayed.

Andrew

PS: This patch does not fix any of the IDL warnings:

/usr/bin/pidl --outputdir=gen_ndr --client -- exchange.idl
Compiling exchange.idl
exchange.idl:876: warning: subcontext() is deprecated. Use represent_as() or
transmit_as() instead
exchange.idl:973: warning: subcontext() is deprecated. Use represent_as() or
transmit_as() instead
exchange.idl:1021: warning: subcontext() is deprecated. Use represent_as()
or transmit_as() instead
exchange.idl:1186: warning: subcontext() is deprecated. Use represent_as()
or transmit_as() instead
exchange.idl:1468: warning: subcontext() is deprecated. Use represent_as()
or transmit_as() instead
exchange.idl:1474: warning: subcontext() is deprecated. Use represent_as()
or transmit_as() instead
exchange.idl:1712: warning: subcontext() is deprecated. Use represent_as()
or transmit_as() instead
exchange.idl:1713: warning: subcontext() is deprecated. Use represent_as()
or transmit_as() instead
exchange.idl:238: warning: [out] argument `settings' not a pointer
exchange.idl:240: warning: [out] argument `unknown' not a pointer
exchange.idl:546: warning: top-level [out] pointer `RowSet' is not a [ref]
pointer
exchange.idl:562: warning: top-level [out] pointer `RowSet' is not a [ref]
pointer
exchange.idl:586: warning: [out] argument `org_group' not a pointer
exchange.idl:586: warning: top-level [out] pointer `org_group' is not a
[ref] pointer
exchange.idl:587: warning: [out] argument `user' not a pointer
exchange.idl:587: warning: top-level [out] pointer `user' is not a [ref]
pointer
exchange.idl:1710: warning: [out] argument `size' not a pointer
exchange.idl:1711: warning: [out] argument `offset' not a pointer

Attachment: warnings-cleanup.patch
Description: Binary data

_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to