Commit 4a7510cb by Zack Weinberg

c-decl.c, decl.c (start_decl): Point users of the old initialized- typedef extension at __typeof__.

	* c-decl.c, cp/decl.c (start_decl): Point users of the old initialized-
	typedef extension at __typeof__.

From-SVN: r58297
parent 643c45e7
2002-10-18 Zack Weinberg <zack@codesourcery.com>
* c-decl.c (start_decl): Point users of the old initialized-
typedef extension at __typeof__.
2002-10-18 Richard Henderson <rth@redhat.com>
* real.c (cmp_significand_0, rtd_divmod, ten_to_mptwo): New.
......
......@@ -2821,7 +2821,7 @@ start_decl (declarator, declspecs, initialized, attributes)
switch (TREE_CODE (decl))
{
case TYPE_DECL:
error ("typedef `%s' is initialized",
error ("typedef `%s' is initialized (use __typeof__ instead)",
IDENTIFIER_POINTER (DECL_NAME (decl)));
initialized = 0;
break;
......
2002-10-18 Zack Weinberg <zack@codesourcery.com>
* decl.c (start_decl): Point users of the old initialized-
typedef extension at __typeof__.
2002-10-18 Mark Mitchell <mark@codesourcery.com>
* Make-lang.in (method.o): Depend on TARGET_H.
......
......@@ -7292,7 +7292,7 @@ start_decl (declarator, declspecs, initialized, attributes, prefix_attributes)
switch (TREE_CODE (decl))
{
case TYPE_DECL:
error ("typedef `%D' is initialized", decl);
error ("typedef `%D' is initialized (use __typeof__ instead)", decl);
initialized = 0;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment