re PR bootstrap/40103 (CLooG header files are not -Wc++-compat ready)
PR bootstrap/40103 * graphite.c: Force -Wc++-compat to only be a warning before #including "cloog/cloog.h". From-SVN: r147407
This commit is contained in:
parent
1c3c34dbec
commit
b7dd69ac5b
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2009-05-11 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
PR bootstrap/40103
|
||||
* graphite.c: Force -Wc++-compat to only be a warning before
|
||||
#including "cloog/cloog.h".
|
||||
|
||||
2009-05-11 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
* ipa-cp.c (ipcp_cloning_candidate_p): Add missing return false.
|
||||
|
|
|
@ -56,6 +56,13 @@ along with GCC; see the file COPYING3. If not see
|
|||
#include "gimple.h"
|
||||
|
||||
#ifdef HAVE_cloog
|
||||
|
||||
/* The CLooG header file is not -Wc++-compat ready as of 2009-05-11.
|
||||
This #pragma should be removed when it is ready. */
|
||||
#if GCC_VERSION >= 4003
|
||||
#pragma GCC diagnostic warning "-Wc++-compat"
|
||||
#endif
|
||||
|
||||
#include "cloog/cloog.h"
|
||||
#include "graphite.h"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue