misc: fix some down_cast issues
We had new failure on MinGW with GCC believing that some pointer returned by down_cast could be NULL; and the down_cast function was in the global namespace. * spot/misc/casts.hh: Rewrite. * NEWS: Mention the small issues. * tests/core/ikwiad.cc, tests/core/ngraph.cc: Adjust to use spot::down_cast instead of down_cast.
This commit is contained in:
parent
91fdc5ecb2
commit
8a74ae6c9d
4 changed files with 30 additions and 102 deletions
4
NEWS
4
NEWS
|
|
@ -246,6 +246,10 @@ New in spot 2.4.4.dev (net yet released)
|
|||
- ltlcross could crash when calling remove_fin() on an automaton
|
||||
with 32 acceptance sets would need an additional set.
|
||||
|
||||
- the down_cast() helper function used in severaly headers of Spot
|
||||
was not in the spot namespace, and caused issues with some
|
||||
configurations of GCC.
|
||||
|
||||
New in spot 2.4.4 (2017-12-25)
|
||||
|
||||
Bugs fixed:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue