OSDN Git Service

2007-01-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jan 2007 16:04:57 +0000 (16:04 +0000)
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jan 2007 16:04:57 +0000 (16:04 +0000)
commitbf6fb4510b8c9474e7b85eb5342dd715bbb1c9b7
tree5b96e701d3d706d8fc0921298755fa9474f24446
parentae451f6e1c875476feb8a6bd84a77a31d8116606
2007-01-19  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

PR c++/17947
* toplev.c (warn_deprecated_use): Use %qD instead of %qs to
print the name of the declared identifier.

testsuite/
* g++.dg/warn/deprecated.C: Update warning output.
* g++.dg/warn/deprecated-2.C: Likewise.
* g++.dg/warn/deprecated-3.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120969 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/deprecated-2.C
gcc/testsuite/g++.dg/warn/deprecated-3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/warn/deprecated.C
gcc/toplev.c