c++/3882: gcc 3.0 error referencing a variable in its initializer expression in template code
jason@gcc.gnu.org
jason@gcc.gnu.org
Mon Mar 18 15:37:00 GMT 2002
Synopsis: gcc 3.0 error referencing a variable in its initializer expression in template code
State-Changed-From-To: analyzed->closed
State-Changed-By: jason
State-Changed-When: Mon Mar 18 15:37:17 2002
State-Changed-Why:
Fixed for 3.1 by
2002-03-18 Eric Botcazou <ebotcazou@multimania.com>
PR c++/3882
* pt.c (tsubst_decl): Move __PRETTY_FUNCTION__ handling...
(tsubst_expr) [DECL_STMT]: ...here. And substitute the initializer
only after recording the declaration.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3882
More information about the Gcc-prs
mailing list