diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/decl.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 54b244ce1f7..e6cdbcbcdb8 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2006-12-12 Manuel Lopez-Ibanez <manu@gcc.gnu.org> + + * decl.c (build_enumerator): Update error message to match C + front-end. + 2006-12-11 Jan Hubicka <jh@suse.cz> * decl2.c (var_finalized_p): Update for renamed varpool functions. diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 1edd7ea9d70..2e6ace3f5b6 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -10278,7 +10278,7 @@ build_enumerator (tree name, tree value, tree enumtype) } else { - error ("enumerator value for %qD not integer constant", name); + error ("enumerator value for %qD is not an integer constant", name); value = NULL_TREE; } } |