Skip to content

Commit eb5b8cb

Browse files
committed
fix(build): Fix new dcmtk 3.6.9 vs C++ warning (#4698)
Some new changes in DCMTK 3.6.9 that triggers warnings. Signed-off-by: Larry Gritz <lg@larrygritz.com>
1 parent bfbbd8b commit eb5b8cb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/dicom.imageio/dicominput.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111

1212
#define HAVE_CONFIG_H /* Sometimes DCMTK seems to need this */
1313
#include <dcmtk/config/osconfig.h>
14+
OIIO_PRAGMA_WARNING_PUSH
15+
OIIO_GCC_PRAGMA(GCC diagnostic ignored "-Wformat-nonliteral")
1416
#include <dcmtk/dcmdata/dctk.h>
17+
OIIO_PRAGMA_WARNING_POP
1518
#include <dcmtk/dcmimage/dicopx.h>
1619
#include <dcmtk/dcmimage/diregist.h>
1720
#include <dcmtk/dcmimgle/dcmimage.h>

0 commit comments

Comments
 (0)