[latexila] build: add -w to the CPPFLAGS when compiling the code generated by valac
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] build: add -w to the CPPFLAGS when compiling the code generated by valac
- Date: Tue, 1 Nov 2016 12:59:59 +0000 (UTC)
commit 0a27943d0ac20707ea0a4abce413c9376eb2dbf7
Author: Sébastien Wilmet <swilmet gnome org>
Date: Tue Nov 1 13:57:19 2016 +0100
build: add -w to the CPPFLAGS when compiling the code generated by valac
src/Makefile.am | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 6481dd2..a424ba2 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -69,12 +69,17 @@ latexila_SOURCES = \
$(vapidir)/gedit.vapi \
$(vapidir)/menu_tool_action.vapi
+# -w: silence all warnings, because we already have the valac warnings. The
+# generated C code currently triggers a lot of warnings because deprecated
+# functions are used. So by silencing the GCC warnings, we can more easily
+# scroll up the build output to see the valac warnings.
latexila_CPPFLAGS = \
-I$(top_srcdir) \
-I$(srcdir)/gedit \
-I$(srcdir)/liblatexila \
-I$(builddir)/liblatexila \
- -include config.h
+ -include config.h \
+ -w
latexila_LDADD = \
gedit/libgedit.la \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]