diff options
author | Ian Lance Taylor <iant@google.com> | 2009-05-12 01:26:45 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2009-05-12 01:26:45 +0000 |
commit | b7dd69ac5b7f03bf9a746eeac8575b21f0f1a808 (patch) | |
tree | b36a6125eb6c3ca5fb7425233887ac7d9bd04ceb /gcc/graphite.c | |
parent | 1c3c34dbec4c1c3d69baf8c403b51bb29032af7b (diff) | |
download | gcc-b7dd69ac5b7f03bf9a746eeac8575b21f0f1a808.zip gcc-b7dd69ac5b7f03bf9a746eeac8575b21f0f1a808.tar.gz gcc-b7dd69ac5b7f03bf9a746eeac8575b21f0f1a808.tar.bz2 |
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
Diffstat (limited to 'gcc/graphite.c')
-rw-r--r-- | gcc/graphite.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c index e106f48..6b497a8 100644 --- a/gcc/graphite.c +++ b/gcc/graphite.c @@ -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" |