aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/NEWS
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>1997-09-24 00:51:57 -0400
committerJason Merrill <jason@gcc.gnu.org>1997-09-24 00:51:57 -0400
commit3041f77a20f4e0db150c248248c85e170993bb30 (patch)
tree40b36a71976f701fc2d09b38bd521e3ba6589ef9 /gcc/cp/NEWS
parent5dceb6d28eafdb5df5765c8d8ccfba31d1474dbb (diff)
downloadgcc-3041f77a20f4e0db150c248248c85e170993bb30.zip
gcc-3041f77a20f4e0db150c248248c85e170993bb30.tar.gz
gcc-3041f77a20f4e0db150c248248c85e170993bb30.tar.bz2
update
From-SVN: r15687
Diffstat (limited to 'gcc/cp/NEWS')
-rw-r--r--gcc/cp/NEWS7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/NEWS b/gcc/cp/NEWS
index 0a8df4c..fb3ac05 100644
--- a/gcc/cp/NEWS
+++ b/gcc/cp/NEWS
@@ -9,6 +9,11 @@
* Member function templates are now supported.
+* __FUNCTION__ and __PRETTY_FUNCTION__ are now treated as variables by the
+ parser; previously they were treated as string constants. So code like
+ `printf (__FUNCTION__ ": foo")' must be rewritten to
+ `printf ("%s: foo", __FUNCTION__)'. This is necessary for templates.
+
* New flags -Wsign-promo (warn about potentially confusing promotions in
overload resolution), -Wno-pmf-conversion (don't warn about converting
from a bound member function pointer to function pointer).
@@ -108,7 +113,7 @@
Still not supported:
- + Member templates.
+ + Member class templates.
+ Template template parameters.
* Synthesized methods are now emitted in any translation units that need