Skip to content
Snippets Groups Projects
  1. Jan 23, 2013
  2. Nov 25, 2012
    • Christian Engwer's avatar
      [hash] · ab1f43c9
      Christian Engwer authored
      Add support for boost::hash
      
      This patch adds boost::hash as a fallback option for Dune::hash
      if neither std::hash nor std::tr1::hash can be found. We only
      have to include the appropriate header and import the name into
      the Dune namespace, as the built-in extension mechanism of boost::hash
      will automatically pick up the global hash_value() functions.
      
      To test whether the mechanism actually works, the patch also adds
      boost::hash to the list of hash implementations tested in
      bigunsignedinttest.
      
      Kudos to Steffen Müthing, see FS#1192
      
      [[Imported from SVN: r7067]]
      ab1f43c9
    • Christian Engwer's avatar
      [hash] · 76733f41
      Christian Engwer authored
      Add basic support for hashing using Dune::hash
      
      This patch introduces the functor Dune::hash in a similar manner to
      other C++11 functionality by importing the definition from namespace std.
      
      Apart from that, the patch also provides some basic functionality to simplify
      making user-defined types hashable, in particular functions for combining hashes
      and hashing iterator ranges as well as a mechanism for defining the struct
      specializations required by std::hash and std::tr1::hash in the correct namespace.
      
      The current implementation will first try to use std::hash and, if that fails,
      attempt to fall back on std::tr1::hash. If that is not available either, hash
      support is disabled as there is no homegrown fallback for now.
      The extension mechanism will register the type with both std::hash and std::tr1::hash,
      if available. This should make it possible to use unordered_{set,map} from both C++11
      and TR1 without having to specify a custom hasher.
      
      Kudos to Steffen Müthing, see FS#1192
      
      [[Imported from SVN: r7065]]
      76733f41
  3. Nov 11, 2012
  4. Nov 10, 2012
    • Christoph Grüninger's avatar
      [gmp.m4] · f6ed06cb
      Christoph Grüninger authored
      Add check for libgmpxx.
      It should not happen but I had the problem with two systems (Mac OS X
      and Hermit XE6) that gmpxx.hh was found but no libgmpxx.
      
      [[Imported from SVN: r7057]]
      f6ed06cb
  5. Nov 06, 2012
  6. Oct 25, 2012
  7. Oct 07, 2012
  8. Oct 06, 2012
  9. Oct 05, 2012
    • Christian Engwer's avatar
      [m4] · b5256028
      Christian Engwer authored
      add new test for sys/mman.h and the sysmbol posix_mprotect
      
      [[Imported from SVN: r7015]]
      b5256028
  10. Sep 22, 2012
    • Martin Nolte's avatar
      only use std::integral_constant, if it conforms to the C++11 standard · a35de714
      Martin Nolte authored
      C++11 requires a cast operator from integral_constant< T, v > to T. As far as I
      could make out, no gcc version provides this cast in <tr1/type_traits> and only
      gcc >= 4.6 provides it in <type_traits>. Therefore, the configure check now tests
      for the cast operator only in <type_traits>.
      
      Note: Our drop-in replacement conforms to the standard in the above-mentioned
      sense.
      
      [[Imported from SVN: r6992]]
      a35de714
  11. Sep 20, 2012
    • Christoph Grüninger's avatar
      [cxx0x_compiler.m4] · 54e77c9f
      Christoph Grüninger authored
      Try -std=c++11 before -std=c++0x as the latter causes a warning for
      Clang. (solves partly FS#989)
      
      [[Imported from SVN: r6986]]
      54e77c9f
  12. Sep 18, 2012
    • Christoph Grüninger's avatar
      [dune_compiler.m4] · 153091f4
      Christoph Grüninger authored
      Updated version test to gcc >= 4.1.
      Added version test for clang >= 3.0.
      Unfortunately I am not aware of the minimum required version of icc,
      this test remains for icc >= 7.0.
      White space adjustments.
      
      [[Imported from SVN: r6985]]
      153091f4
  13. Sep 03, 2012
  14. Aug 31, 2012
    • Markus Blatt's avatar
      Order matters when providing libs. All symbols used by a library must · 61315333
      Markus Blatt authored
      have been already seen by the linker. As DUNE_LIBS (e.g. dune-grid)
      use symbols from other libraries already in ALL_PKG_LIBS (e.g. those of the
      alugrid library), they should be appended to them.
      
      On the other hand libtool removes duplicate libraries provided when
      linking from, such that only the first occurence persits. Resulting
      e.g. in libalugrid coming after libgrid.
      
      This never caused problems because libtool added dependencies known to
      it from the .la file automatically. But it does when using dune core
      packages built with cmake (these lack .la files).
      
      All tests of the core module pass (except one in virtual
      refinement). Additionally dune-grid-howto build with ug and alugrid enabled.
      
      [[Imported from SVN: r6949]]
      61315333
    • Oliver Sander's avatar
      Remove the test for malloc(0). · e63fde54
      Oliver Sander authored
      Patch by Markus Blatt.
      
      See FS 979
      
      [[Imported from SVN: r6947]]
      e63fde54
  15. Aug 26, 2012
  16. Aug 12, 2012
  17. Aug 10, 2012
  18. Jul 27, 2012
  19. Jul 26, 2012
  20. Jul 06, 2012
    • Christian Engwer's avatar
      [m4] · b2be2a28
      Christian Engwer authored
      fix typo in ax_boost_base (thanks to Bård Skaflestad for the patch)
      
      [[Imported from SVN: r6818]]
      b2be2a28
  21. Jun 19, 2012
  22. Jun 12, 2012
  23. May 25, 2012
    • Oliver Sander's avatar
      [m4] · 0837f527
      Oliver Sander authored
      avoid unused variable warnings/error in nullptr test
      patch by Matthias Wohlmuth
      
      
      [[Imported from SVN: r6771]]
      0837f527
  24. May 23, 2012
  25. May 22, 2012
  26. May 20, 2012
  27. May 15, 2012
  28. Apr 30, 2012
  29. Apr 03, 2012
  30. Mar 20, 2012
  31. Mar 05, 2012
Loading