summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2008-02-10 10:29:18 +0000
committerMarc Espie <espie@cvs.openbsd.org>2008-02-10 10:29:18 +0000
commit03bbf97fef7fd2dc33cff76d13c46df4b67f86de (patch)
tree307e3fa8ad1d647beb8dd310d80c387623993e25 /gnu/usr.bin/gcc
parent1bfb3f5f69f5d677b26511780bfa077d36bd6a80 (diff)
give method name of covariant return issue.
okay miod@
Diffstat (limited to 'gnu/usr.bin/gcc')
-rw-r--r--gnu/usr.bin/gcc/gcc/cp/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/gcc/cp/search.c b/gnu/usr.bin/gcc/gcc/cp/search.c
index c43dd212a58..d0676d53946 100644
--- a/gnu/usr.bin/gcc/gcc/cp/search.c
+++ b/gnu/usr.bin/gcc/gcc/cp/search.c
@@ -2047,7 +2047,7 @@ check_final_overrider (overrider, basefn)
else if ((i = covariant_return_p (base_return, over_return)))
{
if (i == 2)
- sorry ("adjusting pointers for covariant returns");
+ sorry ("adjusting pointers for covariant returns in %#D", overrider);
if (pedantic && i == -1)
{