Mercurial > libdvdread4.hg
annotate Makefile.am @ 92:7ab44001373e src tip
Use 0 instead of NULL in integer comparison
Both GCC 4.8.2 and Clang 3.4 warn about a format mismatch in a
comparison.
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -mno-ms-bitfields -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOUR
CE -MT ifo_read.lo -MD -MP -MF .deps/ifo_read.Tpo -c ifo_read.c -fPIC -DPIC -o .libs/ifo_read.o
[กฤ]
ifo_read.c: In function 'ifoRead_PTL_MAIT':
ifo_read.c:1313:34: warning: comparison between pointer and integer [enabled by default]
if(ifofile->vmgi_mat->ptl_mait == NULL)
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -MT ifo_read.
lo -MD -MP -MF .deps/ifo_read.Tpo -c ifo_read.c -fPIC -DPIC -o .libs/ifo_read.o
[กฤ]
ifo_read.c:1313:34: warning: comparison between pointer and integer ('uint32_t' (aka 'unsigned int') and 'void *')
if(ifofile->vmgi_mat->ptl_mait == NULL)
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
Fix this by using the integer 0 instead of `NULL`.
Patch by Paul Menzel <paulepanter AT users DOT sourceforge DOT net>
author | rathann |
---|---|
date | Wed, 04 Dec 2013 22:44:23 +0000 |
parents | c743d79f187b |
children |
rev | line source |
---|---|
3 | 1 include $(top_srcdir)/misc/Makefile.common |
2 | |
15
7b2a843accd9
Rename includedir to $prefix/include/dvdread to remain API-compatible
rathann
parents:
5
diff
changeset
|
3 includedir = ${prefix}/include/dvdread |
3 | 4 |
5 | 5 AM_CPPFLAGS = -I$(top_srcdir)/src |
3 | 6 |
7 lib_LTLIBRARIES = libdvdread.la | |
8 | |
9 libdvdread_la_SOURCES = dvd_reader.c nav_read.c ifo_read.c \ | |
10 dvd_input.c dvd_udf.c md5.c nav_print.c ifo_print.c bitreader.c \ | |
11 bswap.h dvd_input.h dvdread_internal.h dvd_udf.h md5.h bitreader.h | |
12 | |
13 libdvdread_la_LIBADD = $(DYNAMIC_LD_LIBS) | |
14 | |
5 | 15 libdvdread_la_LDFLAGS = -version-info $(DVDREAD_LT_CURRENT):$(DVDREAD_LT_REVISION):$(DVDREAD_LT_AGE) \ |
3 | 16 -export-symbols-regex "(^dvd.*|^nav.*|^ifo.*|^DVD.*|^UDF.*)" |
17 | |
33
c743d79f187b
Move installed headers into dvdread directory to make them easier to
reimar
parents:
15
diff
changeset
|
18 include_HEADERS = dvdread/dvd_reader.h dvdread/nav_read.h dvdread/ifo_read.h \ |
c743d79f187b
Move installed headers into dvdread directory to make them easier to
reimar
parents:
15
diff
changeset
|
19 dvdread/nav_print.h dvdread/ifo_print.h dvdread/ifo_types.h dvdread/nav_types.h dvdread/dvd_udf.h dvdread/bitreader.h |