mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng17] Added "-D_CRT_SECURE_NO_WARNINGS" to CFLAGS in
scripts/makefile.vcwin32. Removed the obsolete $ARCH variable from scripts/makefile.darwin.
This commit is contained in:
parent
8cfee5fa78
commit
238fdc197d
6
ANNOUNCE
6
ANNOUNCE
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
Libpng 1.7.0beta42 - November 14, 2014
|
Libpng 1.7.0beta42 - November 17, 2014
|
||||||
|
|
||||||
This is not intended to be a public release. It will be replaced
|
This is not intended to be a public release. It will be replaced
|
||||||
within a few weeks by a public version or by another test version.
|
within a few weeks by a public version or by another test version.
|
||||||
@ -648,11 +648,13 @@ Version 1.7.0beta41 [November 7, 2014]
|
|||||||
png_do_swap().
|
png_do_swap().
|
||||||
Changed all "#endif /* PNG_FEATURE_SUPPORTED */" to "#endif /* FEATURE */"
|
Changed all "#endif /* PNG_FEATURE_SUPPORTED */" to "#endif /* FEATURE */"
|
||||||
|
|
||||||
Version 1.7.0beta42 [November 14, 2014]
|
Version 1.7.0beta42 [November 17, 2014]
|
||||||
The macros passed in the command line to Borland make were ignored if
|
The macros passed in the command line to Borland make were ignored if
|
||||||
similarly-named macros were already defined in makefiles. This behavior
|
similarly-named macros were already defined in makefiles. This behavior
|
||||||
is different from POSIX make and other make programs. Surround the
|
is different from POSIX make and other make programs. Surround the
|
||||||
macro definitions with ifndef guards (Cosmin).
|
macro definitions with ifndef guards (Cosmin).
|
||||||
|
Added "-D_CRT_SECURE_NO_WARNINGS" to CFLAGS in scripts/makefile.vcwin32.
|
||||||
|
Removed the obsolete $ARCH variable from scripts/makefile.darwin.
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
|||||||
4
CHANGES
4
CHANGES
@ -4937,11 +4937,13 @@ Version 1.7.0beta41 [November 7, 2014]
|
|||||||
png_do_swap().
|
png_do_swap().
|
||||||
Changed all "#endif /* PNG_FEATURE_SUPPORTED */" to "#endif /* FEATURE */"
|
Changed all "#endif /* PNG_FEATURE_SUPPORTED */" to "#endif /* FEATURE */"
|
||||||
|
|
||||||
Version 1.7.0beta42 [November 14, 2014]
|
Version 1.7.0beta42 [November 17, 2014]
|
||||||
The macros passed in the command line to Borland make were ignored if
|
The macros passed in the command line to Borland make were ignored if
|
||||||
similarly-named macros were already defined in makefiles. This behavior
|
similarly-named macros were already defined in makefiles. This behavior
|
||||||
is different from POSIX make and other make programs. Surround the
|
is different from POSIX make and other make programs. Surround the
|
||||||
macro definitions with ifndef guards (Cosmin).
|
macro definitions with ifndef guards (Cosmin).
|
||||||
|
Added "-D_CRT_SECURE_NO_WARNINGS" to CFLAGS in scripts/makefile.vcwin32.
|
||||||
|
Removed the obsolete $ARCH variable from scripts/makefile.darwin.
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
|||||||
@ -36,12 +36,11 @@ LN_SF=ln -sf
|
|||||||
RANLIB=ranlib
|
RANLIB=ranlib
|
||||||
CP=cp
|
CP=cp
|
||||||
RM_F=/bin/rm -f
|
RM_F=/bin/rm -f
|
||||||
ARCH=-arch ppc -arch i386 -arch x86_64
|
|
||||||
|
|
||||||
CPPFLAGS=-I$(ZLIBINC)
|
CPPFLAGS=-I$(ZLIBINC)
|
||||||
# CFLAGS=-W -Wall -O3 -funroll-loops
|
# CFLAGS=-W -Wall -O3 -funroll-loops
|
||||||
CFLAGS=-W -Wall -O -funroll-loops $(ARCH)
|
CFLAGS=-W -Wall -O -funroll-loops
|
||||||
LDFLAGS=-L. -L$(ZLIBLIB) -lpng17 -lz $(ARCH)
|
LDFLAGS=-L. -L$(ZLIBLIB) -lpng17 -lz
|
||||||
|
|
||||||
INCPATH=$(prefix)/include
|
INCPATH=$(prefix)/include
|
||||||
LIBPATH=$(exec_prefix)/lib
|
LIBPATH=$(exec_prefix)/lib
|
||||||
@ -113,7 +112,7 @@ $(LIBSOMAJ): $(OBJSDLL)
|
|||||||
$(CC) -dynamiclib \
|
$(CC) -dynamiclib \
|
||||||
-install_name $(LIBPATH)/$(LIBSOMAJ) \
|
-install_name $(LIBPATH)/$(LIBSOMAJ) \
|
||||||
-current_version 17 -compatibility_version 17 \
|
-current_version 17 -compatibility_version 17 \
|
||||||
$(ARCH) -o $(LIBSOMAJ) \
|
-o $(LIBSOMAJ) \
|
||||||
$(OBJSDLL) -L$(ZLIBLIB) -lz
|
$(OBJSDLL) -L$(ZLIBLIB) -lz
|
||||||
|
|
||||||
pngtest: pngtest.o $(LIBSO)
|
pngtest: pngtest.o $(LIBSO)
|
||||||
|
|||||||
@ -16,7 +16,7 @@ CC = cl
|
|||||||
LD = link
|
LD = link
|
||||||
AR = lib
|
AR = lib
|
||||||
CPPFLAGS = -I..\zlib
|
CPPFLAGS = -I..\zlib
|
||||||
CFLAGS = -nologo -D_CRT_SECURE_NO_DEPRECATE -MD -O2 -W3
|
CFLAGS = -nologo -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -MD -O2 -W3
|
||||||
LDFLAGS = -nologo
|
LDFLAGS = -nologo
|
||||||
ARFLAGS = -nologo
|
ARFLAGS = -nologo
|
||||||
CP = copy
|
CP = copy
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user