MinGW64 no longer prefixes symbols with underscores by default

This commit is contained in:
DRC
2011-03-22 09:19:29 +00:00
parent bcfb6ed138
commit 51a4282abc
2 changed files with 8 additions and 2 deletions

View File

@@ -35,6 +35,14 @@ by tjEncodeYUV().
the unaccelerated decoder and throws a warning if an unexpected marker is found
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
=====

View File

@@ -48,9 +48,7 @@
;
%define SEG_TEXT .text align=16 public use64 class=CODE
%define SEG_CONST .rdata align=16 public use64 class=CONST
%ifdef MSVC
%define EXTN(name) name ; foo() -> foo
%endif
%elifdef OBJ32 ; ----(nasm -fobj -DOBJ32 ...)----------
; * Borland C++ (Win32)