aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2000-10-20 20:23:11 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2000-10-20 16:23:11 -0400
commit2e44948df527d0421fbe75ecb8fe00e7745f68d3 (patch)
tree3cb79f593442e818cbc683e43ce9cd2245ba96a6 /gcc/cp
parent382110c01055c5f8dc8248d20dd2a4e9ea3f9553 (diff)
downloadgcc-2e44948df527d0421fbe75ecb8fe00e7745f68d3.zip
gcc-2e44948df527d0421fbe75ecb8fe00e7745f68d3.tar.gz
gcc-2e44948df527d0421fbe75ecb8fe00e7745f68d3.tar.bz2
* Use "because" instead of since in error messages.
From-SVN: r36977
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/typeck2.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 3c2e244..b573096 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-20 David Edelsohn <edelsohn@gnu.org>
+
+ * typeck2.c (abstract_virtuals_error): Use "because" instead of
+ "since" in error message.
+
Fri Oct 20 13:54:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* typeck.c (dubious_conversion_warning): Suppress if TYPE_IS_SIZETYPE.
diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c
index a17ae24..9141c6f 100644
--- a/gcc/cp/typeck2.c
+++ b/gcc/cp/typeck2.c
@@ -168,7 +168,7 @@ abstract_virtuals_error (decl, type)
{
TREE_PURPOSE (u) = error_mark_node;
- error (" since the following virtual functions are abstract:");
+ error (" because the following virtual functions are abstract:");
for (tu = u; tu; tu = TREE_CHAIN (tu))
cp_error_at ("\t%#D", TREE_VALUE (tu));
}