* builds/compiler/gcc.mk, builds/compiler/gcc-dev.mk (CFLAGS):
Add -fno-strict-aliasing to get rid of zillion warnings from gcc version 3.3.
This commit is contained in:
parent
052904e3a0
commit
d726e41c33
|
@ -1,3 +1,9 @@
|
||||||
|
2003-06-15 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
* builds/compiler/gcc.mk, builds/compiler/gcc-dev.mk (CFLAGS):
|
||||||
|
Add -fno-strict-aliasing to get rid of zillion warnings from gcc
|
||||||
|
version 3.3.
|
||||||
|
|
||||||
2003-06-14 Werner Lemberg <wl@gnu.org>
|
2003-06-14 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
* include/freetype/ftglyph.h (ft_glyph_bbox_unscaled,
|
* include/freetype/ftglyph.h (ft_glyph_bbox_unscaled,
|
||||||
|
|
|
@ -64,6 +64,7 @@ T := -o$(space)
|
||||||
#
|
#
|
||||||
ifndef CFLAGS
|
ifndef CFLAGS
|
||||||
CFLAGS := -c -g -O0 \
|
CFLAGS := -c -g -O0 \
|
||||||
|
-fno-strict-aliasing \
|
||||||
-Wall \
|
-Wall \
|
||||||
-W \
|
-W \
|
||||||
-Wundef \
|
-Wundef \
|
||||||
|
|
|
@ -62,7 +62,7 @@ T := -o$(space)
|
||||||
# ANSI compliance.
|
# ANSI compliance.
|
||||||
#
|
#
|
||||||
ifndef CFLAGS
|
ifndef CFLAGS
|
||||||
CFLAGS := -c -g -O6 -Wall
|
CFLAGS := -c -g -O6 -Wall -fno-strict-aliasing
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
|
# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
|
||||||
|
|
|
@ -141,7 +141,7 @@ FT_BEGIN_HEADER
|
||||||
FT_Realloc( FT_Memory memory,
|
FT_Realloc( FT_Memory memory,
|
||||||
FT_Long current,
|
FT_Long current,
|
||||||
FT_Long size,
|
FT_Long size,
|
||||||
void** P );
|
void* *P );
|
||||||
|
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
@ -160,13 +160,13 @@ FT_BEGIN_HEADER
|
||||||
/* allocated block. It is always set to NULL on exit. */
|
/* allocated block. It is always set to NULL on exit. */
|
||||||
/* */
|
/* */
|
||||||
/* <Note> */
|
/* <Note> */
|
||||||
/* If P or *P are NULL, this function should return successfully. */
|
/* If P or *P is NULL, this function should return successfully. */
|
||||||
/* This is a strong convention within all of FreeType and its */
|
/* This is a strong convention within all of FreeType and its */
|
||||||
/* drivers. */
|
/* drivers. */
|
||||||
/* */
|
/* */
|
||||||
FT_BASE( void )
|
FT_BASE( void )
|
||||||
FT_Free( FT_Memory memory,
|
FT_Free( FT_Memory memory,
|
||||||
void** P );
|
void* *P );
|
||||||
|
|
||||||
|
|
||||||
#define FT_MEM_SET( dest, byte, count ) ft_memset( dest, byte, count )
|
#define FT_MEM_SET( dest, byte, count ) ft_memset( dest, byte, count )
|
||||||
|
|
Loading…
Reference in New Issue