On Monday, September 30, 2019 at 11:01:45 PM UTC+2, Victor Eijkhout wrote: > > > > On Sep 30, 2019, at 3:23 PM, Marc Fehling <[email protected] > <javascript:>> wrote: > > Victor, have you tried disabling C++17 support? Maybe that'll do the > trick... > > > cmake option please? > > (is there a list of all cmake options for your build process?) > > My best guess was: > > -DDEAL_II_WITH_CXX17=OFF >
Your guess was indeed correct :) You'll find a list of cmake attributes for deal.II in the documentation here <https://www.dealii.org/current/users/cmake.html#configurefeature>. > > and that got me to: > > %%%%%%%%%%%%%%%% > Run Build Command:"/usr/bin/gmake" "cmTC_8b681/fast" > /usr/bin/gmake -f CMakeFiles/cmTC_8b681.dir/build.make > CMakeFiles/cmTC_8b681.dir/build > gmake[1]: Entering directory `/tmp/dealii-build/CMakeFiles/CMakeTmp' > Building CXX object CMakeFiles/cmTC_8b681.dir/src.cxx.o > /opt/intel/compilers_and_libraries_2019.5.281/linux/bin/intel64/icpc > -DDEAL_II_HAVE_FLAG_Wimplicit_fallthrough=0 -Wimplicit-fallthrough=0 -o > CMakeFiles/cmTC_8b681.dir/src.cxx.o -c > /tmp/dealii-build/CMakeFiles/CMakeTmp/src.cxx > icpc: command line warning #10148: option '-W=implicit-fallthrough=0' not > supported > Linking CXX executable cmTC_8b681 > /opt/apps/cmake/3.13.4/bin/cmake -E cmake_link_script > CMakeFiles/cmTC_8b681.dir/link.txt --verbose=1 > /opt/intel/compilers_and_libraries_2019.5.281/linux/bin/intel64/icpc > -DDEAL_II_HAVE_FLAG_Wimplicit_fallthrough=0 -rdynamic > CMakeFiles/cmTC_8b681.dir/src.cxx.o -o cmTC_8b681 > gmake[1]: Leaving directory `/tmp/dealii-build/CMakeFiles/CMakeTmp' > > Source file was: > int main() { return 0; } > Performing C++ SOURCE FILE Test DEAL_II_HAVE_FLAG_Wno_nested_anon_types > failed with the following output: > Change Dir: /tmp/dealii-build/CMakeFiles/CMakeTmp > > Run Build Command:"/usr/bin/gmake" "cmTC_b3b8f/fast" > /usr/bin/gmake -f CMakeFiles/cmTC_b3b8f.dir/build.make > CMakeFiles/cmTC_b3b8f.dir/build > > %%%%%%%%%%% > > which does not look fatal to me. It’s only a warning. > Yes, these are only warnings. I am confused about Intel19's state on the fallthrough flag: They say that it is implemented on their website <https://software.intel.com/en-us/articles/c17-features-supported-by-intel-c-compiler>, but it seems that they just prepared it according to this statement <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0188r1.pdf>? Or is it just the 'implicit fallthrough' feature that Intel19 is not capable off. Would you mind to try enabling C++17 support but disabling the implicit fallthrough feature by providing "-DDEAL_II_WITH_CXX17=ON -DDEAL_II_HAVE_FLAG_Wimplicit_fallthrough=0" to cmake? If this fails, I think it would be best to keep C++17 disabled for now... Best, Marc -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/f5636462-4a29-4dd9-9190-9db2a56fbb8c%40googlegroups.com.
