[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] G++ 3.4.6 not happy with 'tree' type.
From: |
Jun Ma |
Subject: |
Re: [Gnash-dev] G++ 3.4.6 not happy with 'tree' type. |
Date: |
Sat, 12 Apr 2008 12:46:06 +0800 |
On Fri, Apr 11, 2008 at 11:33 PM, Hubert Figuiere <address@hidden> wrote:
>
> On Fri, 2008-04-11 at 11:25 -0400, Hubert Figuiere wrote:
>
> > What if you add a #include "tree.hh" in server/character.h ?
>
> doh! ignore this. My eye were still closed.... :-/
>
>
Actually, I get out of this trouble when comment #ifdef USE_MENUS. why
not change
67 // action_buffer is externally owned
68 typedef std::vector<const action_buffer*> BufferList;
69 typedef std::map<event_id, BufferList> Events;
70 typedef std::pair<std::string, std::string> StringPair; //
ifdef USE_MENU...
71 typedef tree<StringPair> InfoTree; // ifdef USE_MENU
72
to something like:
67 // action_buffer is externally owned
68 typedef std::vector<const action_buffer*> BufferList;
69 typedef std::map<event_id, BufferList> Events;
#ifdef USE_MENUS
70 typedef std::pair<std::string, std::string> StringPair; //
ifdef USE_MENU...
71 typedef tree<StringPair> InfoTree; // ifdef USE_MENU
#endif
72