INCLUDE_CCTYPE not supported error

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
thomb
Posts: 93
Joined: Mon, 2024-05-20, 08:10

INCLUDE_CCTYPE not supported error

#1 Post by thomb »

Why do I get this error when compiling code that uses the header?
dcmtk-3.6.8\ofstd\include\dcmtk\ofstd\ofstdinc.h(61,1): error C1189: #error: "Macro INCLUDE_CCTYPE not supported anymore. Include <cctype> directly."

I see that I'm supposed to include <cctype> directly but having trouble figure out where.

thomb
Posts: 93
Joined: Mon, 2024-05-20, 08:10

Re: INCLUDE_CCTYPE not supported error

#2 Post by thomb »

I found the #define of INCLUDE_CCTYPE and will add the #include for <cctype> in that header file.

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1512
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

Re: INCLUDE_CCTYPE not supported error

#3 Post by Marco Eichelberg »

We have removed some compatibility code for ancient C++ compilers that did not support the C++98 standard. This has standard now been available for 25 years, so it is probably safe to exclude compilers that do not support <cctype> and require <ctype.h> instead.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 1 guest