aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 012bb6b..76f52cd 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -3368,7 +3368,7 @@ handle_dll_attribute (tree * pnode, tree name, tree args, int flags,
if (TREE_CODE (node) == FUNCTION_DECL && DECL_INITIAL (node)
&& !DECL_DECLARED_INLINE_P (node))
{
- error ("function %q+D definition is marked dllimport.", node);
+ error ("function %q+D definition is marked dllimport", node);
*no_add_attrs = true;
}
@@ -3376,7 +3376,7 @@ handle_dll_attribute (tree * pnode, tree name, tree args, int flags,
{
if (DECL_INITIAL (node))
{
- error ("variable %q+D definition is marked dllimport.",
+ error ("variable %q+D definition is marked dllimport",
node);
*no_add_attrs = true;
}
@@ -3397,7 +3397,7 @@ handle_dll_attribute (tree * pnode, tree name, tree args, int flags,
|| TREE_CODE (node) == FUNCTION_DECL))
{
error ("external linkage required for symbol %q+D because of "
- "%qs attribute.", node, IDENTIFIER_POINTER (name));
+ "%qs attribute", node, IDENTIFIER_POINTER (name));
*no_add_attrs = true;
}