[BitBucket user: Miklós Espák] [BitBucket date: 2018-08-08.15:04:39] Orthanc already uses a patch to correct how DCMTK detects which functions are available with the given compiler. However, this patch is a bit outdated and it fails with some compilers, specifically with GCC 6.4.0. Gcc 6.4 is used in alpine linux (3.7 and 3.8) that is popular for making Docker images. I attached a patch that fixes the problem. It's a patch of the current patch for DCMTK 3.6.2. The fix is taken from the DCMTK master. Note that DCMTK 3.6.3 still does not have the right fix.
Created attachment 70 [details] orthanc-1.4.1-dcmtk-cmath.patch
[BitBucket user: Sébastien Jodogne] [BitBucket date: 2018-09-04.13:07:48] Fix issue #98 (DCMTK configuration fails with GCC 6.4.0 on Alpine) → https://hg.orthanc-server.com/orthanc/changeset/4fdb25c5df9c