On Tue, Oct 3, 2017 at 1:19 PM, Salazar De Troya, Miguel < salazardet...@llnl.gov> wrote:
> Hello > > I want to compile libMesh with mvapich2-2.2-clang-4.0.0, but I am getting > errors like this in the configure stage: > > configure:10326: > /usr/tce/packages/mvapich2/mvapich2-2.2-clang-4.0.0/bin/mpicxx > -c -std=c++14 conftest.cpp >&5 > conftest.cpp:79:25: error: no member named 'is_trivially_copyable' in > namespace 'std' > << std::is_trivially_copyable<char>::value // Not supported by GCC 4.6.3 > with -std=c++0x > > It seems to me that this feature should be supported by clang 4.0.0, but > it is not recognized, probably because the flags I am passing. Do I need to > pass other flags? > I wouldn't worry about this too much. For one thing, this is not a fatal error, it just means that your compiler doesn't fully support the <type_traits> header. For another thing, libmesh doesn't actually use the LIBMESH_HAVE_CXX11_TYPE_TRAITS for anything, so it would only matter if you are somehow using this #ifdef in your app. That said, I use clang 3.9.0 and it passes this test, so I'm not sure what might be different with your clang 4.0.0 install. Also, it looks like you are somehow passing -std=c++14 to the configure test (manually setting libmesh_CXXFLAGS?) which I haven't tested myself, but should not make any difference to this particular test. -- John ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users