[aspect-devel] ‘DEAL_II_FALLTHROUGH’ was not declared in this scope

Wolfgang Bangerth bangerth at tamu.edu
Wed Jun 28 01:35:08 PDT 2017


> after updating dealII to the latest version I'm having trouble compiling 
> Aspect. If someone could help me fix it I would appreciate it.
> 
> [  0%] Building CXX object 
> CMakeFiles/aspect.dir/source/simulator/free_surface.cc.o
> In file included from 
> /home/lev/aspect/dealii_debug/include/deal.II/base/timer.h:23:0,
>                   from 
> /home/lev/aspect/aspect_orig_debug/include/aspect/simulator.h:25,
>                   from 
> /home/lev/aspect/aspect_orig_debug/source/simulator/free_surface.cc:22:
> /home/lev/aspect/dealii_debug/include/deal.II/base/utilities.h: In function 
> ‘Iterator dealii::Utilities::lower_bound(Iterator, Iterator, const T&, Comp)’:
> /home/lev/aspect/dealii_debug/include/deal.II/base/utilities.h:668:17: error: 
> ‘DEAL_II_FALLTHROUGH’ was not declared in this scope
>                   DEAL_II_FALLTHROUGH;
>                   ^

Did you reconfigure, recompile, and reinstall deal.II after updating it? It 
doesn't make sense that you would get this error from ASPECT because the 
occurrence of the problem is in deal.II and you would have run into it already 
when compiling deal.II...

Best
  W.

-- 
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bangerth at colostate.edu
                            www: http://www.math.colostate.edu/~bangerth/



More information about the Aspect-devel mailing list