This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
CTI_MAX multiply defined?
- From: "Gary Funck" <gary at intrepid dot com>
- To: "GCC List" <gcc at gcc dot gnu dot org>
- Date: Sun, 12 Dec 2004 11:28:21 -0800
- Subject: CTI_MAX multiply defined?
revision 1.18 of optabs.h (date: 2003/10/07) introduced a
new enumerated type, convert_optab_index, which declares
a value for CTI_MAX. However, c-common.h also declares
CTI_MAX as the largest value for c_tree_index, and this
declaration pre-dates the optabs.h change. I ran into it
while working on some changes that I was porting forward
to 3.4.3. If including both optabs.h and c-common.h is
permitted, then it looks as if the optabs.h definition
needs to change.