Skip to content
Snippets Groups Projects
  • Ansgar Burchardt's avatar
    57737833
    fix build failure with GCC 12 · 57737833
    Ansgar Burchardt authored
    This fixed the following error when building with GCC 12.1.0-8 (Debian):
    
    ```
    /src/dune-gfe/dune/gfe/rotation.hh:225:42: error: invalid declarator before 'axis'
      225 |     Rotation<T,3>(Dune::FieldVector<T,3> axis, T angle)
          |                                          ^~~~
    /src/dune-gfe/dune/gfe/rotation.hh:225:41: error: expected ')' before 'axis'
      225 |     Rotation<T,3>(Dune::FieldVector<T,3> axis, T angle)
          |                  ~                      ^~~~~
          |                                         )
    ```
    Verified
    57737833
    History
    fix build failure with GCC 12
    Ansgar Burchardt authored
    This fixed the following error when building with GCC 12.1.0-8 (Debian):
    
    ```
    /src/dune-gfe/dune/gfe/rotation.hh:225:42: error: invalid declarator before 'axis'
      225 |     Rotation<T,3>(Dune::FieldVector<T,3> axis, T angle)
          |                                          ^~~~
    /src/dune-gfe/dune/gfe/rotation.hh:225:41: error: expected ')' before 'axis'
      225 |     Rotation<T,3>(Dune::FieldVector<T,3> axis, T angle)
          |                  ~                      ^~~~~
          |                                         )
    ```