Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • dumux dumux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 100
    • Issues 100
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 86
    • Merge requests 86
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • dumux-repositoriesdumux-repositories
  • dumuxdumux
  • Issues
  • #774
Closed
Open
Issue created Oct 03, 2019 by Kilian Weishaupt@kweisMaintainer

[material][3pimmiscible] Clang does not compile with DUNE_THROW in constexpr function

!1726 (merged) introduced a DUNE_THROW as default case for a switch in, e.g.,

static constexpr bool isGas(int phaseIdx)

because the compiler would rise a warning otherwise. However, clang does not allow Dune exceptions in constexpr functions. How should we handle this? Just return false per default, omitting the DUNE_THROW?

Assignee
Assign to
Time tracking