Minor fixes to compile with GCC 3.3
* src/ltlast/automatop.cc, src/ltlast/automatop.hh: Rename nfa as get_nfa to avoid a name clash with the `nfa' class. * src/ltlvisit/clone.cc, src/ltlvisit/nenoform.cc, src/ltlvisit/tostring.cc, src/tgbaalgos/eltl2tgba_lacim.cc: Use get_nfa instead of nfa. * src/tgba/tgbasafracomplement.cc: Don't use a const_reverse_iterator.
This commit is contained in:
parent
dcf7eed11f
commit
0d6fd3225a
8 changed files with 27 additions and 13 deletions
|
|
@ -815,7 +815,7 @@ namespace spot
|
|||
void print_safra_automaton(safra_tree_automaton* a)
|
||||
{
|
||||
safra_tree_automaton::automaton_t node_list = a->automaton;
|
||||
typedef safra_tree_automaton::automaton_t::const_reverse_iterator
|
||||
typedef safra_tree_automaton::automaton_t::reverse_iterator
|
||||
automaton_cit;
|
||||
typedef safra_tree_automaton::transition_list::const_iterator
|
||||
trans_cit;
|
||||
|
|
@ -825,6 +825,8 @@ namespace spot
|
|||
|
||||
std::cout << "digraph A {" << std::endl;
|
||||
|
||||
/// GCC 3.3 complains if a const_reverse_iterator is used.
|
||||
/// error: no match for 'operator!='
|
||||
for (automaton_cit i = a->automaton.rbegin();
|
||||
i != a->automaton.rend();
|
||||
++i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue