Skip to content
Snippets Groups Projects
  1. Apr 20, 2021
  2. May 06, 2020
  3. Apr 22, 2020
  4. Apr 21, 2020
  5. Apr 09, 2020
  6. Mar 11, 2019
  7. Sep 05, 2018
  8. Aug 31, 2018
  9. Aug 02, 2018
  10. Jul 16, 2018
  11. Jun 18, 2018
    • akbib's avatar
      Merge branch 'fix_inject_classname_warning' into 'master' · 1eb15f56
      akbib authored
      fix -Winjected-class-name warnings in Clang
      
      See merge request !10
      1eb15f56
    • Felix Gruber's avatar
      fix -Winjected-class-name warnings in Clang · 0bf54add
      Felix Gruber authored
      When compiling with Clang 5.0.1 one gets two warnings about nested type
      specifiers that were probably not intended to be there in the first
      place. The first one is asking a *_t type trait for ::type and the
      second one is asking for Entity::Entity.
      
      The exact warnings given by Clang were:
      
      /duneci/modules/dune-subgrid/dune/subgrid/common/variant.hh:31:66: warning: ISO C++ specifies that qualified reference to 'type' is a constructor name rather than a type in this context, despite preceding 'typename' keyword [-Winjected-class-name]
          using Storage = typename std::aligned_storage_t<sizeof(Tp)>::type;
                                                                       ^
      
      /duneci/modules/dune-subgrid/dune/subgrid/subgrid.hh:1190:67: warning: ISO C++ specifies that qualified reference to 'Entity' is a constructor name rather than a type in this context, despite preceding 'typename' keyword [-Winjected-class-name]
                  typedef typename HostGrid::template Codim<0>::Entity::Entity HostGridElement;
                                                                        ^
      0bf54add
  12. Apr 16, 2018
  13. Apr 06, 2018
  14. Feb 21, 2018
  15. Feb 19, 2018
Loading