diff options
author | mmitchel <> | 2005-10-14 18:50:08 +0000 |
---|---|---|
committer | mmitchel <> | 2005-10-14 18:50:08 +0000 |
commit | 8d7175b3dedd351227eabef5bb79230c38153f9b (patch) | |
tree | a92acb52906f3524fb18cda3d190a9e9183cb38e /gcc/cp/ChangeLog | |
parent | 7096553beff47cd38563947e0222b430e3bdefe1 (diff) |
PR c++/19565
* g++.dg/warn/Wconversion1.C: New test.
* g++.dg/ext/packed4.C: Compile with -w.
* g++.dg/opt/20050511-1.C: Likewise.
* g++.old-deja/g++.other/warn4.C: Compiler with -Wconversion.
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 00e0af2a083..7b2ff855d64 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,15 @@ +2005-10-14 Mark Mitchell <mark@codesourcery.com> + + PR c++/19565 + * call.c (convert_like_real): Rely on convert_and_check to issue + warnings about overflow and conversion to unsigned. + * decl.c (finish_enum): Use the location of the enumerators, not + the closing brace of the enumeration, when reporting warnings + about conversions. + (build_enumerator): Use error_mark_node for erroneous values. + * typeck2.c (digest_init): Remove reference to "signature pointer" + from comment. + 2005-10-14 Nathan Sidwell <nathan@codesourcery.com> PR c++/17796 |