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:
Alexandre Duret-Lutz 2010-10-07 15:17:18 +02:00
parent 498b44f742
commit 1fa1621a6b
4 changed files with 63 additions and 48 deletions

1
THANKS
View file

@ -6,4 +6,5 @@ Jean-Michel Couvreur
Jean-Michel Ilié
Kristin Y. Rozier
Rüdiger Ehlers
Silien Hong
Yann Thierry-Mieg