MinGW64 no longer prefixes symbols with underscores by default
This commit is contained in:
@@ -35,6 +35,14 @@ by tjEncodeYUV().
|
|||||||
the unaccelerated decoder and throws a warning if an unexpected marker is found
|
the unaccelerated decoder and throws a warning if an unexpected marker is found
|
||||||
in the middle of the JPEG data stream.
|
in the middle of the JPEG data stream.
|
||||||
|
|
||||||
|
[3] Older versions of MinGW64 prefixed symbol names with underscores by
|
||||||
|
default, which differed from the behavior of 64-bit Visual C++. MinGW64 1.0
|
||||||
|
has adopted the behavior of 64-bit Visual C++ as the default, so to accommodate
|
||||||
|
this, the libjpeg-turbo SIMD function names are no longer prefixed with an
|
||||||
|
underscore when building with MinGW64. This means that, when building
|
||||||
|
libjpeg-turbo with older versions of MinGW64, you will now have to add
|
||||||
|
-fno-leading-underscore to the CFLAGS.
|
||||||
|
|
||||||
|
|
||||||
1.1.0
|
1.1.0
|
||||||
=====
|
=====
|
||||||
|
|||||||
@@ -48,9 +48,7 @@
|
|||||||
;
|
;
|
||||||
%define SEG_TEXT .text align=16 public use64 class=CODE
|
%define SEG_TEXT .text align=16 public use64 class=CODE
|
||||||
%define SEG_CONST .rdata align=16 public use64 class=CONST
|
%define SEG_CONST .rdata align=16 public use64 class=CONST
|
||||||
%ifdef MSVC
|
|
||||||
%define EXTN(name) name ; foo() -> foo
|
%define EXTN(name) name ; foo() -> foo
|
||||||
%endif
|
|
||||||
|
|
||||||
%elifdef OBJ32 ; ----(nasm -fobj -DOBJ32 ...)----------
|
%elifdef OBJ32 ; ----(nasm -fobj -DOBJ32 ...)----------
|
||||||
; * Borland C++ (Win32)
|
; * Borland C++ (Win32)
|
||||||
|
|||||||
Reference in New Issue
Block a user