annotate Resources/Patches/dcmtk-3.6.2-cmath.patch @ 2829:61fdb06e389a

fix warnings
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 Sep 2018 10:30:49 +0200
parents 4fdb25c5df9c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2500
3b802ac81a27 dcmtk-3.6.2-cmath.patch
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 diff -urEb dcmtk-3.6.2.orig/CMake/GenerateDCMTKConfigure.cmake dcmtk-3.6.2/CMake/GenerateDCMTKConfigure.cmake
2829
61fdb06e389a fix warnings
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2806
diff changeset
2 --- dcmtk-3.6.2.orig/CMake/GenerateDCMTKConfigure.cmake 2018-09-20 09:30:34.364831213 +0200
61fdb06e389a fix warnings
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2806
diff changeset
3 +++ dcmtk-3.6.2/CMake/GenerateDCMTKConfigure.cmake 2018-09-20 09:47:52.013660067 +0200
61fdb06e389a fix warnings
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2806
diff changeset
4 @@ -568,12 +568,12 @@
2806
4fdb25c5df9c Fix issue #98 (DCMTK configuration fails with GCC 6.4.0 on Alpine)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2500
diff changeset
5 ENDIF(HAVE_CSTDDEF)
4fdb25c5df9c Fix issue #98 (DCMTK configuration fails with GCC 6.4.0 on Alpine)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2500
diff changeset
6
4fdb25c5df9c Fix issue #98 (DCMTK configuration fails with GCC 6.4.0 on Alpine)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2500
diff changeset
7 CHECK_FUNCTIONWITHHEADER_EXISTS(feenableexcept "${HEADERS}" HAVE_PROTOTYPE_FEENABLEEXCEPT)
4fdb25c5df9c Fix issue #98 (DCMTK configuration fails with GCC 6.4.0 on Alpine)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2500
diff changeset
8 - CHECK_FUNCTIONWITHHEADER_EXISTS(isinf "${HEADERS}" HAVE_PROTOTYPE_ISINF)
4fdb25c5df9c Fix issue #98 (DCMTK configuration fails with GCC 6.4.0 on Alpine)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2500
diff changeset
9 - CHECK_FUNCTIONWITHHEADER_EXISTS(isnan "${HEADERS}" HAVE_PROTOTYPE_ISNAN)
2829
61fdb06e389a fix warnings
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2806
diff changeset
10 - CHECK_FUNCTIONWITHHEADER_EXISTS(finite "${HEADERS}" HAVE_PROTOTYPE_FINITE)
2500
3b802ac81a27 dcmtk-3.6.2-cmath.patch
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
11 - CHECK_FUNCTIONWITHHEADER_EXISTS(std::isinf "${HEADERS}" HAVE_PROTOTYPE_STD__ISINF)
3b802ac81a27 dcmtk-3.6.2-cmath.patch
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
12 - CHECK_FUNCTIONWITHHEADER_EXISTS(std::isnan "${HEADERS}" HAVE_PROTOTYPE_STD__ISNAN)
2829
61fdb06e389a fix warnings
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2806
diff changeset
13 - CHECK_FUNCTIONWITHHEADER_EXISTS(std::finite "${HEADERS}" HAVE_PROTOTYPE_STD__FINITE)
61fdb06e389a fix warnings
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2806
diff changeset
14 + CHECK_FUNCTIONWITHHEADER_EXISTS("isinf(0.)" "${HEADERS}" HAVE_PROTOTYPE_ISINF)
61fdb06e389a fix warnings
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2806
diff changeset
15 + CHECK_FUNCTIONWITHHEADER_EXISTS("isnan(0.)" "${HEADERS}" HAVE_PROTOTYPE_ISNAN)
61fdb06e389a fix warnings
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2806
diff changeset
16 + CHECK_FUNCTIONWITHHEADER_EXISTS("finite(0.)" "${HEADERS}" HAVE_PROTOTYPE_FINITE)
2806
4fdb25c5df9c Fix issue #98 (DCMTK configuration fails with GCC 6.4.0 on Alpine)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2500
diff changeset
17 + CHECK_FUNCTIONWITHHEADER_EXISTS("std::isinf(0.)" "${HEADERS}" HAVE_PROTOTYPE_STD__ISINF)
4fdb25c5df9c Fix issue #98 (DCMTK configuration fails with GCC 6.4.0 on Alpine)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2500
diff changeset
18 + CHECK_FUNCTIONWITHHEADER_EXISTS("std::isnan(0.)" "${HEADERS}" HAVE_PROTOTYPE_STD__ISNAN)
2829
61fdb06e389a fix warnings
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2806
diff changeset
19 + CHECK_FUNCTIONWITHHEADER_EXISTS("std::finite(0.)" "${HEADERS}" HAVE_PROTOTYPE_STD__FINITE)
2500
3b802ac81a27 dcmtk-3.6.2-cmath.patch
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
20 CHECK_FUNCTIONWITHHEADER_EXISTS(flock "${HEADERS}" HAVE_PROTOTYPE_FLOCK)
3b802ac81a27 dcmtk-3.6.2-cmath.patch
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
21 CHECK_FUNCTIONWITHHEADER_EXISTS(gethostbyname "${HEADERS}" HAVE_PROTOTYPE_GETHOSTBYNAME)
2829
61fdb06e389a fix warnings
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2806
diff changeset
22 CHECK_FUNCTIONWITHHEADER_EXISTS(gethostbyname_r "${HEADERS}" HAVE_PROTOTYPE_GETHOSTBYNAME_R)