Skip to content
Snippets Groups Projects
  1. Oct 06, 2014
    • Dominic Kempf's avatar
      [test] [CMake] Make debugallocator tests pass with ctest · e2a5a893
      Dominic Kempf authored
      testdebugallocator_fail{1..5} are a very special sort of tests,
      as in order to pass they are expected to fail with a signal like
      SIGABRT or SIGSEGV. While autotools, dont distinguish much
      about how a test failed, if it is supposed to fail, ctest
      handles signals from the test and distinguishes this from
      normal termination with nonzero exit code.
      
      This commit introduces a signal handling in the test itself,
      that causes the program to terminate "normally" with a nonzero exit
      code instead of passing the signal to the fathering process
      (ctest). The signal, which is expected to be received can be set
      from CMakeLists.txt via a preprocessor variable.
      e2a5a893
  2. Oct 02, 2014
  3. Oct 01, 2014
  4. Sep 30, 2014
  5. Sep 29, 2014
    • Dominic Kempf's avatar
      Add binaryfunctions.hh as an include to CollectiveCommunication · 05f43148
      Dominic Kempf authored
      CollectiveCommunication serves as a fallback implementation, when
      code that is written for parallel computations is executed in sequential.
      The template parameters BinaryFunctions are no-op then, but they are
      still there to define the interface. However, in a generic (parallel)
      implementation these will be given. Including binaryfunctions.hh here
      avoids error messages due to no-op template parameters whose names
      could not be found by the compiler.
      05f43148
  6. Sep 24, 2014
    • Christoph Gersbacher's avatar
      [integer sequence] implement backwards compatible version of integer_sequence · e469a2fb
      Christoph Gersbacher authored
      C++14 will introduce integer/index sequences in the header <utility>.
      This patch introduces a backwards compatible implementation similar in
      use. However, the implementation differs in the following technical
      details:
      
        - index_sequence is not a template alias for integer_sequence but
        inherits from it
      
        - make_{integer, index}_sequence are not a template aliases but free
        standing functions
      
      Both differences stem from the absence of template aliases introduced in
      GCC aa late as gcc-4.7. This implementation will work in gcc-4.4 and
      later.
      e469a2fb
  7. Sep 16, 2014
  8. Sep 10, 2014
    • Martin Nolte's avatar
      [bugfix] add missing include visibility.hh · 2309b953
      Martin Nolte authored
      When using DUNE_EXPORT, you need to include visibility.hh. This was
      omitted when adding this flag to the Singleton class in singleton.hh.
      This patch adds the missing include.
      2309b953
  9. Sep 08, 2014
  10. Aug 29, 2014
    • Christoph Grüninger's avatar
      Reduce number of warnings. · 6bbf986b
      Christoph Grüninger authored
      nullptr-test.cc: Move semicolon to own line to prevent
      Clang warning.
      typetraitstest.cc: Exclude use of deprecated types
      PointeeType and ReferredType with
      DISABLE_DEPRECATED_METHOD_CHECKS defined.
      6bbf986b
  11. Aug 18, 2014
    • Andreas Lauser's avatar
      parameter tree parser: do not try to access the first character of empty strings · fe8cb3dc
      Andreas Lauser authored
      funnily enough, this usually worked (i.e. it returned some garbage
      which was not recognized by the switch statement that followed), and
      was not detected by valgrind (on my machine at least, I suppose this
      was because the address to which the string pointed was still a valid
      memory location created by some previous user). The libstdc++ debug
      mode (-D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1) did find it
      though...
      fe8cb3dc
  12. Jul 18, 2014
  13. Jul 07, 2014
  14. Jul 06, 2014
  15. Jun 30, 2014
    • Tobias Malkmus's avatar
      [bugfix] add move semantics to DynamicVector · f19517d7
      Tobias Malkmus authored
      Gcc 4.6 cannot generate default move constructor for classes containing a
      DynamicVector because there is no move constructor and the copy constructor
      is non-trivial.
      This patch fixes this, by adding move semantics.
      f19517d7
  16. Jun 23, 2014
  17. Jun 22, 2014
  18. Jun 03, 2014
  19. May 22, 2014
  20. May 20, 2014
  21. May 15, 2014
  22. May 14, 2014
  23. May 02, 2014
  24. Apr 17, 2014
  25. Apr 16, 2014
    • Andreas Dedner's avatar
      check for the problem reported in FS#1456 · 586174c1
      Andreas Dedner authored
      (the problem are operators of the type FieldVector<double,1> *= int)
      clang fails and gcc (4.7) warns about
      ISO C++ saying that these operators are aambiguous
      586174c1
    • Markus Blatt's avatar
      [g++-4.4] Fixes missing std::initializer_list::const_iterator for g++-4.4. · bd498e0d
      Markus Blatt authored
      With g++-4.4 I got the following errors:
      
      fmatrix.hh:106: error: no type named ‘const_iterator’ in ‘class std::initializer_list<std::initializer_list<int> >’
      
      Looking into the header there is indeed the const_iterator (demanded by the standard)
      missing. Therefore I refactored the code to use std::copy_n and thus am omitting the iterator
      type.
      
      At the same time I made the actual copying safer for the case that the initializer_list
      is of different size and people compile with -DNDEBUG. The assertion for the size is still
      left in there. Remove the assert or the size computation at your discretion.
      bd498e0d
    • Oliver Sander's avatar
      7faf61fe
Loading