On 11/15/2011 7:53 AM, Gary V. Vaughan wrote:
> * cfg.mk (local-checks-to-fix): Remove
> sc_cast_of_x_alloc_return_value from list of disabled checks.
> * libltdl/config/ltmain.m4sh (XMALLOC, XFREE): Unroll into their
> xmalloc and free expansions so that this syntax-check can find
> violations, and then fix them.
> * iibltdl/libltdl/lt__alloc.h (MALLOC, REALLOC): Renamed to
> xmalloc and xrealloc so that this syntax-check can find
> violations.  Adjust all callers.
> (FREE, MEMREASSIGN): Removed.  All callers unrolled into their
> former expansions, and violations of this syntax-check fixed.
> * libltdl/loaders/loadlibrary.c (LOCALFREE): Unrolled for
> consistency.

Why do I get the feeling that the next time I try to build any .exe on
cygwin/mingw with -Wall -Werror, I'm going to fail because all these
(now removed) casts in the cwrapper source code were there specifically
to suppress warnings...

--
Chuck


Reply via email to