This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PR 18064] Deprecate covariant extension

Giovanni Bajo wrote:
Would you please add an entry to changes.html as well?
doh! I knew there was somewhere else I needed to change.

Nathan Sidwell    ::   ::     CodeSourcery LLC    ::

Index: htdocs/gcc-4.0/changes.html
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.0/changes.html,v
retrieving revision 1.14
diff -c -3 -p -r1.14 changes.html
*** htdocs/gcc-4.0/changes.html	29 Oct 2004 13:40:47 -0000	1.14
--- htdocs/gcc-4.0/changes.html	2 Nov 2004 10:48:39 -0000
*** 144,149 ****
--- 144,156 ----
          want to disable this by specifying
          <code>-fno-threadsafe-statics</code> for a small savings in code
+     <li>G++ has an undocumented extension to virtual function
+ 	covariancy rules that allowed the overrider to return a type
+ 	that was implicitly convertable to the overridden function's
+ 	return type.   For instance a function returning <code>void
+ 	*</code> could be overridden by a function returning
+ 	<code>T *</code>.  This is now deprecated and will be removed in
+ 	a future release.</li>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]