Skip to content
Snippets Groups Projects
Select Git revision
  • fbed7c34bb5e3bc6ac42b397d232886591f79dfe
  • develop default protected
  • feature/gmsh-reader
  • feature/reconstruction
  • save_clemence
  • origin/stage/bouguettaia
  • feature/kinetic-schemes
  • feature/local-dt-fsi
  • feature/composite-scheme-sources
  • feature/composite-scheme-other-fluxes
  • feature/serraille
  • feature/variational-hydro
  • feature/composite-scheme
  • hyperplastic
  • feature/polynomials
  • feature/gks
  • feature/implicit-solver-o2
  • feature/coupling_module
  • feature/implicit-solver
  • feature/merge-local-dt-fsi
  • master protected
  • v0.5.0 protected
  • v0.4.1 protected
  • v0.4.0 protected
  • v0.3.0 protected
  • v0.2.0 protected
  • v0.1.0 protected
  • Kidder
  • v0.0.4 protected
  • v0.0.3 protected
  • v0.0.2 protected
  • v0 protected
  • v0.0.1 protected
33 results

CMakeLists.txt

  • Stéphane Del Pino's avatar
    fbed7c34
    Improve Assert macro · fbed7c34
    Stéphane Del Pino authored
    - do not use anymore gcc extension for __VA_ARGS__
    
    - check that parameters are always correct (string literal could be
    unchecked under NDEBUG)
    
    - when using NDEBUG, assert exception cannot be evaluated. Previously
    result was not used but non trivial assertions such as
      `container.find(key) != container.end()`
    could be evaluated. More specifically functions with potential
    boundary effects.
    
    - also, this allows to compile the code with the `-pedantic` flag.
    fbed7c34
    History
    Improve Assert macro
    Stéphane Del Pino authored
    - do not use anymore gcc extension for __VA_ARGS__
    
    - check that parameters are always correct (string literal could be
    unchecked under NDEBUG)
    
    - when using NDEBUG, assert exception cannot be evaluated. Previously
    result was not used but non trivial assertions such as
      `container.find(key) != container.end()`
    could be evaluated. More specifically functions with potential
    boundary effects.
    
    - also, this allows to compile the code with the `-pedantic` flag.