Where the symbol DCMTK_LOG4CPLUS_HAVE_INTRIN_H is #defined ?

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Oban
Posts: 19
Joined: Thu, 2014-07-24, 08:14

Where the symbol DCMTK_LOG4CPLUS_HAVE_INTRIN_H is #defined ?

#1 Post by Oban »

Hello gents,
in [...]/oflog/config/windowsh.h, [...]/oflog/config/win32.h, and similarly in oflog/libsrc/pointer.cc there's this :

Code: Select all

#if defined (DCMTK_LOG4CPLUS_HAVE_INTRIN_H)
#include <intrin.h>
#endif
At what moment DCMTK_LOG4CPLUS_HAVE_INTRIN_H is defined ?
It seems it might be defined somewhere because the #include <intrin.h> is executed (and fails during make cos' it misses).

I did not find any other instance of the text DCMTK_LOG4CPLUS_HAVE_INTRIN_H in any other files in the 3.6.1_20140725 snapshot

Could someone please explain ??

J. Riesmeier
DCMTK Developer
Posts: 2505
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Where the symbol DCMTK_LOG4CPLUS_HAVE_INTRIN_H is #defin

#2 Post by J. Riesmeier »

It is defined in "oflog/include/dcmtk/oflog/config/win32.h":

Code: Select all

#ifdef _WIN32

/* This used to be _MSC_VER >= 1400, but MSVC 2005 is broken */
#if (defined (_MSC_VER) && _MSC_VER > 1400) || defined (__MINGW32__)
#  define DCMTK_LOG4CPLUS_HAVE_INTRIN_H
#endif

Oban
Posts: 19
Joined: Thu, 2014-07-24, 08:14

Re: Where the symbol DCMTK_LOG4CPLUS_HAVE_INTRIN_H is #defin

#3 Post by Oban »

oh... of course, obviously. I should not try to compile so late at night...
Thank you.
Anyway, commenting the block didn't help me to compile.

Post Reply

Who is online

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