Mercurial > hg > orthanc
comparison Core/JobsEngine/JobInfo.cpp @ 3589:a648c2d67a65
merge
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Thu, 19 Dec 2019 22:17:24 +0100 |
parents | 113a9643e8bb |
children | 94f4a18a79cc |
comparison
equal
deleted
inserted
replaced
3588:eb48adfd931e | 3589:a648c2d67a65 |
---|---|
30 * along with this program. If not, see <http://www.gnu.org/licenses/>. | 30 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
31 **/ | 31 **/ |
32 | 32 |
33 | 33 |
34 #include "../PrecompiledHeaders.h" | 34 #include "../PrecompiledHeaders.h" |
35 | |
36 #ifdef __EMSCRIPTEN__ | |
37 /* | |
38 Avoid this error: | |
39 | |
40 .../boost/math/special_functions/round.hpp:118:12: warning: implicit conversion from 'std::__2::numeric_limits<long long>::type' (aka 'long long') to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-int-float-conversion] | |
41 .../boost/math/special_functions/round.hpp:125:11: note: in instantiation of function template specialization 'boost::math::llround<float, boost::math::policies::policy<boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy> >' requested here | |
42 .../orthanc/Core/JobsEngine/JobInfo.cpp:69:44: note: in instantiation of function template specialization 'boost::math::llround<float>' requested here | |
43 | |
44 .../boost/math/special_functions/round.hpp:86:12: warning: implicit conversion from 'std::__2::numeric_limits<int>::type' (aka 'int') to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-int-float-conversion] | |
45 .../boost/math/special_functions/round.hpp:93:11: note: in instantiation of function template specialization 'boost::math::iround<float, boost::math::policies::policy<boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy> >' requested here | |
46 .../orthanc/Core/JobsEngine/JobInfo.cpp:133:39: note: in instantiation of function template specialization 'boost::math::iround<float>' requested here | |
47 */ | |
48 #pragma GCC diagnostic ignored "-Wimplicit-int-float-conversion" | |
49 #endif | |
50 | |
35 #include "JobInfo.h" | 51 #include "JobInfo.h" |
36 | 52 |
37 #include "../OrthancException.h" | 53 #include "../OrthancException.h" |
38 | 54 |
39 // This "include" is mandatory for Release builds using Linux Standard Base | 55 // This "include" is mandatory for Release builds using Linux Standard Base |