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

Lev Karatun lev.karatun at gmail.com
Tue Sep 5 22:32:58 PDT 2017


Hi,

I'm getting an error trying to update Aspect:

[  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_test/include/aspect/simulator.h:25,
>                  from
> /home/lev/aspect/aspect_test/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:670: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:22:0,
>                  from
> /home/lev/aspect/dealii_debug/include/deal.II/base/point.h:22,
>                  from
> /home/lev/aspect/dealii_debug/include/deal.II/base/patterns.h:23,
>                  from
> /home/lev/aspect/dealii_debug/include/deal.II/base/parameter_handler.h:23,
>                  from
> /home/lev/aspect/aspect_test/include/aspect/simulator.h:26,
>                  from
> /home/lev/aspect/aspect_test/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:279: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:314: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


Not sure if it's relevant, but I got the following error when trying to run
"make install" for dealII (while updating it to the latest version), fixed
by running it as root (not sure if it's a good enough workaround).

Install the project...
> -- Install configuration: "DebugRelease"
> -- Up-to-date: /usr/local/share/deal.II/scripts/normalize.pl
> CMake Error at cmake/scripts/cmake_install.cmake:36 (FILE):
>   file INSTALL cannot set permissions on
>   "/usr/local/share/deal.II/scripts/normalize.pl"
> Call Stack (most recent call first):
>   cmake_install.cmake:37 (INCLUDE)
> make: *** [install] Error 1


Any help will be appreciated.

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


More information about the Aspect-devel mailing list