]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
update
authorJason Merrill <jason@gcc.gnu.org>
Wed, 24 Sep 1997 04:51:57 +0000 (00:51 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 24 Sep 1997 04:51:57 +0000 (00:51 -0400)
From-SVN: r15687

gcc/cp/NEWS

index 0a8df4c92cea2e48118900e273da48977bed1cfc..fb3ac05b84b3538b9cca3ad1a102c1fa5d9a3498 100644 (file)
@@ -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).
 
   Still not supported:
 
-     + Member templates.
+     + Member class templates.
      + Template template parameters.
 
 * Synthesized methods are now emitted in any translation units that need