From 8a7e35d988c8f80b19ecbf247b63b3f5a13b1b4a Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Thu, 17 Nov 2011 18:04:31 +0700 Subject: [PATCH] syntax-check: rationale for disabling sc_cast_of_x_alloc_return_value. * cfg.mk: Note that we support C++ compilation of libltdl, which in turn requires that *alloc return values be cast correctly. Signed-off-by: Gary V. Vaughan --- cfg.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cfg.mk b/cfg.mk index cffea223c..c39cc51b5 100644 --- a/cfg.mk +++ b/cfg.mk @@ -70,7 +70,8 @@ local-checks-to-skip = \ # GPL_version: checks for GPLv3, which we don't use # bindtextdomain: libtool isn't internationalized -# cast_of_x_alloc_return_value: we don't use gnulib alloc modules +# cast_of_x_alloc_return_value: +# We support C++ compilation which does require casting here. # error_message_uppercase: we like our error messages # program_name: libtool has no programs! # unmarked_diagnostics: libtool isn't internationalized -- 2.47.2