This is the mail archive of the gcc@gcc.gnu.org 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: [C++] Deprecating default arguments on function types


On Mon, 2003-07-21 at 06:08, Nathan Sidwell wrote:
> Can we deprecate
> 	typedef int (*P) (int = 1);
> 	int f (P p) { return p ();}
> ?
> 
> 3.4 only allows it (with pedwarn) when -fpermissive is in effect.
> I'd like to deprecate it entirely. (deprecate in 3.4, remove in 3.5)

That works for me.

Jason is the traditional defender-of-the-traditional.  If he doesn't
object, go for it.

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com


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