Tpetra: Compile error with GCC 7.1
Created by: gahansen
When compiling Tpetra with GCC 7.1, I see the following error:
/lore/ghansen/nightly/repos/Trilinos/packages/tpetra/core/src/Tpetra_Details_iallreduce.hpp:175:43: error: expected ')' before '<' token DeferredActionCommRequest (std::function< void (int) > action); ^ /lore/ghansen/nightly/repos/Trilinos/packages/tpetra/core/src/Tpetra_Details_iallreduce.hpp:188:8: error: 'function' in namespace 'std' does not name a template type std::function<void(void) > action_;
I was able to get a clean compile by adding the include:
#include
to the include list (line 71) of packages/tpetra/core/src/Tpetra_Details_iallreduce.hpp
CC: @trilinos/tpetra @trilinos/framework