summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-12-04 15:48:26 +0000
committerobrien <obrien@FreeBSD.org>2002-12-04 15:48:26 +0000
commit3f4eb16912dc1f9a1ca722a79e205db835bbb7c8 (patch)
treeb72b43b4909ae82be9d756afd78d24ada88091f0
parent4e841ec498ecaf9abe161a8389a4caad8e92186f (diff)
downloadFreeBSD-src-3f4eb16912dc1f9a1ca722a79e205db835bbb7c8.zip
FreeBSD-src-3f4eb16912dc1f9a1ca722a79e205db835bbb7c8.tar.gz
Merge revs 1.2 (kernel printf framework) and 1.3 (suppress K&R main warnings)
into Gcc 3.2.1 release.
-rw-r--r--contrib/gcc/c-decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc/c-decl.c b/contrib/gcc/c-decl.c
index 9b149d8..5cd13d2 100644
--- a/contrib/gcc/c-decl.c
+++ b/contrib/gcc/c-decl.c
@@ -3518,7 +3518,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;
OpenPOWER on IntegriCloud