[cfe-commits] r107382 - /cfe/trunk/www/compatibility.html
Douglas Gregor
dgregor at apple.com
Wed Jun 30 20:50:01 PDT 2010
Author: dgregor
Date: Wed Jun 30 22:50:01 2010
New Revision: 107382
URL: http://llvm.org/viewvc/llvm-project?rev=107382&view=rev
Log:
Update diagnostic on compatibility page to reflect reality
Modified:
cfe/trunk/www/compatibility.html
Modified: cfe/trunk/www/compatibility.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/www/compatibility.html?rev=107382&r1=107381&r2=107382&view=diff
==============================================================================
--- cfe/trunk/www/compatibility.html (original)
+++ cfe/trunk/www/compatibility.html Wed Jun 30 22:50:01 2010
@@ -590,9 +590,8 @@
downcast.mm:6:3: error: no matching function for call to 'f'
f(base);
^
-downcast.mm:4:6: note: candidate function not viable: cannot convert from base
- class pointer 'Base *' to derived class pointer 'Derived *' for 1st
- argument
+downcast.mm:4:6: note: candidate function not viable: cannot convert from
+ superclass 'Base *' to subclass 'Derived *' for 1st argument
void f(Derived *);
^
</pre>
More information about the cfe-commits
mailing list