From: Jason Merrill Date: Wed, 24 Sep 1997 04:51:57 +0000 (-0400) Subject: update X-Git-Tag: releases/egcs-1.0.0~486 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3041f77a20f4e0db150c248248c85e170993bb30;p=thirdparty%2Fgcc.git update From-SVN: r15687 --- diff --git a/gcc/cp/NEWS b/gcc/cp/NEWS index 0a8df4c92cea..fb3ac05b84b3 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