Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/gcc For now make the warning that we are passing a ...
details: https://anonhg.NetBSD.org/src/rev/f187c354571a
branches: trunk
changeset: 473556:f187c354571a
user: christos <christos%NetBSD.org@localhost>
date: Mon Jun 07 02:48:00 1999 +0000
description:
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.
diffstat:
gnu/dist/gcc/c-common.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r fef6ea27aaca -r f187c354571a gnu/dist/gcc/c-common.c
--- a/gnu/dist/gcc/c-common.c Mon Jun 07 02:25:05 1999 +0000
+++ b/gnu/dist/gcc/c-common.c Mon Jun 07 02:48:00 1999 +0000
@@ -1334,7 +1334,8 @@
if (integer_zerop (format_tree))
{
- warning ("null format string");
+ if (pedantic)
+ warning ("null format string");
return;
}
if (TREE_CODE (format_tree) != ADDR_EXPR)
Home |
Main Index |
Thread Index |
Old Index