OSDN Git Service

2005-06-14 Ed Schonberg <schonberg@adacore.com>
[pf3gnuchains/gcc-fork.git] / gcc / c-format.c
index f413e39..f27d6d0 100644 (file)
@@ -833,7 +833,8 @@ check_function_format (tree attrs, tree params)
                        break;
                    }
                  if (args != 0)
-                   warning (0, "function might be possible candidate for %qs format attribute",
+                   warning (OPT_Wattributes, "function might be possible "
+                            "candidate for %qs format attribute",
                             format_types[info.format_type].name);
                }
            }