summaryrefslogtreecommitdiff
path: root/gcc/attribs.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/attribs.c')
-rw-r--r--gcc/attribs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/attribs.c b/gcc/attribs.c
index fd11a96700f..78047281967 100644
--- a/gcc/attribs.c
+++ b/gcc/attribs.c
@@ -172,7 +172,7 @@ decl_attributes (tree *node, tree attributes, int flags)
if (spec == NULL)
{
- warning ("%qs attribute directive ignored",
+ warning (0, "%qs attribute directive ignored",
IDENTIFIER_POINTER (name));
continue;
}
@@ -197,7 +197,7 @@ decl_attributes (tree *node, tree attributes, int flags)
}
else
{
- warning ("%qs attribute does not apply to types",
+ warning (0, "%qs attribute does not apply to types",
IDENTIFIER_POINTER (name));
continue;
}
@@ -243,7 +243,7 @@ decl_attributes (tree *node, tree attributes, int flags)
if (TREE_CODE (*anode) != FUNCTION_TYPE
&& TREE_CODE (*anode) != METHOD_TYPE)
{
- warning ("%qs attribute only applies to function types",
+ warning (0, "%qs attribute only applies to function types",
IDENTIFIER_POINTER (name));
continue;
}