This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/36760] Simple std::bind use causes warnings with -Wextra



------- Comment #9 from paolo at gcc dot gnu dot org  2008-07-09 15:46 -------
Subject: Bug 36760

Author: paolo
Date: Wed Jul  9 15:45:50 2008
New Revision: 137660

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137660
Log:
/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.

Added:
    trunk/gcc/testsuite/g++.dg/warn/pragma-system_header5.C
    trunk/gcc/testsuite/g++.dg/warn/pragma-system_header5.h
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36760


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]