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:
parent
4476366369
commit
20cde7d22e
3
gnu/dist/gcc/c-common.c
vendored
3
gnu/dist/gcc/c-common.c
vendored
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user