[math] Extensive warnings when compiling with clang
-----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-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2014-03-18 10:16, John Maddock wrote:
I realise these are not that serious, just annoying. See example below.
I'm building with clang++, modified to default in C++11 mode.
That one's already been fixed in develop.
Great! :-) /Brian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTKBWDAAoJEFES4N8QrEodlwsH+wZqHM6KMTz9fP1Z2VhCAgNc HDu5heSLi+E3vhs5g39Nn1FF91lM/pJ8FHSneRyPpyuC/NI9og8LnT6ECH02EQbW BCKoDvQ0yYB5PcLTmXHbMesHe5noOwlThmltR0MxlM5CxkPOWNnUBsmfGSPTPTJu QQXWtdcR1nMoasvWl0LTw8ijLpmWuPvgI+y14k/Topllw6+niXkHso32iHJodLYy ZD4wuLI6sTQOfEEXYIUJakwzewY2C6pt133QUr9Mex3wuDNYIGsOeE/0RPv7PD1Q iwvGEX6ItVqUkQu32Tcpz+Vroml0St/MNb7ZJwyXEErQIkzYcUryyBcAGpyuN6A= =bWoc -----END PGP SIGNATURE-----
participants (2)
-
Brian Ravnsgaard Riis
-
John Maddock