projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Silence -Wnull-dereference warning in generated CTF parser code
[babeltrace.git]
/
src
/
plugins
/
ctf
/
common
/
metadata
/
Makefile.am
diff --git
a/src/plugins/ctf/common/metadata/Makefile.am
b/src/plugins/ctf/common/metadata/Makefile.am
index aa3b4490081f20498d35750152cea21efddc1d9d..5a6e4deec75c021966ebcc67931c2194ee9a1dae 100644
(file)
--- a/
src/plugins/ctf/common/metadata/Makefile.am
+++ b/
src/plugins/ctf/common/metadata/Makefile.am
@@
-10,7
+10,12
@@
libctf_parser_la_SOURCES = lexer.l parser.y objstack.c
# with bt_.
libctf_parser_la_CPPFLAGS = $(AM_CPPFLAGS) \
-include $(srcdir)/scanner-symbols.h
# with bt_.
libctf_parser_la_CPPFLAGS = $(AM_CPPFLAGS) \
-include $(srcdir)/scanner-symbols.h
-libctf_parser_la_CFLAGS = $(AM_CFLAGS) -Wno-unused-function
+
+# This library contains (mostly) generated code, silence some warnings that it
+# produces.
+libctf_parser_la_CFLAGS = $(AM_CFLAGS) \
+ -Wno-unused-function \
+ -Wno-null-dereference
libctf_ast_la_SOURCES = \
visitor-generate-ir.c \
libctf_ast_la_SOURCES = \
visitor-generate-ir.c \
@@
-19,11
+24,13
@@
libctf_ast_la_SOURCES = \
ast.h \
objstack.h \
parser.h \
ast.h \
objstack.h \
parser.h \
+ parser-wrap.h \
scanner.h \
scanner-symbols.h \
decoder.c \
scanner.h \
scanner-symbols.h \
decoder.c \
- decoder-packetized-file-stream-to-buf.c \
decoder.h \
decoder.h \
+ decoder-packetized-file-stream-to-buf.c \
+ decoder-packetized-file-stream-to-buf.h \
logging.c \
logging.h \
ctf-meta.h \
logging.c \
logging.h \
ctf-meta.h \
This page took
0.024937 seconds
and
4
git commands to generate.