This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: build error on head overnight
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- Cc: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Wed, 6 May 2009 11:47:13 -0700
- Subject: Re: build error on head overnight
- References: <4A0038F6.1060209@oarcorp.com>
> cp-name-parser.y: In function ?cp_comp_to_string?:
> cp-name-parser.y:1982: error: comparison between ?enum
> demangle_component_type? and ?enum <anonymous>?
> cp-name-parser.y:1987: error: comparison between ?enum
> demangle_component_type? and ?enum <anonymous>?
> make[2]: *** [cp-name-parser.o] Error 1
Hmmm, I'm not an expert in the C++ part of GDB, but it looks like
the following enums need to be moved to include/demangle.h:
enum {
GLOBAL_CONSTRUCTORS = DEMANGLE_COMPONENT_LITERAL + 20,
GLOBAL_DESTRUCTORS = DEMANGLE_COMPONENT_LITERAL + 21
};
%}
It's a little bit strange that we'd be building a generated file
with -Werror, but I guess it makes sense if the generated code
allows us to...
--
Joel