Hide the safra_tree_automaton type from the public interface.
We do that because the declaration of this type, which is local to src/tgba/tgbasafracomplement.cc has a member in an anonymous namespace, and some versions of g++-4.2 issue a very annoying warning about this legitimate code. See Bug 29365 on GCC's Bugzilla. Report by Silien Hong <silien.hong@lip6.fr>. * src/tgba/tgbasafracomplement.hh (safra_tree_automaton): Do not forward declare. (tgba_safra_complement): Use void* instead of safra_tree_automaton*. * src/tgba/tgbasafracomplement.cc: static_cast void* to safra_tree_automaton* anywhere needed.
This commit is contained in:
parent
498b44f742
commit
1fa1621a6b
4 changed files with 63 additions and 48 deletions
17
ChangeLog
17
ChangeLog
|
|
@ -1,3 +1,20 @@
|
|||
2010-10-07 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||
|
||||
Hide the safra_tree_automaton type from the public interface.
|
||||
|
||||
We do that because the declaration of this type, which is local to
|
||||
src/tgba/tgbasafracomplement.cc has a member in an anonymous
|
||||
namespace, and some versions of g++-4.2 issue a very annoying
|
||||
warning about this legitimate code. See Bug 29365 on GCC's
|
||||
Bugzilla. Report by Silien Hong <silien.hong@lip6.fr>.
|
||||
|
||||
* src/tgba/tgbasafracomplement.hh (safra_tree_automaton): Do not
|
||||
forward declare.
|
||||
(tgba_safra_complement): Use void* instead of
|
||||
safra_tree_automaton*.
|
||||
* src/tgba/tgbasafracomplement.cc: static_cast void* to
|
||||
safra_tree_automaton* anywhere needed.
|
||||
|
||||
2010-05-20 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||
|
||||
Fix the --enable-optimizations check.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue