Patch from Heikki Tauriainen <heikki.tauriainen@hut.fi>.

* src/tgbaalgos/gtec/ce.cc (counter_example::counter_example): Do
not parenthesize the type after the new operator (g++ 3.4 complains).
* src/tgbaalgos/dupexp.cc (dupexp_iter::process_state,
dupexp_iter::declare_state): Use this->automata_instead of
automata_.   Local member automata_ inherited from template base
classes must be prefixed or g++ 3.4 will not look them
up (conforming to 14.6.2.3).
This commit is contained in:
Alexandre Duret-Lutz 2004-07-08 14:50:46 +00:00
parent e11da2e3af
commit 59df610023
3 changed files with 15 additions and 4 deletions

View file

@ -1,3 +1,14 @@
2004-07-08 Alexandre Duret-Lutz <adl@src.lip6.fr>
Patch from Heikki Tauriainen <heikki.tauriainen@hut.fi>.
* src/tgbaalgos/gtec/ce.cc (counter_example::counter_example): Do
not parenthesize the type after the new operator (g++ 3.4 complains).
* src/tgbaalgos/dupexp.cc (dupexp_iter::process_state,
dupexp_iter::declare_state): Use this->automata_ instead of
automata_.   Local member automata_ inherited from template base
classes must be prefixed or g++ 3.4 will not look them
up (conforming to §14.6.2.3).
2004-07-07 Alexandre Duret-Lutz <adl@src.lip6.fr> 2004-07-07 Alexandre Duret-Lutz <adl@src.lip6.fr>
* lbtt/: Merge lbtt 1.1.0. * lbtt/: Merge lbtt 1.1.0.

View file

@ -1,4 +1,4 @@
// Copyright (C) 2003 Laboratoire d'Informatique de Paris 6 (LIP6), // Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
// département Systèmes Répartis Coopératifs (SRC), Université Pierre // département Systèmes Répartis Coopératifs (SRC), Université Pierre
// et Marie Curie. // et Marie Curie.
// //
@ -46,7 +46,7 @@ namespace spot {
process_state(const state* s, int n, tgba_succ_iterator*) process_state(const state* s, int n, tgba_succ_iterator*)
{ {
std::ostringstream os; std::ostringstream os;
os << "(#" << n << ") " << automata_->format_state(s); os << "(#" << n << ") " << this->automata_->format_state(s);
name_[n] = os.str(); name_[n] = os.str();
} }
@ -58,7 +58,7 @@ namespace spot {
if (i == name_.end()) if (i == name_.end())
{ {
std::ostringstream os; std::ostringstream os;
os << "(#" << n << ") " << automata_->format_state(s); os << "(#" << n << ") " << this->automata_->format_state(s);
name_[n] = str = os.str(); name_[n] = str = os.str();
} }
else else

View file

@ -42,7 +42,7 @@ namespace spot
int comp_size = root.size(); int comp_size = root.size();
// Transform the stack of connected component into an array. // Transform the stack of connected component into an array.
explicit_connected_component** scc = explicit_connected_component** scc =
new (explicit_connected_component*)[comp_size]; new explicit_connected_component*[comp_size];
for (int j = comp_size - 1; 0 <= j; --j) for (int j = comp_size - 1; 0 <= j; --j)
{ {
scc[j] = eccf->build(); scc[j] = eccf->build();