For now make the warning that we are passing a NULL format to printf

like functions, only a pedantic warning. This will allow us to fix the
err functions.
This commit is contained in:
christos 1999-06-07 02:48:00 +00:00
parent 4476366369
commit 20cde7d22e

View File

@ -1334,7 +1334,8 @@ check_format_info (info, params)
if (integer_zerop (format_tree))
{
warning ("null format string");
if (pedantic)
warning ("null format string");
return;
}
if (TREE_CODE (format_tree) != ADDR_EXPR)