From 3041f77a20f4e0db150c248248c85e170993bb30 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 24 Sep 1997 00:51:57 -0400 Subject: [PATCH] update From-SVN: r15687 --- gcc/cp/NEWS | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/cp/NEWS b/gcc/cp/NEWS index 0a8df4c92ce..fb3ac05b84b 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