MinGW64 and ImageMagick

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
User avatar
Vlad the implier
Posts: 4
Joined: 2017-09-21T04:00:51-07:00
Authentication code: 1151

MinGW64 and ImageMagick

Post by Vlad the implier »

Dear ImageMagick support,

I'm trying to build Magick++ with MinGW64 (64bit) and MSYS2 to make an app for Windows with the number crunching power of IM's OpenCL and OpenMP.
After trying many version and combinations, reading every single topic on the Forum and all the official build guides, I'm not able to build even a basic version of the latest IM 7.0.7-3.
I tried both MinGW with posix and win32 threads. It always ends the same:

Code: Select all

$ make
make  all-am
make[1]: Entering directory '/home/Bonfire/ImageMagick-7.0.7-3'
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-distribute-cache.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/distribute-cache.c:54:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/distribute-cache.c:54:
./MagickCore/magick-baseconfig.h:237:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

MagickCore/distribute-cache.c: In function 'dpc_read':
MagickCore/distribute-cache.c:164:11: warning: implicit declaration of function 'recv'; did you mean 'execv'? [-Wimplicit-function-declaration]
     count=recv(file,CHAR_TYPE_CAST message+i,(LENGTH_TYPE) MagickMin(length-i,
           ^~~~
           execv
MagickCore/distribute-cache.c: In function 'ConnectPixelCacheServer':
MagickCore/distribute-cache.c:95:21: error: unknown type name 'SOCKET'
 #define SOCKET_TYPE SOCKET
                     ^
MagickCore/distribute-cache.c:187:3: note: in expansion of macro 'SOCKET_TYPE'
   SOCKET_TYPE
   ^~~~~~~~~~~
MagickCore/distribute-cache.c:194:5: error: storage size of 'hint' isn't known
     hint,
     ^~~~
MagickCore/distribute-cache.c:217:18: error: 'AF_INET' undeclared (first use in this function); did you mean 'MF_INSERT'?
   hint.ai_family=AF_INET;
                  ^~~~~~~
                  MF_INSERT
MagickCore/distribute-cache.c:217:18: note: each undeclared identifier is reported only once for each function it appears in
MagickCore/distribute-cache.c:218:20: error: 'SOCK_STREAM' undeclared (first use in this function); did you mean 'SET_SPREAD'?
   hint.ai_socktype=SOCK_STREAM;
                    ^~~~~~~~~~~
                    SET_SPREAD
MagickCore/distribute-cache.c:219:17: error: 'AI_PASSIVE' undeclared (first use in this function); did you mean 'DC_ACTIVE'?
   hint.ai_flags=AI_PASSIVE;
                 ^~~~~~~~~~
                 DC_ACTIVE
MagickCore/distribute-cache.c:221:10: warning: implicit declaration of function 'getaddrinfo'; did you mean 'GetTimerInfo'? [-Wimplicit-function-declaration]
   status=getaddrinfo(hostname,service,&hint,&result);
          ^~~~~~~~~~~
          GetTimerInfo
MagickCore/distribute-cache.c:228:17: warning: implicit declaration of function 'socket'; did you mean 'sopen'? [-Wimplicit-function-declaration]
   client_socket=socket(result->ai_family,result->ai_socktype,
                 ^~~~~~
                 sopen
MagickCore/distribute-cache.c:228:30: error: dereferencing pointer to incomplete type 'struct addrinfo'
   client_socket=socket(result->ai_family,result->ai_socktype,
                              ^~
MagickCore/distribute-cache.c:232:7: warning: implicit declaration of function 'freeaddrinfo'; did you mean 'readdir'? [-Wimplicit-function-declaration]
       freeaddrinfo(result);
       ^~~~~~~~~~~~
       readdir
MagickCore/distribute-cache.c:237:10: warning: implicit declaration of function 'connect'; did you mean 'PtInRect'? [-Wimplicit-function-declaration]
   status=connect(client_socket,result->ai_addr,(socklen_t) result->ai_addrlen);
          ^~~~~~~
          PtInRect
MagickCore/distribute-cache.c:237:49: error: 'socklen_t' undeclared (first use in this function); did you mean 'locale_t'?
   status=connect(client_socket,result->ai_addr,(socklen_t) result->ai_addrlen);
                                                 ^~~~~~~~~
                                                 locale_t
MagickCore/distribute-cache.c:237:60: error: expected ')' before 'result'
   status=connect(client_socket,result->ai_addr,(socklen_t) result->ai_addrlen);
                                                            ^~~~~~
MagickCore/distribute-cache.c:92:37: warning: implicit declaration of function 'closesocket' [-Wimplicit-function-declaration]
 #define CLOSE_SOCKET(socket) (void) closesocket(socket)
                                     ^
MagickCore/distribute-cache.c:240:7: note: in expansion of macro 'CLOSE_SOCKET'
       CLOSE_SOCKET(client_socket);
       ^~~~~~~~~~~~
MagickCore/distribute-cache.c:95:21: error: 'SOCKET' undeclared (first use in this function)
 #define SOCKET_TYPE SOCKET
                     ^
MagickCore/distribute-cache.c:260:22: note: in expansion of macro 'SOCKET_TYPE'
       client_socket=(SOCKET_TYPE) (-1);
                      ^~~~~~~~~~~
MagickCore/distribute-cache.c:194:5: warning: unused variable 'hint' [-Wunused-variable]
     hint,
     ^~~~
MagickCore/distribute-cache.c: In function 'dpc_send':
MagickCore/distribute-cache.c:454:30: warning: implicit declaration of function 'send'; did you mean '_xend'? [-Wimplicit-function-declaration]
     count=(MagickOffsetType) send(file,CHAR_TYPE_CAST message+i,(LENGTH_TYPE)
                              ^~~~
                              _xend
MagickCore/distribute-cache.c: In function 'DistributePixelCacheClient':
MagickCore/distribute-cache.c:95:21: error: unknown type name 'SOCKET'
 #define SOCKET_TYPE SOCKET
                     ^
MagickCore/distribute-cache.c:792:3: note: in expansion of macro 'SOCKET_TYPE'
   SOCKET_TYPE
   ^~~~~~~~~~~
MagickCore/distribute-cache.c:95:21: error: 'SOCKET' undeclared (first use in this function)
 #define SOCKET_TYPE SOCKET
                     ^
MagickCore/distribute-cache.c:823:20: note: in expansion of macro 'SOCKET_TYPE'
   client_socket=(*(SOCKET_TYPE *) socket);
                    ^~~~~~~~~~~
MagickCore/distribute-cache.c:823:33: error: expected expression before ')' token
   client_socket=(*(SOCKET_TYPE *) socket);
                                 ^
MagickCore/distribute-cache.c: In function 'DistributePixelCacheServer':
MagickCore/distribute-cache.c:95:21: error: unknown type name 'SOCKET'
 #define SOCKET_TYPE SOCKET
                     ^
MagickCore/distribute-cache.c:914:3: note: in expansion of macro 'SOCKET_TYPE'
   SOCKET_TYPE
   ^~~~~~~~~~~
MagickCore/distribute-cache.c:918:5: error: storage size of 'hint' isn't known
     hint,
     ^~~~
MagickCore/distribute-cache.c:922:5: error: storage size of 'address' isn't known
     address;
     ^~~~~~~
MagickCore/distribute-cache.c:933:18: error: 'AF_INET' undeclared (first use in this function); did you mean 'MF_INSERT'?
   hint.ai_family=AF_INET;
                  ^~~~~~~
                  MF_INSERT
MagickCore/distribute-cache.c:934:20: error: 'SOCK_STREAM' undeclared (first use in this function); did you mean 'SET_SPREAD'?
   hint.ai_socktype=SOCK_STREAM;
                    ^~~~~~~~~~~
                    SET_SPREAD
MagickCore/distribute-cache.c:935:17: error: 'AI_PASSIVE' undeclared (first use in this function); did you mean 'DC_ACTIVE'?
   hint.ai_flags=AI_PASSIVE;
                 ^~~~~~~~~~
                 DC_ACTIVE
MagickCore/distribute-cache.c:95:21: error: 'SOCKET' undeclared (first use in this function)
 #define SOCKET_TYPE SOCKET
                     ^
MagickCore/distribute-cache.c:940:18: note: in expansion of macro 'SOCKET_TYPE'
   server_socket=(SOCKET_TYPE) 0;
                  ^~~~~~~~~~~
MagickCore/distribute-cache.c:940:31: error: expected ';' before numeric constant
   server_socket=(SOCKET_TYPE) 0;
                               ^
MagickCore/distribute-cache.c:941:52: error: dereferencing pointer to incomplete type 'struct addrinfo'
   for (p=result; p != (struct addrinfo *) NULL; p=p->ai_next)
                                                    ^~
MagickCore/distribute-cache.c:950:12: warning: implicit declaration of function 'setsockopt'; did you mean 'setlocale'? [-Wimplicit-function-declaration]
     status=setsockopt(server_socket,SOL_SOCKET,SO_REUSEADDR,
            ^~~~~~~~~~
            setlocale
MagickCore/distribute-cache.c:950:37: error: 'SOL_SOCKET' undeclared (first use in this function); did you mean 'SOCKET'?
     status=setsockopt(server_socket,SOL_SOCKET,SO_REUSEADDR,
                                     ^~~~~~~~~~
                                     SOCKET
MagickCore/distribute-cache.c:950:48: error: 'SO_REUSEADDR' undeclared (first use in this function); did you mean 'S_SERDDR'?
     status=setsockopt(server_socket,SOL_SOCKET,SO_REUSEADDR,
                                                ^~~~~~~~~~~~
                                                S_SERDDR
MagickCore/distribute-cache.c:951:28: error: 'socklen_t' undeclared (first use in this function); did you mean 'locale_t'?
       CHAR_TYPE_CAST &one,(socklen_t) sizeof(one));
                            ^~~~~~~~~
                            locale_t
MagickCore/distribute-cache.c:951:39: error: expected ')' before 'sizeof'
       CHAR_TYPE_CAST &one,(socklen_t) sizeof(one));
                                       ^~~~~~
MagickCore/distribute-cache.c:957:12: warning: implicit declaration of function 'bind'; did you mean 'rint'? [-Wimplicit-function-declaration]
     status=bind(server_socket,p->ai_addr,(socklen_t) p->ai_addrlen);
            ^~~~
            rint
MagickCore/distribute-cache.c:957:54: error: expected ')' before 'p'
     status=bind(server_socket,p->ai_addr,(socklen_t) p->ai_addrlen);
                                                      ^
MagickCore/distribute-cache.c:968:10: warning: implicit declaration of function 'listen'; did you mean '_isnan'? [-Wimplicit-function-declaration]
   status=listen(server_socket,DPCPendingConnections);
          ^~~~~~
          _isnan
MagickCore/distribute-cache.c:977:7: error: expected ';' before 'client_socket'
       client_socket;
       ^~~~~~~~~~~~~
MagickCore/distribute-cache.c:980:7: error: expected ';' before 'length'
       length;
       ^~~~~~
MagickCore/distribute-cache.c:982:5: error: 'length' undeclared (first use in this function)
     length=(socklen_t) sizeof(address);
     ^~~~~~
MagickCore/distribute-cache.c:982:24: error: expected ';' before 'sizeof'
     length=(socklen_t) sizeof(address);
                        ^~~~~~
MagickCore/distribute-cache.c:983:5: error: 'client_socket' undeclared (first use in this function); did you mean 'server_socket'?
     client_socket=accept(server_socket,(struct sockaddr *) &address,&length);
     ^~~~~~~~~~~~~
     server_socket
MagickCore/distribute-cache.c:983:19: warning: implicit declaration of function 'accept'; did you mean 'access'? [-Wimplicit-function-declaration]
     client_socket=accept(server_socket,(struct sockaddr *) &address,&length);
                   ^~~~~~
                   access
MagickCore/distribute-cache.c:987:48: warning: passing argument 3 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types]
     status=pthread_create(&threads,&attributes,DistributePixelCacheClient,
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./MagickCore/studio.h:121:0,
                 from MagickCore/distribute-cache.c:54:
C:/Tools/mingw64/x86_64-w64-mingw32/include/pthread.h:314:26: note: expected 'void * (*)(void *)' but argument is of type 'DWORD (*)(void *) {aka long unsigned int (*)(void *)}'
 int       WINPTHREAD_API pthread_create(pthread_t *th, const pthread_attr_t *attr, void *(* func)(void *), void *arg);
                          ^~~~~~~~~~~~~~
MagickCore/distribute-cache.c:922:5: warning: unused variable 'address' [-Wunused-variable]
     address;
     ^~~~~~~
MagickCore/distribute-cache.c:918:5: warning: unused variable 'hint' [-Wunused-variable]
     hint,
     ^~~~
make[1]: *** [Makefile:7690: MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-distribute-cache.lo] Error 1
make[1]: Leaving directory '/home/Bonfire/ImageMagick-7.0.7-3'
make: *** [Makefile:5153: all] Error 2
With this being the result of ./configure:

Code: Select all

==============================================================================
ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.

  Host system type: x86_64-pc-mingw64	
  Build system type: x86_64-pc-mingw64

                 Option                        Value
  ------------------------------------------------------------------------------
  Shared libraries  --enable-shared=yes         yes
  Static libraries  --enable-static=yes         yes
  Module support    --with-modules=no           no
  GNU ld            --with-gnu-ld=yes           yes
  Quantum depth     --with-quantum-depth=16     16
  High Dynamic Range Imagery
                    --enable-hdri=yes           yes

  Install documentation:                        yes

  Delegate Library Configuration:
  BZLIB             --with-bzlib=yes            no (failed tests)
  Autotrace         --with-autotrace=no         no
  DJVU              --with-djvu=yes             no
  DPS               --with-dps=yes              no
  FFTW              --with-fftw=yes             no
  FLIF              --with-flif=yes             no
  FlashPIX          --with-fpx=yes              no
  FontConfig        --with-fontconfig=yes       no
  FreeType          --with-freetype=yes         no
  Ghostscript lib   --with-gslib=no             no
  Graphviz          --with-gvc=yes              no
  JBIG              --with-jbig=yes             no (failed tests)
  JPEG v1           --with-jpeg=yes             no (failed tests)
  LCMS              --with-lcms=yes             no
  LQR               --with-lqr=yes              no
  LTDL              --with-ltdl=yes             no
  LZMA              --with-lzma=yes             no
  Magick++          --with-magick-plus-plus=yes yes
  OpenEXR           --with-openexr=yes          no
  OpenJP2           --with-openjp2=yes          no
  PANGO             --with-pango=yes            no
  PERL              --with-perl=no              no
  PNG               --with-png=yes              no
  RAQM              --with-raqm=yes             no
  RAW               --with-raw=yes              no
  RSVG              --with-rsvg=no              no
  TIFF              --with-tiff=yes             no (failed tests)
  WEBP              --with-webp=yes             no
  WMF               --with-wmf=yes              no
  X11               --with-x=                   no
  XML               --with-xml=yes              no
  ZLIB              --with-zlib=yes             no

  Delegate Program Configuration:
  GhostPCL          None                                pcl6 (unknown)
  GhostXPS          None                                gxps (unknown)
  Ghostscript       None                                gswin32c (unknown)

  Font Configuration:
  Apple fonts       --with-apple-font-dir=default
  Dejavu fonts      --with-dejavu-font-dir=default      none
  Ghostscript fonts --with-gs-font-dir=default  none
  Windows fonts     --with-windows-font-dir=default     none

  X11 Configuration:
        X_CFLAGS        =
        X_PRE_LIBS      =
        X_LIBS          =
        X_EXTRA_LIBS    =

  Options used to compile and link:
    PREFIX          = /usr/local
    EXEC-PREFIX     = /usr/local
    VERSION         = 7.0.7
    CC              = gcc
    CFLAGS          =  -fopenmp -g -O2 -Wall -mtune=bdver2 -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
    CPPFLAGS        =  -Ic:/Tools/home/Bonfire/gnuwin32/include -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -D_DLL -D_MT
    PCFLAGS         =
    DEFS            = -DHAVE_CONFIG_H
    LDFLAGS         = -Lc:/Tools/home/Bonfire/gnuwin32/lib
    LIBS            =
    CXX             = g++
    CXXFLAGS        = -g -O2 -pthread
    FEATURES        = HDRI Cipher OpenMP
    DELEGATES       = mpeg ps
==============================================================================
I'm pretty new to the whole MinGW thing, so I guess I misunderstand something...
I included and linked gnuwin32. Shouldn't be able to build at least something? Do I have to compile all dependencies from scratch to get a minimum build?

Could you point me in the right direction?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: MinGW64 and ImageMagick

Post by snibgo »

Many years ago I tried to build IM with Mingw, and failed. Then I tried with Cygwin, and it simply works.
Vlad the implier wrote:Do I have to compile all dependencies from scratch to get a minimum build?
Well, if you haven't got the PNG library, you won't be able to read or write PNG, and so on.

You don't say what source you downloaded. Last time I downloaded, the sources for Unix didn't come with dependencies, so had to be obtained separately, which was a real pain. But the sources for Windows contained dependencies, so the download was larger but was easy to build using the Unix method: automake, autoconf, ./configure, make, make install.
snibgo's IM pages: im.snibgo.com
User avatar
Vlad the implier
Posts: 4
Joined: 2017-09-21T04:00:51-07:00
Authentication code: 1151

Re: MinGW64 and ImageMagick

Post by Vlad the implier »

snibgo wrote: 2017-09-21T05:11:03-07:00 Many years ago I tried to build IM with Mingw, and failed. Then I tried with Cygwin, and it simply works.
I want a portable app, independent of Cygwin, so I stick to MinGW.
I recall this exact quote from another thread I read, heh...
snibgo wrote: 2017-09-21T05:11:03-07:00 Well, if you haven't got the PNG library, you won't be able to read or write PNG, and so on.
That's obvious, which is why I included and linked gnuwin32, which has many of the dependencies precompiled.
snibgo wrote: 2017-09-21T05:11:03-07:00 You don't say what source you downloaded.
Tried them all, the Unix mingw32 version, the pure Unix version, the Windows source version.
All fail with mostly the same errors, see above. The post above is with the latest unix version and gnuwin32 linked.
User avatar
Vlad the implier
Posts: 4
Joined: 2017-09-21T04:00:51-07:00
Authentication code: 1151

Re: MinGW64 and ImageMagick

Post by Vlad the implier »

Tried anew with Drangon's MinGW64 Toolchain. Compilation gets quite a touch further, with failures in between and at the end with a bunch of "static.c:???: undefined reference to `Unregister????Image'", see log below.

I will now try to take the time and compile every dependency by hand from scratch. Maybe that will solve it. Any tips or suggestions are very very appreciated. Damn this is frustrating and slow.

Code: Select all

C:/Tools/mingw64/bin/make  all-am
make[1]: Entering directory 'C:/Tools/home/Bonfire/ImageMagick-7.0.7-3'
  CC       MagickCore/MagickCore_libMagickCore_7_Q8_la-animate.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q8_la-channel.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q8_la-compare.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q8_la-composite.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q8_la-display.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q8_la-distribute-cache.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q8_la-feature.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q8_la-identify.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q8_la-image.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q8_la-image-view.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q8_la-log.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q8_la-magick.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q8_la-montage.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q8_la-module.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q8_la-resize.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q8_la-property.lo
In file included from MagickCore/display.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/display.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from MagickCore/display.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/display.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/display.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from MagickCore/composite.c:43:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/composite.c:43:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from MagickCore/composite.c:43:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/composite.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/composite.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from MagickCore/image.c:43:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/image.c:43:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from MagickCore/image.c:43:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/image.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/image.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from MagickCore/distribute-cache.c:54:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/distribute-cache.c:54:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from MagickCore/distribute-cache.c:54:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/distribute-cache.c:54:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/distribute-cache.c:54:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from MagickCore/animate.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/animate.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from MagickCore/animate.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/animate.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/animate.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from MagickCore/channel.c:43:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/channel.c:43:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from MagickCore/channel.c:43:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/channel.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/channel.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from MagickCore/image-view.c:48:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/image-view.c:48:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from MagickCore/image-view.c:48:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/image-view.c:48:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/image-view.c:48:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from MagickCore/identify.c:45:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from MagickCore/log.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/log.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from MagickCore/log.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/identify.c:45:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from MagickCore/identify.c:45:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/log.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/log.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from MagickCore/compare.c:43:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/compare.c:43:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from MagickCore/compare.c:43:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/identify.c:45:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/identify.c:45:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/compare.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/compare.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from MagickCore/feature.c:43:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/feature.c:43:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from MagickCore/feature.c:43:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/feature.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/feature.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from MagickCore/montage.c:43:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/montage.c:43:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from MagickCore/montage.c:43:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/montage.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/montage.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from MagickCore/resize.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/resize.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from MagickCore/resize.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/resize.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/resize.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from MagickCore/magick.c:43:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/magick.c:43:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from MagickCore/magick.c:43:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/magick.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/magick.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from MagickCore/property.c:43:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/property.c:43:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from MagickCore/property.c:43:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/property.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/property.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from MagickCore/module.c:43:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/module.c:43:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from MagickCore/module.c:43:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/module.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/module.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q8_la-static.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q8_la-statistic.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q8_la-version.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q8_la-xwindow.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q8_la-nt-base.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-aai.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-art.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-avs.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-bgr.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-bmp.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-braille.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-cals.lo
In file included from MagickCore/statistic.c:43:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/statistic.c:43:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from MagickCore/statistic.c:43:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from MagickCore/version.c:39:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/version.c:39:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from MagickCore/version.c:39:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/statistic.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/statistic.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/version.c:39:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/version.c:39:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from MagickCore/static.c:43:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/static.c:43:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from MagickCore/static.c:43:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/static.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/static.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-caption.lo
In file included from coders/aai.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/aai.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/aai.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/aai.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/aai.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from MagickCore/xwindow.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/xwindow.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from MagickCore/xwindow.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/xwindow.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/xwindow.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-cin.lo
In file included from coders/art.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/art.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/art.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/art.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/art.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from MagickCore/nt-base.c:41:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/nt-base.c:41:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from MagickCore/nt-base.c:41:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/nt-base.c:41:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/nt-base.c:41:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/avs.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/avs.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/avs.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/avs.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/avs.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

MagickCore/nt-base.c: In function 'NTSystemCommand':
MagickCore/nt-base.c:2380:5: warning: variable 'sa' set but not used [-Wunused-but-set-variable]
     sa;
     ^~
In file included from coders/bgr.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/bgr.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/bgr.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/bgr.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/bgr.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-cip.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-clip.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-cmyk.lo
In file included from coders/braille.c:40:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/braille.c:40:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/braille.c:40:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/braille.c:40:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/braille.c:40:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-cut.lo
In file included from coders/cals.c:47:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/cals.c:47:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/cals.c:47:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/cals.c:47:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/cals.c:47:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/bmp.c:43:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

  CC       coders/MagickCore_libMagickCore_7_Q8_la-dcm.lo
In file included from ./MagickCore/studio.h:238:0,
                 from coders/bmp.c:43:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/bmp.c:43:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/bmp.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/bmp.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/caption.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/caption.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/caption.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/caption.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/caption.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/cin.c:49:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/cin.c:49:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/cin.c:49:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/cin.c:49:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/cin.c:49:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/cip.c:41:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/cip.c:41:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/cip.c:41:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/cip.c:41:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/cip.c:41:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-dds.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-debug.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-dib.lo
In file included from coders/cmyk.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/cmyk.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/cmyk.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/cmyk.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/cmyk.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/clip.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/clip.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/clip.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/clip.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/clip.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-dng.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-dot.lo
In file included from coders/dcm.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/dcm.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/dcm.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/dcm.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/dcm.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/cut.c:50:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/cut.c:50:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/cut.c:50:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/cut.c:50:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/cut.c:50:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-dpx.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-fax.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-fd.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-fits.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-gif.lo
In file included from coders/debug.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/debug.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/debug.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/debug.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/debug.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/dds.c:44:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/dds.c:44:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/dds.c:44:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/dds.c:44:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/dds.c:44:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/dib.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/dib.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/dib.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

  CC       coders/MagickCore_libMagickCore_7_Q8_la-gradient.lo
In file included from ./MagickCore/studio.h:238:0,
                 from coders/dib.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/dib.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

coders/dib.c: In function 'DecodeImage':
coders/dib.c:150:0: warning: "BI_RGB" redefined
 #define BI_RGB  0

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:71:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/dib.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\wingdi.h:661:0: note: this is the location of the previous definition
 #define BI_RGB __MSABI_LONG(0)

coders/dib.c:151:0: warning: "BI_RLE8" redefined
 #define BI_RLE8  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:71:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/dib.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\wingdi.h:662:0: note: this is the location of the previous definition
 #define BI_RLE8 __MSABI_LONG(1)

coders/dib.c:152:0: warning: "BI_RLE4" redefined
 #define BI_RLE4  2

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:71:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/dib.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\wingdi.h:663:0: note: this is the location of the previous definition
 #define BI_RLE4 __MSABI_LONG(2)

coders/dib.c:153:0: warning: "BI_BITFIELDS" redefined
 #define BI_BITFIELDS  3

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:71:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/dib.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\wingdi.h:664:0: note: this is the location of the previous definition
 #define BI_BITFIELDS __MSABI_LONG(3)

In file included from coders/dng.c:41:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/dng.c:41:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/dng.c:41:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/dng.c:41:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/dng.c:41:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-gray.lo
In file included from coders/dot.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/dot.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/dot.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/dot.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/dot.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/dpx.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/dpx.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/dpx.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/dpx.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/dpx.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/fd.c:43:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/fd.c:43:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/fd.c:43:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/fd.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/fd.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-hald.lo
In file included from coders/fax.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/fax.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/fax.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/fax.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/fax.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/fits.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/fits.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/fits.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/fits.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/fits.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-hdr.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-histogram.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-hrz.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-html.lo
In file included from coders/gradient.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/gradient.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/gradient.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from coders/gif.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/gif.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/gif.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/gradient.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/gradient.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from coders/gif.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/gif.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-icon.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-info.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-inline.lo
In file included from coders/gray.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/gray.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/gray.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/gray.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/gray.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-ipl.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-jnx.lo
In file included from coders/hald.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/hald.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/hald.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/hald.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/hald.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-json.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-label.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-mac.lo
In file included from coders/hdr.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from coders/hrz.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from coders/histogram.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/hdr.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/hdr.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/hrz.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/hrz.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/hdr.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/hdr.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from coders/histogram.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/histogram.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/histogram.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/histogram.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from coders/hrz.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/hrz.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/html.c:43:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/html.c:43:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/html.c:43:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/html.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/html.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/inline.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/inline.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/inline.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/inline.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/inline.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/info.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/info.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/info.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/info.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/info.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-magick.lo
In file included from coders/icon.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/icon.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/icon.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/icon.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/icon.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

coders/icon.c:73:0: warning: "BI_RGB" redefined
 #define BI_RGB  0

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:71:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/icon.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\wingdi.h:661:0: note: this is the location of the previous definition
 #define BI_RGB __MSABI_LONG(0)

coders/icon.c:74:0: warning: "BI_RLE8" redefined
 #define BI_RLE8  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:71:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/icon.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\wingdi.h:662:0: note: this is the location of the previous definition
 #define BI_RLE8 __MSABI_LONG(1)

coders/icon.c:75:0: warning: "BI_BITFIELDS" redefined
 #define BI_BITFIELDS  3

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:71:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/icon.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\wingdi.h:664:0: note: this is the location of the previous definition
 #define BI_BITFIELDS __MSABI_LONG(3)

In file included from coders/ipl.c:44:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/ipl.c:44:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/ipl.c:44:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/ipl.c:44:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/ipl.c:44:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-map.lo
In file included from coders/jnx.c:41:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/jnx.c:41:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/jnx.c:41:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/jnx.c:41:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/jnx.c:41:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-mask.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-mat.lo
In file included from coders/json.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/json.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/json.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/json.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/json.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-matte.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-meta.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-miff.lo
In file included from coders/label.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/label.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/label.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

  CC       coders/MagickCore_libMagickCore_7_Q8_la-mono.lo
In file included from ./MagickCore/studio.h:238:0,
                 from coders/label.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/label.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/mac.c:43:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/mac.c:43:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/mac.c:43:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/mac.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/mac.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-mpeg.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-mpc.lo
In file included from coders/magick.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/magick.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/magick.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/magick.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/magick.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/map.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/map.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/map.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/map.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/map.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/mat.c:50:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/mat.c:50:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/mat.c:50:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/mat.c:50:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/mat.c:50:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-mpr.lo
In file included from coders/mask.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/mask.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/mask.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/mask.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/mask.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-msl.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-mtv.lo
In file included from coders/matte.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/matte.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/matte.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/matte.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/matte.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-mvg.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-null.lo
In file included from coders/meta.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/meta.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/meta.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from coders/miff.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/miff.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/miff.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/meta.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/meta.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from coders/miff.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/miff.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/mpeg.c:41:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/mpeg.c:41:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/mpeg.c:41:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/mpeg.c:41:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/mpeg.c:41:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/mono.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/mono.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/mono.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from coders/mpc.c:43:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/mpc.c:43:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/mpc.c:43:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/mono.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/mono.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from coders/mpc.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/mpc.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-otb.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-pango.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-palm.lo
In file included from coders/mtv.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/mtv.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/mtv.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/mtv.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/mtv.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-pattern.lo
In file included from coders/mpr.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/mpr.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/mpr.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/mpr.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/mpr.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/mvg.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/mvg.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/mvg.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/mvg.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/mvg.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/msl.c:44:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/msl.c:44:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/msl.c:44:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

  CC       coders/MagickCore_libMagickCore_7_Q8_la-pcd.lo
In file included from ./MagickCore/studio.h:238:0,
                 from coders/msl.c:44:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/msl.c:44:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-pcl.lo
In file included from coders/null.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/null.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/null.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/null.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/null.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/otb.c:41:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/otb.c:41:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/otb.c:41:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/otb.c:41:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/otb.c:41:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-pcx.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-pdb.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-pdf.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-pes.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-pgx.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-pict.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-pix.lo
In file included from coders/pango.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pango.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/pango.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pango.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/pango.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-plasma.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-pnm.lo
In file included from coders/pattern.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pattern.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/pattern.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pattern.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/pattern.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/pcd.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pcd.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/pcd.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pcd.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/pcd.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/pcl.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pcl.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/pcl.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pcl.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/pcl.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/palm.c:44:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/palm.c:44:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/palm.c:44:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/palm.c:44:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/palm.c:44:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/pdb.c:49:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pdb.c:49:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/pdb.c:49:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pdb.c:49:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/pdb.c:49:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/pcx.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pcx.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/pcx.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pcx.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/pcx.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-ps.lo
In file included from coders/pict.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pict.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/pict.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pict.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/pict.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-ps2.lo
In file included from coders/pdf.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pdf.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/pdf.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pdf.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/pdf.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/pix.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pix.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/pix.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from coders/pes.c:45:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pix.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pes.c:45:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/pix.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/pes.c:45:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pes.c:45:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/pes.c:45:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-ps3.lo
In file included from coders/pgx.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pgx.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/pgx.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pgx.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/pgx.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

coders/pgx.c: In function 'WritePGXImage':
coders/pgx.c:364:64: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
   (void) FormatLocaleString(buffer,MagickPathExtent,"PG ML + %ld %lu %lu\n",
                                                              ~~^
                                                              %I64d
     image->depth,image->columns,image->rows);
     ~~~~~~~~~~~~
coders/pgx.c:364:68: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t {aka long long unsigned int}' [-Wformat=]
   (void) FormatLocaleString(buffer,MagickPathExtent,"PG ML + %ld %lu %lu\n",
                                                                  ~~^
                                                                  %I64u
     image->depth,image->columns,image->rows);
                  ~~~~~~~~~~~~~~
coders/pgx.c:364:72: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t {aka long long unsigned int}' [-Wformat=]
   (void) FormatLocaleString(buffer,MagickPathExtent,"PG ML + %ld %lu %lu\n",
                                                                      ~~^
                                                                      %I64u
     image->depth,image->columns,image->rows);
                                 ~~~~~~~~~~~
In file included from coders/plasma.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/plasma.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/plasma.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/plasma.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/plasma.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-psd.lo
In file included from coders/pnm.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pnm.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/pnm.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pnm.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/pnm.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-pwp.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-raw.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-rgb.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-rgf.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-rla.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-rle.lo
In file included from coders/ps.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/ps.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/ps.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/ps.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/ps.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-scr.lo
In file included from coders/ps2.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/ps2.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/ps2.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/ps2.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/ps2.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/ps3.c:43:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/ps3.c:43:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/ps3.c:43:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/ps3.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/ps3.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-screenshot.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-sct.lo
In file included from coders/psd.c:45:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/psd.c:45:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/psd.c:45:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/psd.c:45:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/psd.c:45:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/pwp.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pwp.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/pwp.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/pwp.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/pwp.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-sfw.lo
In file included from coders/raw.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/raw.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/raw.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/raw.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/raw.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/rgb.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/rgb.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/rgb.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/rgb.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/rgb.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/rgf.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/rgf.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/rgf.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/rgf.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/rgf.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/rla.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/rla.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/rla.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/rla.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/rla.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/rle.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/rle.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/rle.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/rle.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/rle.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/scr.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/scr.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/scr.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/scr.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/scr.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

coders/rle.c: In function 'ReadRLEImage':
coders/rle.c:334:46: warning: self-comparison always evaluates to false [-Wtautological-compare]
     if ((number_pixels*number_planes_filled) != (size_t) (number_pixels*
                                              ^~
  CC       coders/MagickCore_libMagickCore_7_Q8_la-sgi.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-sixel.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-stegano.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-sun.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-svg.lo
In file included from coders/screenshot.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/screenshot.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/screenshot.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/screenshot.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/screenshot.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-thumbnail.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-tga.lo
In file included from coders/sct.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/sct.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/sct.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/sct.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/sct.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/sfw.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/sfw.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/sfw.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/sfw.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/sfw.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-tile.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-tim.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-ttf.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-txt.lo
In file included from coders/stegano.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/stegano.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/stegano.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/stegano.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/stegano.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/sgi.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/sgi.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/sgi.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/sgi.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/sgi.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-uil.lo
coders/sgi.c: In function 'ReadSGIImage':
coders/sgi.c:382:43: warning: self-comparison always evaluates to false [-Wtautological-compare]
     if ((4*bytes_per_pixel*number_pixels) != ((MagickSizeType) (size_t)
                                           ^~
In file included from coders/sixel.c:43:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/sixel.c:43:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/sixel.c:43:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/sixel.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/sixel.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-url.lo
In file included from coders/tga.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/tga.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/tga.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/tga.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/tga.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/svg.c:44:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/svg.c:44:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/svg.c:44:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/svg.c:44:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/svg.c:44:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/tile.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/tile.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/tile.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from coders/sun.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/tile.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/tile.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from coders/sun.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/sun.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

  CC       coders/MagickCore_libMagickCore_7_Q8_la-uyvy.lo
In file included from ./MagickCore/studio.h:238:0,
                 from coders/sun.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/sun.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/thumbnail.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/thumbnail.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/thumbnail.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/thumbnail.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/thumbnail.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/tim.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/tim.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/tim.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/tim.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/tim.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-vicar.lo
In file included from coders/txt.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/txt.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/txt.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/txt.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/txt.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-vid.lo
In file included from coders/ttf.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/ttf.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/ttf.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/ttf.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/ttf.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/uil.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/uil.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/uil.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/uil.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/uil.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-viff.lo
In file included from coders/url.c:43:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/url.c:43:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/url.c:43:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/url.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/url.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-vips.lo
In file included from coders/uyvy.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/uyvy.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/uyvy.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/uyvy.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/uyvy.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-wbmp.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-wpg.lo
In file included from coders/vicar.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/vicar.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/vicar.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/vicar.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/vicar.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-xbm.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-xc.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-xcf.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-xpm.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-xtrn.lo
In file included from coders/vid.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

  CC       coders/MagickCore_libMagickCore_7_Q8_la-xps.lo
In file included from ./MagickCore/studio.h:238:0,
                 from coders/vid.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/vid.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/vid.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/vid.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-ycbcr.lo
In file included from coders/viff.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/viff.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/viff.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/viff.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/viff.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-yuv.lo
In file included from coders/vips.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/vips.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/vips.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/vips.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/vips.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/wpg.c:41:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/wpg.c:41:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/wpg.c:41:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/wpg.c:41:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/wpg.c:41:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/wbmp.c:41:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/wbmp.c:41:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/wbmp.c:41:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/wbmp.c:41:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/wbmp.c:41:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/xbm.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/xbm.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/xbm.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/xbm.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/xbm.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/xcf.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/xcf.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/xcf.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/xcf.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/xcf.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q8_la-clipboard.lo
  CC       coders/MagickCore_libMagickCore_7_Q8_la-emf.lo
In file included from coders/xps.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/xps.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/xps.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/xps.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/xps.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/xc.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

  CC       filters/MagickCore_libMagickCore_7_Q8_la-analyze.lo
In file included from ./MagickCore/studio.h:238:0,
                 from coders/xc.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/xc.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from coders/xpm.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/xpm.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/xpm.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/xc.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/xc.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from coders/xpm.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/xpm.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-animate.lo
In file included from coders/xtrn.c:48:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/xtrn.c:48:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/xtrn.c:48:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/xtrn.c:48:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/xtrn.c:48:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/yuv.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/yuv.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/yuv.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/yuv.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/yuv.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/ycbcr.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/ycbcr.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/ycbcr.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/ycbcr.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/ycbcr.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-compare.lo
  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-composite.lo
  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-conjure.lo
  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-convert.lo
  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-deprecate.lo
  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-display.lo
  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-drawing-wand.lo
  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-identify.lo
In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/animate.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/animate.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/clipboard.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/clipboard.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/clipboard.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

In file included from ./MagickCore/studio.h:238:0,
                 from coders/clipboard.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/clipboard.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from coders/emf.c:42:0:
./MagickCore/studio.h:126:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment (lib, "ws2_32.lib")

In file included from ./MagickCore/studio.h:238:0,
                 from coders/emf.c:42:
./MagickCore/nt-base.h:32:0: warning: "_CRT_SECURE_NO_DEPRECATE" redefined
 #define _CRT_SECURE_NO_DEPRECATE  1

In file included from c:\tools\mingw64\x86_64-w64-mingw32\include\minwindef.h:6:0,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windef.h:8,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from c:\tools\mingw64\x86_64-w64-mingw32\include\winsock2.h:23,
                 from ./MagickCore/studio.h:123,
                 from coders/emf.c:42:
c:\tools\mingw64\x86_64-w64-mingw32\include\specstrings.h:305:0: note: this is the location of the previous definition
 #define _CRT_SECURE_NO_DEPRECATE

  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-import.lo
In file included from ./MagickCore/studio.h:238:0,
                 from coders/emf.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/emf.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-magick-cli.lo
In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/compare.c:44:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/compare.c:44:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-magick-image.lo
In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/composite.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/composite.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/convert.c:45:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/convert.c:45:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/conjure.c:48:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/conjure.c:48:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/drawing-wand.c:49:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/drawing-wand.c:49:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/deprecate.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/deprecate.c:43:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/identify.c:50:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/identify.c:50:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/display.c:44:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/display.c:44:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-magick-property.lo
  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-magick-wand.lo
  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-mogrify.lo
In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/import.c:44:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/import.c:44:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-montage.lo
  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-operation.lo
In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/magick-cli.c:49:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/magick-cli.c:49:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-pixel-iterator.lo
  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-script-token.lo
  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-pixel-wand.lo
In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/magick-image.c:49:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/magick-image.c:49:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/magick-wand.c:49:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/magick-wand.c:49:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/magick-property.c:49:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/magick-property.c:49:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-stream.lo
In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/mogrify.c:47:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/mogrify.c:47:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/montage.c:45:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/montage.c:45:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/operation.c:50:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/operation.c:50:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/pixel-iterator.c:49:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/pixel-iterator.c:49:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-wand.lo
In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/script-token.c:175:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/script-token.c:175:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/pixel-wand.c:49:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/pixel-wand.c:49:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-wandcli.lo
  CC       MagickWand/MagickWand_libMagickWand_7_Q8_la-wand-view.lo
  CXX      Magick++/lib/Magick___lib_libMagick___7_Q8_la-Blob.lo
In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/stream.c:47:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/stream.c:47:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CXX      Magick++/lib/Magick___lib_libMagick___7_Q8_la-BlobRef.lo
In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/wand.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/wand.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CXX      Magick++/lib/Magick___lib_libMagick___7_Q8_la-CoderInfo.lo
In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/wandcli.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/wandcli.c:42:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickWand/studio.h:238:0,
                 from MagickWand/wand-view.c:48:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from MagickWand/wand-view.c:48:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CXX      Magick++/lib/Magick___lib_libMagick___7_Q8_la-Color.lo
  CXX      Magick++/lib/Magick___lib_libMagick___7_Q8_la-Exception.lo
  CXX      Magick++/lib/Magick___lib_libMagick___7_Q8_la-Drawable.lo
  CXX      Magick++/lib/Magick___lib_libMagick___7_Q8_la-Functions.lo
  CXX      Magick++/lib/Magick___lib_libMagick___7_Q8_la-Geometry.lo
  CXX      Magick++/lib/Magick___lib_libMagick___7_Q8_la-Image.lo
  CXX      Magick++/lib/Magick___lib_libMagick___7_Q8_la-ImageRef.lo
  CXX      Magick++/lib/Magick___lib_libMagick___7_Q8_la-Options.lo
  CXX      Magick++/lib/Magick___lib_libMagick___7_Q8_la-Montage.lo
  CXX      Magick++/lib/Magick___lib_libMagick___7_Q8_la-Pixels.lo
  CXX      Magick++/lib/Magick___lib_libMagick___7_Q8_la-ResourceLimits.lo
  CXX      Magick++/lib/Magick___lib_libMagick___7_Q8_la-Statistic.lo
  CXX      Magick++/lib/Magick___lib_libMagick___7_Q8_la-STL.lo
  CXX      Magick++/lib/Magick___lib_libMagick___7_Q8_la-Thread.lo
  CXX      Magick++/lib/Magick___lib_libMagick___7_Q8_la-TypeMetric.lo
  CC       utilities/magick.o
cp -f MagickCore/ImageMagick.pc MagickCore/ImageMagick-7.Q8.pc
cp -f MagickCore/MagickCore.pc MagickCore/MagickCore-7.Q8.pc
cp -f MagickWand/MagickWand.pc MagickWand/MagickWand-7.Q8.pc
cp -f Magick++/lib/Magick++.pc Magick++/lib/Magick++-7.Q8.pc
  CCLD     MagickCore/libMagickCore-7.Q8.la
In file included from ./MagickWand/studio.h:238:0,
                 from utilities/magick.c:44:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickWand/studio.h:35,
                 from utilities/magick.c:44:
./MagickCore/magick-baseconfig.h:231:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-distribute-cache.o: In function `ConnectPixelCacheServer':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:221: undefined reference to `__imp_getaddrinfo'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:228: undefined reference to `__imp_socket'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:237: undefined reference to `__imp_connect'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:246: undefined reference to `__imp_recv'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:262: undefined reference to `__imp_freeaddrinfo'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:259: undefined reference to `__imp_closesocket'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:232: undefined reference to `__imp_freeaddrinfo'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:240: undefined reference to `__imp_closesocket'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:241: undefined reference to `__imp_freeaddrinfo'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-distribute-cache.o: In function `dpc_send':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:454: undefined reference to `__imp_send'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-distribute-cache.o: In function `dpc_read':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:169: undefined reference to `__imp_recv'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-distribute-cache.o: In function `dpc_send':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:454: undefined reference to `__imp_send'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-distribute-cache.o: In function `DistributePixelCacheClient':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:882: undefined reference to `__imp_closesocket'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-distribute-cache.o: In function `dpc_send':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:454: undefined reference to `__imp_send'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:454: undefined reference to `__imp_send'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:454: undefined reference to `__imp_send'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-distribute-cache.o: In function `DestroyDistributeCacheInfo':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:393: undefined reference to `__imp_closesocket'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-distribute-cache.o: In function `DistributePixelCacheServer':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:937: undefined reference to `__imp_getaddrinfo'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:941: undefined reference to `__imp_socket'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:950: undefined reference to `__imp_setsockopt'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:957: undefined reference to `__imp_bind'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:967: undefined reference to `__imp_freeaddrinfo'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:968: undefined reference to `__imp_listen'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:969: undefined reference to `__imp_accept'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:960: undefined reference to `__imp_closesocket'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-distribute-cache.o: In function `OpenDistributePixelCache':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:1172: undefined reference to `__imp_send'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:1180: undefined reference to `__imp_recv'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-distribute-cache.o: In function `ReadDistributePixelCacheMetacontent':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:1254: undefined reference to `__imp_send'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-distribute-cache.o: In function `dpc_read':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:162: undefined reference to `__imp_recv'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-distribute-cache.o: In function `ReadDistributePixelCachePixels':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:1329: undefined reference to `__imp_send'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-distribute-cache.o: In function `dpc_read':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:162: undefined reference to `__imp_recv'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-distribute-cache.o: In function `RelinquishDistributePixelCache':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:1386: undefined reference to `__imp_send'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-distribute-cache.o: In function `dpc_send':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:459: undefined reference to `__imp_recv'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-distribute-cache.o: In function `WriteDistributePixelCacheMetacontent':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:1465: undefined reference to `__imp_send'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-distribute-cache.o: In function `WriteDistributePixelCachePixels':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/distribute-cache.c:1541: undefined reference to `__imp_send'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-static.o: In function `InvokeStaticImageFilter':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:130: undefined reference to `analyzeImage'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-static.o: In function `RegisterStaticModules':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:183: undefined reference to `RegisterCLIPBOARDImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:200: undefined reference to `RegisterEMFImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:260: undefined reference to `RegisterPATTERNImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:261: undefined reference to `RegisterPCDImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:262: undefined reference to `RegisterPCLImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:263: undefined reference to `RegisterPCXImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:264: undefined reference to `RegisterPDBImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:265: undefined reference to `RegisterPDFImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:266: undefined reference to `RegisterPESImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:267: undefined reference to `RegisterPGXImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:268: undefined reference to `RegisterPICTImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:269: undefined reference to `RegisterPIXImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:270: undefined reference to `RegisterPLASMAImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:274: undefined reference to `RegisterPNMImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:275: undefined reference to `RegisterPSImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:276: undefined reference to `RegisterPS2Image'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:277: undefined reference to `RegisterPS3Image'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:278: undefined reference to `RegisterPSDImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:279: undefined reference to `RegisterPWPImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:280: undefined reference to `RegisterRAWImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:281: undefined reference to `RegisterRGBImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:282: undefined reference to `RegisterRGFImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:283: undefined reference to `RegisterRLAImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:284: undefined reference to `RegisterRLEImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:285: undefined reference to `RegisterSCRImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:286: undefined reference to `RegisterSCREENSHOTImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:287: undefined reference to `RegisterSCTImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:288: undefined reference to `RegisterSFWImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:289: undefined reference to `RegisterSGIImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:290: undefined reference to `RegisterSIXELImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:291: undefined reference to `RegisterSTEGANOImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:292: undefined reference to `RegisterSUNImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:293: undefined reference to `RegisterSVGImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:294: undefined reference to `RegisterTGAImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:295: undefined reference to `RegisterTHUMBNAILImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:299: undefined reference to `RegisterTILEImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:300: undefined reference to `RegisterTIMImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:301: undefined reference to `RegisterTTFImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:302: undefined reference to `RegisterTXTImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:303: undefined reference to `RegisterUILImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:304: undefined reference to `RegisterURLImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:305: undefined reference to `RegisterUYVYImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:306: undefined reference to `RegisterVICARImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:307: undefined reference to `RegisterVIDImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:308: undefined reference to `RegisterVIFFImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:309: undefined reference to `RegisterVIPSImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:310: undefined reference to `RegisterWBMPImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:317: undefined reference to `RegisterWPGImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:321: undefined reference to `RegisterXBMImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:322: undefined reference to `RegisterXCImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:323: undefined reference to `RegisterXCFImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:324: undefined reference to `RegisterXPMImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:325: undefined reference to `RegisterXPSImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:327: undefined reference to `RegisterXTRNImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:332: undefined reference to `RegisterYCBCRImage'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-static.o: In function `UnregisterStaticModules':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:371: undefined reference to `UnregisterCLIPBOARDImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:388: undefined reference to `UnregisterEMFImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:448: undefined reference to `UnregisterPATTERNImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:449: undefined reference to `UnregisterPCDImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:450: undefined reference to `UnregisterPCLImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:451: undefined reference to `UnregisterPCXImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:452: undefined reference to `UnregisterPDBImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:453: undefined reference to `UnregisterPDFImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:454: undefined reference to `UnregisterPESImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:455: undefined reference to `UnregisterPGXImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:456: undefined reference to `UnregisterPICTImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:457: undefined reference to `UnregisterPIXImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:458: undefined reference to `UnregisterPLASMAImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:462: undefined reference to `UnregisterPNMImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:463: undefined reference to `UnregisterPSImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:464: undefined reference to `UnregisterPS2Image'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:465: undefined reference to `UnregisterPS3Image'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:466: undefined reference to `UnregisterPSDImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:467: undefined reference to `UnregisterPWPImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:468: undefined reference to `UnregisterRAWImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:469: undefined reference to `UnregisterRGBImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:470: undefined reference to `UnregisterRGFImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:471: undefined reference to `UnregisterRLAImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:472: undefined reference to `UnregisterRLEImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:473: undefined reference to `UnregisterSCRImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:474: undefined reference to `UnregisterSCREENSHOTImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:475: undefined reference to `UnregisterSCTImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:476: undefined reference to `UnregisterSFWImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:477: undefined reference to `UnregisterSGIImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:478: undefined reference to `UnregisterSIXELImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:479: undefined reference to `UnregisterSTEGANOImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:480: undefined reference to `UnregisterSUNImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:481: undefined reference to `UnregisterSVGImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:482: undefined reference to `UnregisterTGAImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:483: undefined reference to `UnregisterTHUMBNAILImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:487: undefined reference to `UnregisterTILEImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:488: undefined reference to `UnregisterTIMImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:489: undefined reference to `UnregisterTTFImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:490: undefined reference to `UnregisterTXTImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:491: undefined reference to `UnregisterUILImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:492: undefined reference to `UnregisterURLImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:493: undefined reference to `UnregisterUYVYImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:494: undefined reference to `UnregisterVICARImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:495: undefined reference to `UnregisterVIDImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:496: undefined reference to `UnregisterVIFFImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:497: undefined reference to `UnregisterVIPSImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:498: undefined reference to `UnregisterWBMPImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:505: undefined reference to `UnregisterWPGImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:509: undefined reference to `UnregisterXBMImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:510: undefined reference to `UnregisterXCImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:511: undefined reference to `UnregisterXCFImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:512: undefined reference to `UnregisterXPMImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:513: undefined reference to `UnregisterXPSImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:515: undefined reference to `UnregisterXTRNImage'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:520: undefined reference to `UnregisterYCBCRImage'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-static.o: In function `RegisterStaticModules':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:333: undefined reference to `RegisterYUVImage'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-static.o: In function `UnregisterStaticModules':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/static.c:521: undefined reference to `UnregisterYUVImage'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-nt-base.o: In function `NTInitializeWinsock':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/nt-base.c:1660: undefined reference to `__imp_WSAStartup'
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/nt-base.c:1660: undefined reference to `__imp_WSAStartup'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-nt-base.o: In function `NTWindowsTerminus':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/nt-base.c:2836: undefined reference to `__imp_WSACleanup'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-nt-feature.o: In function `CropImageToHBITMAP':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/nt-feature.c:217: undefined reference to `__imp_CreateBitmapIndirect'
MagickCore\\.libs\\MagickCore_libMagickCore_7_Q8_la-nt-feature.o: In function `ImageToHBITMAP':
C:\Tools\home\Bonfire\ImageMagick-7.0.7-3/MagickCore/nt-feature.c:644: undefined reference to `__imp_CreateBitmapIndirect'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [Makefile:6030: MagickCore/libMagickCore-7.Q8.la] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory 'C:/Tools/home/Bonfire/ImageMagick-7.0.7-3'
make: *** [Makefile:5153: all] Error 2
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: MinGW64 and ImageMagick

Post by dlemstra »

Could you check if the following patch fixes your issue: https://github.com/ImageMagick/ImageMag ... 2fc91f97f7?
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
User avatar
Vlad the implier
Posts: 4
Joined: 2017-09-21T04:00:51-07:00
Authentication code: 1151

Re: MinGW64 and ImageMagick

Post by Vlad the implier »

dlemstra wrote: 2017-09-26T12:19:56-07:00 Could you check if the following patch fixes your issue: https://github.com/ImageMagick/ImageMag ... 2fc91f97f7?
Thanks for the reply!
It definitely solved all the Errors about sockets! But it is still crashing.
Now the only Errors left are regarding MagickCore/nt-base.c with things like:
  • MagickCore/nt-base.c: In function 'NTInitializeWinsock':
    MagickCore/nt-base.c:1657:28: error: expected expression before ')' token
    if (wsaData == (WSADATA *) NULL)
  • MagickCore/nt-base.c:119:8: error: unknown type name 'WSADATA'
  • MagickCore/nt-base.c:1659:27: error: expected ';' before 'AcquireMagickMemory'
    wsaData=(WSADATA *) AcquireMagickMemory(sizeof(WSADATA));
Also things like:
  • MagickCore/utility.c: In function 'GetMagickPageSize':
    MagickCore/utility.c:1133:23: warning: implicit declaration of function 'getpagesize'; did you mean 'NTGetPageSize'? [-Wimplicit-function-declaration]
    page_size=(ssize_t) getpagesize();
    ^~~~~~~~~~~
indicating, that GNU-isms are screwing with the Windows build?


Latest Unix Version 7.0.7-4 with your patch applied, on MSYS2 and latest MinGW64 (gcc version 7.2.0) with posix threads.
I'll retry some other combos with win32 threads as well, although I presume this is the correct way to build.

Code: Select all

make  all-am
make[1]: Entering directory '/D/Susisomat/im'
cp -f MagickCore/ImageMagick.pc MagickCore/ImageMagick-7.Q16HDRI.pc
cp -f MagickCore/MagickCore.pc MagickCore/MagickCore-7.Q16HDRI.pc
cp -f MagickWand/MagickWand.pc MagickWand/MagickWand-7.Q16HDRI.pc
cp -f Magick++/lib/Magick++.pc Magick++/lib/Magick++-7.Q16HDRI.pc
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-accelerate.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-animate.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-annotate.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-artifact.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-attribute.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-blob.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-cache.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-cache-view.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/accelerate.c:44:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/accelerate.c:44:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/animate.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/animate.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/cache.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/cache.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/attribute.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/cache-view.c:49:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/cache-view.c:49:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/attribute.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/blob.c:47:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/blob.c:47:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/annotate.c:45:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/annotate.c:45:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/artifact.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/artifact.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-channel.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-cipher.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-client.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-coder.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/cipher.c:41:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/cipher.c:41:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/channel.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/channel.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-color.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/client.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/client.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/coder.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/coder.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-colormap.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/color.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/color.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-colorspace.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-compare.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-composite.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-compress.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-configure.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-constitute.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/colormap.c:44:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/colormap.c:44:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/colorspace.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/colorspace.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/compare.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/compare.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/composite.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/composite.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/compress.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/compress.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/configure.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/configure.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/constitute.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/constitute.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-decorate.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-delegate.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/decorate.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/decorate.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-deprecate.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-display.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-distort.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/delegate.c:48:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/delegate.c:48:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/deprecate.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/deprecate.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-distribute-cache.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/display.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/display.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-draw.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/distort.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/distort.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-effect.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-enhance.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-exception.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/draw.c:48:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/draw.c:48:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-feature.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/distribute-cache.c:54:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/distribute-cache.c:54:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

MagickCore/distribute-cache.c:768:28: warning: 'DistributePixelCacheClient' defined but not used [-Wunused-function]
 static HANDLER_RETURN_TYPE DistributePixelCacheClient(void *socket)
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-fourier.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/effect.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/effect.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/enhance.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/enhance.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/exception.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/exception.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/feature.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/feature.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-fx.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/fourier.c:45:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/fourier.c:45:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-gem.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/fx.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/fx.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-geometry.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/gem.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/gem.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-histogram.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/geometry.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/geometry.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/histogram.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/histogram.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-identify.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-image.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-image-view.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-layer.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/identify.c:45:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/identify.c:45:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/image.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/image.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-linked-list.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/image-view.c:48:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/image-view.c:48:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/layer.c:40:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/layer.c:40:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/linked-list.c:45:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/linked-list.c:45:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-list.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-locale.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-log.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-magic.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-magick.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-matrix.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-memory.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/list.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/list.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/locale.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/locale.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/log.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/log.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

MagickCore/locale.c:128:17: warning: 'AcquireCLocale' defined but not used [-Wunused-function]
 static locale_t AcquireCLocale(void)
                 ^~~~~~~~~~~~~~
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/magic.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/magic.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/magick.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/magick.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/memory.c:56:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/memory.c:56:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/matrix.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/matrix.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-mime.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-module.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-monitor.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-montage.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-morphology.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-opencl.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/mime.c:40:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/mime.c:40:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-option.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-paint.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/module.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/module.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/monitor.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/monitor.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/morphology.c:52:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/morphology.c:52:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/opencl.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/opencl.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/montage.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/montage.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-pixel.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/option.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/option.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/paint.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/paint.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-policy.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-prepress.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-property.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/pixel.c:41:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/pixel.c:41:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-profile.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-quantize.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/policy.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/policy.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/prepress.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/prepress.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/property.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/property.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/profile.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/profile.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-quantum.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-quantum-export.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/quantize.c:176:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/quantize.c:176:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-quantum-import.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/quantum.c:41:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/quantum.c:41:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/quantum-export.c:47:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/quantum-export.c:47:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/quantum-import.c:47:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/quantum-import.c:47:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-random.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-registry.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-resample.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-resize.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/random.c:50:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/random.c:50:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/registry.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/registry.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/resample.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/resample.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/resize.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/resize.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-resource.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-segment.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-semaphore.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-shear.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/segment.c:85:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/segment.c:85:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/resource.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/resource.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/semaphore.c:44:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/semaphore.c:44:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/shear.c:47:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/shear.c:47:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-signature.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-splay-tree.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/signature.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/signature.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-static.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-statistic.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-stream.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/splay-tree.c:51:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/splay-tree.c:51:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-string.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/static.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/static.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/statistic.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/statistic.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/stream.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/stream.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-thread.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-timer.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-token.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/string.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/string.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-transform.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/thread.c:41:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/thread.c:41:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/timer.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/timer.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/token.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/token.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-threshold.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/transform.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/transform.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-type.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-utility.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-version.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-vision.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/threshold.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/threshold.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-widget.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/type.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/type.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/utility.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/utility.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

MagickCore/utility.c: In function 'GetMagickPageSize':
MagickCore/utility.c:1133:23: warning: implicit declaration of function 'getpagesize'; did you mean 'NTGetPageSize'? [-Wimplicit-function-declaration]
   page_size=(ssize_t) getpagesize();
                       ^~~~~~~~~~~
                       NTGetPageSize
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/version.c:39:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/version.c:39:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/vision.c:39:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/vision.c:39:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/widget.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/widget.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-xml-tree.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-xwindow.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-nt-base.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-nt-feature.lo
  CC       coders/MagickCore_libMagickCore_7_Q16HDRI_la-aai.lo
  CC       coders/MagickCore_libMagickCore_7_Q16HDRI_la-art.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/xml-tree.c:50:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/xml-tree.c:50:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/xwindow.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/xwindow.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

  CC       coders/MagickCore_libMagickCore_7_Q16HDRI_la-avs.lo
  CC       coders/MagickCore_libMagickCore_7_Q16HDRI_la-bgr.lo
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/nt-base.c:41:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/nt-base.c:41:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

MagickCore/nt-base.c:119:8: error: unknown type name 'WSADATA'
 static WSADATA
        ^~~~~~~
MagickCore/nt-base.c:120:15: error: 'WSADATA' undeclared here (not in a function); did you mean 'RGNDATA'?
   *wsaData = (WSADATA*) NULL;
               ^~~~~~~
               RGNDATA
MagickCore/nt-base.c:120:23: error: expected expression before ')' token
   *wsaData = (WSADATA*) NULL;
                       ^
MagickCore/nt-base.c:132:5: warning: excess elements in struct initializer
   { HKEY_CURRENT_USER,  "HKEY_CURRENT_USER"  },
     ^~~~~~~~~~~~~~~~~
MagickCore/nt-base.c:132:5: note: (near initialization for 'registry_roots[0]')
MagickCore/nt-base.c:132:25: warning: excess elements in struct initializer
   { HKEY_CURRENT_USER,  "HKEY_CURRENT_USER"  },
                         ^~~~~~~~~~~~~~~~~~~
MagickCore/nt-base.c:132:25: note: (near initialization for 'registry_roots[0]')
MagickCore/nt-base.c:133:5: warning: excess elements in struct initializer
   { HKEY_LOCAL_MACHINE, "HKEY_LOCAL_MACHINE" }
     ^~~~~~~~~~~~~~~~~~
MagickCore/nt-base.c:133:5: note: (near initialization for 'registry_roots[1]')
MagickCore/nt-base.c:133:25: warning: excess elements in struct initializer
   { HKEY_LOCAL_MACHINE, "HKEY_LOCAL_MACHINE" }
                         ^~~~~~~~~~~~~~~~~~~~
MagickCore/nt-base.c:133:25: note: (near initialization for 'registry_roots[1]')
MagickCore/nt-base.c: In function 'NTLocateGhostscript':
MagickCore/nt-base.c:1159:52: warning: division by zero [-Wdiv-by-zero]
     for (j=0; j < (ssize_t) (sizeof(registry_roots)/sizeof(registry_roots[0]));
                                                    ^
MagickCore/nt-base.c:1163:42: error: 'const struct <anonymous>' has no member named 'hkey'
       if (RegOpenKeyExA(registry_roots[j].hkey,key,0,mode,&hkey) ==
                                          ^
MagickCore/nt-base.c: In function 'NTGhostscriptGetString':
MagickCore/nt-base.c:1301:52: error: 'const struct <anonymous>' has no member named 'hkey'
   if (NTGetRegistryValue(registry_roots[root_index].hkey,buffer,flags,name,
                                                    ^
MagickCore/nt-base.c:1305:69: error: 'const struct <anonymous>' has no member named 'name'
         "registry: \"%s\\%s\\%s\"=\"%s\"",registry_roots[root_index].name,
                                                                     ^
MagickCore/nt-base.c: In function 'NTInitializeWinsock':
MagickCore/nt-base.c:1657:28: error: expected expression before ')' token
   if (wsaData == (WSADATA *) NULL)
                            ^
MagickCore/nt-base.c:1659:27: error: expected ';' before 'AcquireMagickMemory'
       wsaData=(WSADATA *) AcquireMagickMemory(sizeof(WSADATA));
                           ^~~~~~~~~~~~~~~~~~~
MagickCore/nt-base.c:1660:11: warning: implicit declaration of function 'WSAStartup' [-Wimplicit-function-declaration]
       if (WSAStartup(MAKEWORD(2,2),wsaData) != 0)
           ^~~~~~~~~~
MagickCore/nt-base.c: In function 'NTSystemCommand':
MagickCore/nt-base.c:2380:5: warning: variable 'sa' set but not used [-Wunused-but-set-variable]
     sa;
     ^~
MagickCore/nt-base.c: In function 'NTWindowsTerminus':
MagickCore/nt-base.c:2834:28: error: expected expression before ')' token
   if (wsaData != (WSADATA *) NULL)
                            ^
MagickCore/nt-base.c:2836:7: warning: implicit declaration of function 'WSACleanup' [-Wimplicit-function-declaration]
       WSACleanup();
       ^~~~~~~~~~
MagickCore/nt-base.c:2837:25: error: expected expression before ')' token
       wsaData=(WSADATA *) RelinquishMagickMemory((void *) wsaData);
                         ^
In file included from ./MagickCore/studio.h:238:0,
                 from MagickCore/nt-feature.c:43:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from MagickCore/nt-feature.c:43:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

make[1]: *** [Makefile:8159: MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-nt-base.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from ./MagickCore/studio.h:238:0,
                 from coders/aai.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/aai.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from coders/art.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/art.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from coders/bgr.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/bgr.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

In file included from ./MagickCore/studio.h:238:0,
                 from coders/avs.c:42:
./MagickCore/nt-base.h:98:0: warning: "MAGICKCORE_HAVE_ERF" redefined
 #define MAGICKCORE_HAVE_ERF

In file included from ./MagickCore/magick-config.h:25:0,
                 from ./MagickCore/studio.h:35,
                 from coders/avs.c:42:
./MagickCore/magick-baseconfig.h:249:0: note: this is the location of the previous definition
 #define MAGICKCORE_HAVE_ERF 1

make[1]: Leaving directory '/D/Susisomat/im'
make: *** [Makefile:5153: all] Error 2
Ismoez
Posts: 1
Joined: 2017-12-27T09:47:06-07:00
Authentication code: 1152

Re: MinGW64 and ImageMagick

Post by Ismoez »

in file nt-base.h Add:
#include <Winsock2.h>
in:
#if defined(MAGICKCORE_WINDOWS_SUPPORT)
after:
#include <windows.h>

AND in makefile:
there should be a LIBS variable somewhere near row 2637
ADD -lws2_32
in my Makfefile the varible looked like this:
LIBS =
Now it looks like this:
LIBS = -lws2_32
Post Reply