diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2002-10-19 03:14:11 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2002-10-19 03:14:11 +0000 |
commit | 4a7510cb22da4809d18e3bb3fc453cf671d6926a (patch) | |
tree | 4b5d06a5f39cde39d39613c6f7db9431fe6c32fd /gcc/c-decl.c | |
parent | 643c45e7dbb3609c841d21475db688dd786d9321 (diff) | |
download | gcc-4a7510cb22da4809d18e3bb3fc453cf671d6926a.zip gcc-4a7510cb22da4809d18e3bb3fc453cf671d6926a.tar.gz gcc-4a7510cb22da4809d18e3bb3fc453cf671d6926a.tar.bz2 |
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
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 60fade4..e5a43fe 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -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; |