Fix compilation with -Wc++-compat warning.
commitb799b306cab2355ee58761ae358f1566743704a1
authorSebastian Pop <sebpop@gmail.com>
Tue, 9 Jun 2009 17:20:04 +0000 (9 12:20 -0500)
committerSebastian Pop <sebpop@gmail.com>
Tue, 9 Jun 2009 17:20:04 +0000 (9 12:20 -0500)
tree9b72d585ad12fc08afae3836d1fabdf0a1b60e56
parent9901c8ab10c9a82bbd98b8ddbe155133fed89ff7
Fix compilation with -Wc++-compat warning.

Patch from Ian Lance Taylor <iant@google.com>

GCC, which now uses CLooG, aims to be written in the common subset of C
and C++.  To that end I have been enhancing GCC's -Wc++-compat warning.
A warning I committed yesterday triggers on the CLooG clast.h header
file.  This is http://gcc.gnu.org/PR40103 .

The problem is that some enum constants are defined inside of a struct.
In C++ that requires referring to the constants using the struct name as
a qualifier.
include/cloog/clast.h