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

Lev Karatun lev.karatun at gmail.com
Tue Jun 27 12:43:09 PDT 2017


Hi everyone,

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;
                 ^
In file included from
/home/lev/aspect/dealii_debug/include/deal.II/base/tensor.h:21:0,
                 from
/home/lev/aspect/dealii_debug/include/deal.II/base/symmetric_tensor.h:20,
                 from
/home/lev/aspect/aspect_orig_debug/include/aspect/simulator.h:28,
                 from
/home/lev/aspect/aspect_orig_debug/source/simulator/free_surface.cc:22:
/home/lev/aspect/dealii_debug/include/deal.II/base/table_indices.h: In
constructor ‘dealii::TableIndices<N>::TableIndices(unsigned int, unsigned
int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int,
unsigned int, unsigned int)’:
/home/lev/aspect/dealii_debug/include/deal.II/base/table_indices.h:145:7:
error: ‘DEAL_II_FALLTHROUGH’ was not declared in this scope
       DEAL_II_FALLTHROUGH;
       ^
/home/lev/aspect/dealii_debug/include/deal.II/base/table_indices.h:180:7:
error: ‘DEAL_II_FALLTHROUGH’ was not declared in this scope
       DEAL_II_FALLTHROUGH;
       ^
make[2]: *** [CMakeFiles/aspect.dir/source/simulator/free_surface.cc.o]
Error 1
make[1]: *** [CMakeFiles/aspect.dir/all] Error 2
make: *** [all] Error 2



Best regards,
Lev Karatun.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20170627/fb9f79ba/attachment.html>


More information about the Aspect-devel mailing list