On 27 May 2015, at 14:51, Elena Pourmal [via hdf-forum] 
<[email protected]> wrote:

> Ian,
> 
> Would it be possible for your team to provide us with a simple example to 
> reproduce the problem? This will help us to decide on the patch.

Hi,

The following will trigger the compilation error:

cat > hdf5.cc <<EOF
#include <hdf5.h>
#include <algorithm>
EOF

$ g++ --version
g++ (MacPorts gcc5 5.1.0_0) 5.1.0

$ g++ -c -std=c++11 hdf5.cc 
In file included from 
/opt/local/lib/gcc5/gcc/x86_64-apple-darwin14/5.1.0/include/x86intrin.h:29:0,
                 from 
/opt/local/include/gcc5/c++/x86_64-apple-darwin14/bits/opt_random.h:33,
                 from /opt/local/include/gcc5/c++/random:50,
                 from /opt/local/include/gcc5/c++/bits/stl_algo.h:66,
                 from /opt/local/include/gcc5/c++/algorithm:62,
                 from hdf5.cc:2:
/opt/local/lib/gcc5/gcc/x86_64-apple-darwin14/5.1.0/include/mmintrin.h: In 
function '__m64 _mm_cvtsi32_si64(int)':
/opt/local/lib/gcc5/gcc/x86_64-apple-darwin14/5.1.0/include/mmintrin.h:64:54: 
error: can't convert between vector values of different size
   return (__m64) __builtin_ia32_vec_init_v2si (__i, 0);
                                                      ^

-- 
Ian Hinder
http://members.aei.mpg.de/ianhin

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to