From ec84974580f9c4602371bec6053d3463de90a187 Mon Sep 17 00:00:00 2001 From: Xuefer Date: Thu, 26 Jul 2012 03:43:51 +0000 Subject: [PATCH] mark missing sizeof/countof as warning git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1049 c26eb9a1-5813-0410-bd6c-c2e55f420ca7 --- processor/struct.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/processor/struct.m4 b/processor/struct.m4 index cb6b8b5..4c49262 100644 --- a/processor/struct.m4 +++ b/processor/struct.m4 @@ -31,8 +31,8 @@ DECL_STRUCT_P_FUNC(`$1', `$2', 1) pushdef(`ELEMENTS_DONE') IFAUTOCHECK(` /* {{{ init assert */ - ifdef(`SIZEOF_$1', , `m4_errprint(`missing SIZEOF_$1, safe to ignore')') - ifdef(`COUNTOF_$1', , `m4_errprint(`missing COUNTOF_$1, safe to ignore')') + ifdef(`SIZEOF_$1', , `m4_errprint(`Warning: missing SIZEOF_$1, safe to ignore')') + ifdef(`COUNTOF_$1', , `m4_errprint(`Warning: missing COUNTOF_$1, safe to ignore')') dnl SIZEOF_x COUNTOF_x can be both defined or both not ifdef(`SIZEOF_$1', ` ifdef(`COUNTOF_$1', , `m4_errprint(`AUTOCHECK WARN: missing COUNTOF_$1')')