aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/NEWS
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-07-27 01:35:35 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-07-27 01:35:35 +0000
commit5bb2f1e70510b957105b09f31f4e11fff1347fca (patch)
tree044ebeb42e6bab7f392c835986fc537853e56e1e /gcc/cp/NEWS
parent4c8a3a899417130f47bc1cbc2f3217e85aca070e (diff)
downloadgcc-5bb2f1e70510b957105b09f31f4e11fff1347fca.zip
gcc-5bb2f1e70510b957105b09f31f4e11fff1347fca.tar.gz
gcc-5bb2f1e70510b957105b09f31f4e11fff1347fca.tar.bz2
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
Diffstat (limited to 'gcc/cp/NEWS')
-rw-r--r--gcc/cp/NEWS17
1 files changed, 17 insertions, 0 deletions
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")