diff options
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c index a718bde4e65..71ba456a58b 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -3275,7 +3275,7 @@ handle_dll_attribute (tree * pnode, tree name, tree args, int flags, } if (TREE_CODE (node) != RECORD_TYPE && TREE_CODE (node) != UNION_TYPE) { - warning ("%qs attribute ignored", IDENTIFIER_POINTER (name)); + warning (0, "%qs attribute ignored", IDENTIFIER_POINTER (name)); *no_add_attrs = true; } |