From 50c689e1ae75a304ef7431fa489360076e837120 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 30 Sep 2005 06:47:07 +0000 Subject: Made the anonymous enum for action types into a named enum, as this causes problems for template instantiation in the latest versions of gcc. --- gnucash.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnucash.cc b/gnucash.cc index 9b107c1d..5f883059 100644 --- a/gnucash.cc +++ b/gnucash.cc @@ -49,7 +49,7 @@ static unsigned int src_idx; static istream_pos_type beg_pos; static unsigned long beg_line; -static enum { +static enum action_t { NO_ACTION, ACCOUNT_NAME, ACCOUNT_ID, -- cgit v1.2.3