From 5bb2f1e70510b957105b09f31f4e11fff1347fca Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Tue, 27 Jul 1999 01:35:35 +0000 Subject: tree.c (build_cplus_new): Adjust call to abstract_virtuals_error as per 1999-07-26 change. * tree.c (build_cplus_new): Adjust call to abstract_virtuals_error as per 1999-07-26 change. * typeck.c (c_sizeof): Don't allow non-static data members. (expr_sizeof): Likewise. From-SVN: r28280 --- gcc/cp/NEWS | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'gcc/cp/NEWS') diff --git a/gcc/cp/NEWS b/gcc/cp/NEWS index 1a242ab..8944797 100644 --- a/gcc/cp/NEWS +++ b/gcc/cp/NEWS @@ -1,3 +1,20 @@ +*** Changes in GCC 3.0: + +* Certain invalid conversions that were previously accepted will now + be rejected. For example, assigning function pointers of one type + to function pointers of another type now requires a cast, whereas + previously g++ would sometimes accept the code even without the + cast. + +* G++ previously allowed `sizeof (X::Y)' where Y was a non-static + member of X, even if the `sizeof' expression occurred outside + of a non-static member function of X (or one of its derived classes, + or a member-initializer for X or one of its derived classes.) This + extension has been removed. + +* G++ no longer allows you to overload the conditional operator (i.e., + the `?:' operator.) + *** Changes in GCC 2.95: * Messages about non-conformant code that we can still handle ("pedwarns") -- cgit v1.1