|
Boost : |
Subject: [boost] [math] Extensive warnings when compiling with clang
From: Brian Ravnsgaard Riis (brian_at_[hidden])
Date: 2014-03-18 04:58:28
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I realise these are not that serious, just annoying. See example below.
I'm building with clang++, modified to default in C++11 mode.
/Brian Riis
clang-linux.compile.c++.with-pch
bin.v2/libs/math/build/clang-linux-3.4/release/link-static/threading-multi/fminf.o
In file included from <built-in>:168:
In file included from <command line>:4:
In file included from
/home/brian/programming/boost/libs/math/build/../src/tr1/pch.hpp:9:
In file included from ./boost/math/special_functions.hpp:15:
In file included from ./boost/math/special_functions/airy.hpp:10:
In file included from ./boost/math/special_functions/bessel.hpp:18:
In file included from
./boost/math/special_functions/detail/bessel_jy.hpp:14:
In file included from ./boost/math/special_functions/gamma.hpp:28:
In file included from ./boost/math/special_functions/lanczos.hpp:1288:
./boost/math/special_functions/detail/lanczos_sse2.hpp:54:4: warning:
'register' storage class specifier is deprecated [-Wdeprecated-register]
register __m128d vx = _mm_load1_pd(&x);
^~~~~~~~~
./boost/math/special_functions/detail/lanczos_sse2.hpp:55:4: warning:
'register' storage class specifier is deprecated [-Wdeprecated-register]
register __m128d sum_even = _mm_load_pd(coeff);
^~~~~~~~~
./boost/math/special_functions/detail/lanczos_sse2.hpp:56:4: warning:
'register' storage class specifier is deprecated [-Wdeprecated-register]
register __m128d sum_odd = _mm_load_pd(coeff+2);
^~~~~~~~~
./boost/math/special_functions/detail/lanczos_sse2.hpp:57:4: warning:
'register' storage class specifier is deprecated [-Wdeprecated-register]
register __m128d nc_odd, nc_even;
^~~~~~~~~
./boost/math/special_functions/detail/lanczos_sse2.hpp:57:4: warning:
'register' storage class specifier is deprecated [-Wdeprecated-register]
register __m128d nc_odd, nc_even;
^~~~~~~~~
./boost/math/special_functions/detail/lanczos_sse2.hpp:58:4: warning:
'register' storage class specifier is deprecated [-Wdeprecated-register]
register __m128d vx2 = _mm_mul_pd(vx, vx);
^~~~~~~~~
./boost/math/special_functions/detail/lanczos_sse2.hpp:139:4: warning:
'register' storage class specifier is deprecated [-Wdeprecated-register]
register __m128d vx = _mm_load1_pd(&x);
^~~~~~~~~
./boost/math/special_functions/detail/lanczos_sse2.hpp:140:4: warning:
'register' storage class specifier is deprecated [-Wdeprecated-register]
register __m128d sum_even = _mm_load_pd(coeff);
^~~~~~~~~
./boost/math/special_functions/detail/lanczos_sse2.hpp:141:4: warning:
'register' storage class specifier is deprecated [-Wdeprecated-register]
register __m128d sum_odd = _mm_load_pd(coeff+2);
^~~~~~~~~
./boost/math/special_functions/detail/lanczos_sse2.hpp:142:4: warning:
'register' storage class specifier is deprecated [-Wdeprecated-register]
register __m128d nc_odd, nc_even;
^~~~~~~~~
./boost/math/special_functions/detail/lanczos_sse2.hpp:142:4: warning:
'register' storage class specifier is deprecated [-Wdeprecated-register]
register __m128d nc_odd, nc_even;
^~~~~~~~~
./boost/math/special_functions/detail/lanczos_sse2.hpp:143:4: warning:
'register' storage class specifier is deprecated [-Wdeprecated-register]
register __m128d vx2 = _mm_mul_pd(vx, vx);
^~~~~~~~~
12 warnings generated.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTKAqhAAoJEFES4N8QrEodTJ4H/1Hl2vyJ/Ki7JCK+YZsgwLvr
MztU3H4IFfaUf4+EXPjnJbhu5f19Fhupn7RH6PLIJElUBYQGvKSEp2DRNddalrDK
vKZVxGe25pDAD1HOsPRKH+74xXqSfeAAbYi/PvwusXLwhS2kYH+k6KzdXn6POsEe
PrdweMusGLp9TH36DYNM59+SU16oGPdOj53acZSG06ftG8+1FcFXtb2jTMZY7fZX
l/3gUBkQ7kl7ZkAoezNNlKcb/r+dIXNfb2oaV7TwSUGD+7ioQvvsSFjr2ytl3cb8
q01hLY4ih2mjMkrvCfflbAwGXH6noyEm/ySmjAxxekyCyP4na/W648+hAhnlimg=
=vvz8
-----END PGP SIGNATURE-----
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk