]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/36760 (Simple std::bind use causes warnings with -Wextra)
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 9 Jul 2008 15:45:50 +0000 (15:45 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 9 Jul 2008 15:45:50 +0000 (15:45 +0000)
commitaf5216d3e1434791092452c3de983dd52ca131cd
tree98a09d1bcf6bafdf1d157cc33d04782be90ba063
parent361eefe75db3b115f4a33d8b5bdd04996df4c4d9
re PR c++/36760 (Simple std::bind use causes warnings with -Wextra)

/cp
2008-07-09  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/36760
* pt.c (tsubst_function_type): Don't warn for type qualifiers
on function return type in case of system header.

/testsuite
2008-07-09  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/36760
* g++.dg/warn/pragma-system_header5.C: New.
* g++.dg/warn/pragma-system_header5.h: Likewise.

From-SVN: r137660
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/pragma-system_header5.C [new file with mode: 0644]
gcc/testsuite/g++.dg/warn/pragma-system_header5.h [new file with mode: 0644]