Commit 5f43fec8 authored by Thomas Medioni's avatar Thomas Medioni

bench: fix stutter bench compiler errors.

* NEWS: mention this fix.
* bench/stutter/stutter_bench.sh, bench/stutter/user.sh: Path to spot
  binaries would include an inexistant src directory.
* bench/stutter/stutter_invariance_formulas.cc: Add override qualifier
  to satisfy -Wsuggest-override.
parent be411553
...@@ -33,6 +33,9 @@ New in spot 2.3.2.dev (not yet released) ...@@ -33,6 +33,9 @@ New in spot 2.3.2.dev (not yet released)
- spot::twa_graph::purge_unreachable_states() was misbehaving on - spot::twa_graph::purge_unreachable_states() was misbehaving on
alternating automata. alternating automata.
- In bench/stutter/ the .cc files were not compiling due to warnings being
caught as errors.
Backward-incompatible changes: Backward-incompatible changes:
- spot::acc_cond::mark_t::operator bool() has been marked as - spot::acc_cond::mark_t::operator bool() has been marked as
......
#!/bin/sh #!/bin/sh
RANDLTL=../../src/bin/randltl RANDLTL=../../bin/randltl
LTLFILT=../../src/bin/ltlfilt LTLFILT=../../bin/ltlfilt
echo 'ltl-user-bench.csv:; ./user.sh' > run.mk echo 'ltl-user-bench.csv:; ./user.sh' > run.mk
......
...@@ -54,14 +54,14 @@ namespace ...@@ -54,14 +54,14 @@ namespace
int int
process_string(const std::string& input, process_string(const std::string& input,
const char* filename, int linenum) const char* filename, int linenum) override
{ {
formula = input; formula = input;
return job_processor::process_string(input, filename, linenum); return job_processor::process_string(input, filename, linenum);
} }
int int
process_formula(spot::formula f, const char*, int) process_formula(spot::formula f, const char*, int) override
{ {
spot::twa_graph_ptr a = trans.run(f); spot::twa_graph_ptr a = trans.run(f);
spot::twa_graph_ptr na = trans.run(spot::formula::Not(f)); spot::twa_graph_ptr na = trans.run(spot::formula::Not(f));
......
#!/bin/sh #!/bin/sh
RANDLTL=../../src/bin/randltl RANDLTL=../../bin/randltl
LTLFILT=../../src/bin/ltlfilt LTLFILT=../../bin/ltlfilt
LTLDO=../../src/bin/ltldo LTLDO=../../bin/ltldo
set -e -x set -e -x
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment