1. 08 Jun, 2009 1 commit
  2. 05 Jun, 2009 1 commit
    • Alexandre Duret-Lutz's avatar
      BOOST_CPPFLAGS were ignored while compiling lib/. · 9563f878
      Alexandre Duret-Lutz authored
      * lib/src/libcommon.mk: Do not overwrite AM_CPPFLAGS with a list
      of include directories that is less complete than the one in
      vaucanson.mk, use...
      (libvcsn_common_la_CPPFLAGS, libvcsn_common_ex_la_CPPFLAGS):
      ... these variable to augmant AM_CPPFLAGS instead.
      9563f878
  3. 26 May, 2009 4 commits
  4. 18 May, 2009 4 commits
  5. 14 May, 2009 2 commits
    • Alexandre Duret-Lutz's avatar
      abs() no longer works with g++ 4.4., we must write std::abs(). · ab9f5038
      Alexandre Duret-Lutz authored
      * include/vaucanson/algebra/implementation/semiring/numerical_semiring.hxx,
      include/vaucanson/misc/random.hxx: Use std::abs() instead of abs().
      * include/vaucanson/algebra/implementation/semiring/rational_number.hxx:
      Likewise, and also include <cstdlib> for abs(int).
      ab9f5038
    • Alexandre Duret-Lutz's avatar
      Introduce libvcsn-common-ex.la in addition to libvcsn-common.la · 4ddbd80e
      Alexandre Duret-Lutz authored
      to decide whether exceptions should be used in preconditions.
      
      This fixes errors in taf-kit's test-suite when compiled with GCC
      4.4.  The code was making the bogus assumption that the inline
      function trap() was not inlined in the context libraries (compiled
      without exceptions) and could therefore be overwritten as a weak
      symbol in TAF-Kit (to use exceptions).
      
      * include/vaucanson/misc/contract.hh (vcsn::misc::contract::trap):
      Leave only a declaration and move the definition...
      * src/misc/contract.cc: ... in this new file.
      * lib/src/libcommon.mk: Adjust for contract.cc and build two
      libraries: libvcsn-common.la (with abort()) and
      libvcsn-common-ex.la (with exceptions).
      * data/automata/char-b/Makefile.am,
      data/automata/char-fmp-b/Makefile.am,
      data/automata/char-z/Makefile.am, taf-kit/src/Makefile.am,
      vaucanswig/meta/Makefile.am, src/tests/sanity/Makefile.am,
      src/tests/xml/Makefile.am: Link with libvcsn-common.la or
      libvcsn-common-ex.la.
      * taf-kit/src/common.hh (EXCEPTION_TRAPS): Remove #define.
      * src/bench/common/bench.mk (AM_CPPFLAGS): Remove useless
      -DEXCEPTION_TRAPS.
      * vaucanswig/expand.sh: Likewise.
      * src/tests/check/Makefile.am: Build libcheck.la instead
      of libcheck.a, so we can depend on libvcsn-common-ex.la
      * src/tests/check/check.mk: Use libcheck.la and
      libvcsn-common-ex.la.
      * src/tests/test-suites/test-suite.mk: Don't define
      EXCEPTION_TRAPS and don't add libvcsn-common-ex.la to LDADD
      (check.mk already does it).
      4ddbd80e
  6. 13 May, 2009 1 commit
    • Alexandre Duret-Lutz's avatar
      Rename libkrat_exp.la as libvcsn_common.la, and move lib/krat_exp/ · d8c81c6a
      Alexandre Duret-Lutz authored
      to lib/src/krat_exp/, so that we can later integrate more code
      into libvcsn_common.la.
      
      * bootstrap: Don't run bison, the Makefile will do it.
      * lib/krat_exp/krat_exp_bison.yy: Move ...
      * lib/src/krat_exp/krat_exp_bison.yy: ... here.
      * lib/krat_exp/libkrat_exp.mk: Rename as ...
      * lib/src/libcommon.mk: ... this, and adjust to the new names.
      * src/demos/algorithms/Makefile.am,
      src/demos/one_rule_rewriting/Makefile.am,
      src/demos/vgrep/Makefile.am, src/tests/xml/Makefile.am,
      taf-kit/src/Makefile.am, lib/Makefile.am: Change all references to
      libkrat_exp.la into libvcsn-common.la.
      d8c81c6a
  7. 12 May, 2009 1 commit
  8. 11 May, 2009 3 commits
  9. 06 May, 2009 4 commits
  10. 04 May, 2009 2 commits
  11. 30 Apr, 2009 8 commits
  12. 17 Apr, 2009 1 commit
  13. 16 Apr, 2009 6 commits
  14. 15 Apr, 2009 2 commits