In file included from /project_file.h: In file included from /project_file.h: In file included from /project_file.h: In file included from /boost-1.61.0/OMPI/include/boost/mpi.hpp:23: In file included from /boost-1.61.0/OMPI/include/boost/mpi/collectives.hpp:21: In file included from /boost-1.61.0/OMPI/include/boost/mpi/communicator.hpp:19: In file included from /boost-1.61.0/OMPI/include/boost/optional.hpp:15: In file included from /boost-1.61.0/OMPI/include/boost/optional/optional.hpp:32: In file included from /boost-1.61.0/OMPI/include/boost/type_traits/alignment_of.hpp:16: /boost-1.61.0/OMPI/include/boost/type_traits/integral_constant.hpp:33:14: error: declaration of anonymous class must be a definition template struct integral_c; ^ /boost-1.61.0/OMPI/include/boost/type_traits/integral_constant.hpp:33:23: error: expected ')' template struct integral_c; ^ /usr/include/complex.h:49:11: note: expanded from macro 'I' #define I _Complex_I ^ /usr/include/complex.h:44:21: note: expanded from macro '_Complex_I' #define _Complex_I (__extension__ 1.0iF) ^ /boost-1.61.0/OMPI/include/boost/type_traits/integral_constant.hpp:33:23: note: to match this '(' /usr/include/complex.h:49:11: note: expanded from macro 'I' #define I _Complex_I ^ /usr/include/complex.h:44:20: note: expanded from macro '_Complex_I' #define _Complex_I (__extension__ 1.0iF) ^ In file included from /project_file.h: In file included from /project_file.h: In file included from /project_file.h: In file included from /boost-1.61.0/OMPI/include/boost/mpi.hpp:23: In file included from /boost-1.61.0/OMPI/include/boost/mpi/collectives.hpp:21: In file included from /boost-1.61.0/OMPI/include/boost/mpi/communicator.hpp:19: In file included from /boost-1.61.0/OMPI/include/boost/optional.hpp:15: In file included from /boost-1.61.0/OMPI/include/boost/optional/optional.hpp:32: In file included from /boost-1.61.0/OMPI/include/boost/type_traits/alignment_of.hpp:16: /boost-1.61.0/OMPI/include/boost/type_traits/integral_constant.hpp:33:25: error: expected template parameter template struct integral_c; ^ /boost-1.61.0/OMPI/include/boost/type_traits/integral_constant.hpp:33:4: error: extraneous 'template<>' in declaration of struct 'integral_c' template struct integral_c; ^ /boost-1.61.0/OMPI/include/boost/type_traits/integral_constant.hpp:65:7: error: 'operator integral_c' cannot be the name of a variable or data member operator const mpl::integral_c& ()const ^ /boost-1.61.0/OMPI/include/boost/type_traits/integral_constant.hpp:65:37: error: expected ';' at end of declaration list operator const mpl::integral_c& ()const ^ ; In file included from /project_file.h: In file included from /project_file.h: In file included from /project_file.h: In file included from /boost-1.61.0/OMPI/include/boost/mpi.hpp:23: In file included from /boost-1.61.0/OMPI/include/boost/mpi/collectives.hpp:21: In file included from /boost-1.61.0/OMPI/include/boost/mpi/communicator.hpp:21: In file included from /boost-1.61.0/OMPI/include/boost/mpi/datatype.hpp:27: In file included from /boost-1.61.0/OMPI/include/boost/mpi/detail/mpi_datatype_cache.hpp:13: In file included from /boost-1.61.0/OMPI/include/boost/mpi/detail/mpi_datatype_oarchive.hpp:14: In file included from /boost-1.61.0/OMPI/include/boost/archive/detail/oserializer.hpp:52: In file included from /boost-1.61.0/OMPI/include/boost/serialization/serialization.hpp:14: In file included from /boost-1.61.0/OMPI/include/boost/serialization/strong_typedef.hpp:26: /boost-1.61.0/OMPI/include/boost/operators.hpp:307:20: error: declaration of anonymous class must be a definition template > ^ /boost-1.61.0/OMPI/include/boost/operators.hpp:307:36: error: a non-type template parameter cannot have type 'class R' template > ^ /boost-1.61.0/OMPI/include/boost/operators.hpp:310:16: error: expected ')' R operator[](I n) const ^ /usr/include/complex.h:49:11: note: expanded from macro 'I' #define I _Complex_I ^ /usr/include/complex.h:44:21: note: expanded from macro '_Complex_I' #define _Complex_I (__extension__ 1.0iF) ^ /boost-1.61.0/OMPI/include/boost/operators.hpp:310:16: note: to match this '(' /usr/include/complex.h:49:11: note: expanded from macro 'I' #define I _Complex_I ^ /usr/include/complex.h:44:20: note: expanded from macro '_Complex_I' #define _Complex_I (__extension__ 1.0iF) ^ In file included from /project_file.h: In file included from /project_file.h: In file included from /project_file.h: In file included from /boost-1.61.0/OMPI/include/boost/mpi.hpp:23: In file included from /boost-1.61.0/OMPI/include/boost/mpi/collectives.hpp:21: In file included from /boost-1.61.0/OMPI/include/boost/mpi/communicator.hpp:21: In file included from /boost-1.61.0/OMPI/include/boost/mpi/datatype.hpp:27: In file included from /boost-1.61.0/OMPI/include/boost/mpi/detail/mpi_datatype_cache.hpp:13: In file included from /boost-1.61.0/OMPI/include/boost/mpi/detail/mpi_datatype_oarchive.hpp:14: In file included from /boost-1.61.0/OMPI/include/boost/archive/detail/oserializer.hpp:52: In file included from /boost-1.61.0/OMPI/include/boost/serialization/serialization.hpp:14: In file included from /boost-1.61.0/OMPI/include/boost/serialization/strong_typedef.hpp:26: /boost-1.61.0/OMPI/include/boost/operators.hpp:310:16: error: C++ requires a type specifier for all declarations R operator[](I n) const ^ /usr/include/complex.h:49:11: note: expanded from macro 'I' #define I _Complex_I ^ /usr/include/complex.h:44:21: note: expanded from macro '_Complex_I' #define _Complex_I (__extension__ 1.0iF) ^ In file included from /project_file.h: In file included from /project_file.h: In file included from /project_file.h: In file included from /boost-1.61.0/OMPI/include/boost/mpi.hpp:23: In file included from /boost-1.61.0/OMPI/include/boost/mpi/collectives.hpp:21: In file included from /boost-1.61.0/OMPI/include/boost/mpi/communicator.hpp:21: In file included from /boost-1.61.0/OMPI/include/boost/mpi/datatype.hpp:27: In file included from /boost-1.61.0/OMPI/include/boost/mpi/detail/mpi_datatype_cache.hpp:13: In file included from /boost-1.61.0/OMPI/include/boost/mpi/detail/mpi_datatype_oarchive.hpp:14: In file included from /boost-1.61.0/OMPI/include/boost/archive/detail/oserializer.hpp:52: In file included from /boost-1.61.0/OMPI/include/boost/serialization/serialization.hpp:14: In file included from /boost-1.61.0/OMPI/include/boost/serialization/strong_typedef.hpp:26: /boost-1.61.0/OMPI/include/boost/operators.hpp:310:18: error: expected ')' R operator[](I n) const ^ /boost-1.61.0/OMPI/include/boost/operators.hpp:310:15: note: to match this '(' R operator[](I n) const ^ /boost-1.61.0/OMPI/include/boost/operators.hpp:312:45: error: use of undeclared identifier 'n' return *(static_cast(*this) + n); ^ /boost-1.61.0/OMPI/include/boost/operators.hpp:648:20: error: template argument for non-type template parameter must be an expression , indexable/boost-1.61.0/OMPI/include/boost/operators.hpp:307:36: note: template parameter is declared here template > ^ /boost-1.61.0/OMPI/include/boost/operators.hpp:649:11: error: expected a type > > > > {}; ^ /boost-1.61.0/OMPI/include/boost/operators.hpp:649:13: error: expected a type > > > > {}; ^ /boost-1.61.0/OMPI/include/boost/operators.hpp:649:15: error: expected class name > > > > {}; ^ /boost-1.61.0/OMPI/include/boost/operators.hpp:771:1: error: template argument for non-type template parameter must be an expression BOOST_OPERATOR_TEMPLATE3(indexable) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /boost-1.61.0/OMPI/include/boost/operators.hpp:691:45: note: expanded from macro 'BOOST_OPERATOR_TEMPLATE3' struct is_chained_base< template_name3 > { \ ^ /boost-1.61.0/OMPI/include/boost/operators.hpp:307:36: note: template parameter is declared here template > ^ In file included from /project_file.h: In file included from /project_file.h: In file included from /project_file.hcvg_utils/include/tbuffer.h:11: In file included from /boost-1.61.0/OMPI/include/boost/mpi.hpp:23: In file included from /boost-1.61.0/OMPI/include/boost/mpi/collectives.hpp:21: In file included from /boost-1.61.0/OMPI/include/boost/mpi/communicator.hpp:21: In file included from /boost-1.61.0/OMPI/include/boost/mpi/datatype.hpp:27: In file included from /boost-1.61.0/OMPI/include/boost/mpi/detail/mpi_datatype_cache.hpp:13: In file included from /boost-1.61.0/OMPI/include/boost/mpi/detail/mpi_datatype_oarchive.hpp:14: In file included from /boost-1.61.0/OMPI/include/boost/archive/detail/oserializer.hpp:54: In file included from /boost-1.61.0/OMPI/include/boost/serialization/level.hpp:30: In file included from /boost-1.61.0/OMPI/include/boost/mpl/integral_c.hpp:17: /boost-1.61.0/OMPI/include/boost/mpl/integral_c_fwd.hpp:26:36: error: redefinition of 'integral_c' as different kind of symbol template< typename T, T N > struct integral_c; ^ /boost-1.61.0/OMPI/include/boost/type_traits/integral_constant.hpp:33:37: note: previous definition is here template struct integral_c; ^ In file included from /project_file.h: In file included from /project_file.h: In file included from /project_file.h: In file included from /boost-1.61.0/OMPI/include/boost/mpi.hpp:23: In file included from /boost-1.61.0/OMPI/include/boost/mpi/collectives.hpp:21: In file included from /boost-1.61.0/OMPI/include/boost/mpi/communicator.hpp:21: In file included from /boost-1.61.0/OMPI/include/boost/mpi/datatype.hpp:27: In file included from /boost-1.61.0/OMPI/include/boost/mpi/detail/mpi_datatype_cache.hpp:13: In file included from /boost-1.61.0/OMPI/include/boost/mpi/detail/mpi_datatype_oarchive.hpp:14: In file included from /boost-1.61.0/OMPI/include/boost/archive/detail/oserializer.hpp:54: In file included from /boost-1.61.0/OMPI/include/boost/serialization/level.hpp:30: In file included from /boost-1.61.0/OMPI/include/boost/mpl/integral_c.hpp:32: /boost-1.61.0/OMPI/include/boost/mpl/aux_/integral_wrapper.hpp:43:8: error: redefinition of 'integral_c' as different kind of symbol struct AUX_WRAPPER_NAME ^ /boost-1.61.0/OMPI/include/boost/mpl/integral_c.hpp:29:26: note: expanded from macro 'AUX_WRAPPER_NAME' #define AUX_WRAPPER_NAME integral_c ^ /boost-1.61.0/OMPI/include/boost/type_traits/integral_constant.hpp:33:37: note: previous definition is here template struct integral_c; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[3]: *** [.../CMakeFiles/.../file.cpp.o] Error 1 make[2]: *** [.../CMakeFiles/.../all] Error 2 make[1]: *** [CMakeFiles/../rule] Error 2 make: *** [converge] Error 2