This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 2016-11-30 08:34, Pedro Alves wrote:
On 11/24/2016 03:32 PM, Simon Marchi wrote:This patch changes the ui_out flags to be an enum flag.OK./* flags enum */ -enum ui_flags +enum ui_out_flag { - ui_from_tty = 1, ui_source_list = 2 }; +DEF_ENUM_FLAGS_TYPE (ui_out_flag, ui_out_flags);Please add an "#include common/enum-flags.h", so the file includes what it needs instead of relying on indirect includes.
Good catch, I am not very good at remembering that.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |