Skip to content

Commit

Permalink
Disable C compile warnings
Browse files Browse the repository at this point in the history
Shouldn't be done but as C files are generated by vala they only cause
unnecesary noise, and it's easier to miss warnings from vala.
  • Loading branch information
kamilprusko committed Feb 19, 2017
1 parent 11427e5 commit 00f0b66
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 8 deletions.
3 changes: 2 additions & 1 deletion lib/Makefile.am
Expand Up @@ -40,7 +40,8 @@ libgnome_pomodoro_la_CPPFLAGS = \
-DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\"

libgnome_pomodoro_la_CFLAGS = \
$(GNOME_POMODORO_CFLAGS)
$(GNOME_POMODORO_CFLAGS) \
-w

libgnome_pomodoro_la_LIBADD = \
$(GNOME_POMODORO_LIBS)
Expand Down
3 changes: 2 additions & 1 deletion plugins/actions/Makefile.am
Expand Up @@ -30,7 +30,8 @@ libactions_la_CPPFLAGS = \
-DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\"

libactions_la_CFLAGS = \
$(PLUGIN_CFLAGS)
$(PLUGIN_CFLAGS) \
-w

libactions_la_LDFLAGS = \
$(PLUGIN_LDFLAGS)
Expand Down
3 changes: 2 additions & 1 deletion plugins/dark-theme/Makefile.am
Expand Up @@ -20,7 +20,8 @@ libdark_theme_la_CPPFLAGS = \
$(PLUGIN_CPPFLAGS)

libdark_theme_la_CFLAGS = \
$(PLUGIN_CFLAGS)
$(PLUGIN_CFLAGS) \
-w

libdark_theme_la_LDFLAGS = \
$(PLUGIN_LDFLAGS)
Expand Down
3 changes: 2 additions & 1 deletion plugins/gnome/Makefile.am
Expand Up @@ -31,7 +31,8 @@ libgnome_la_CPPFLAGS = \

libgnome_la_CFLAGS = \
$(PLUGIN_CFLAGS) \
$(GNOME_PLUGIN_CFLAGS)
$(GNOME_PLUGIN_CFLAGS) \
-w

libgnome_la_LDFLAGS = \
$(PLUGIN_LDFLAGS)
Expand Down
3 changes: 2 additions & 1 deletion plugins/indicator/Makefile.am
Expand Up @@ -27,7 +27,8 @@ libindicator_la_CPPFLAGS = \

libindicator_la_CFLAGS = \
$(PLUGIN_CFLAGS) \
$(INDICATOR_PLUGIN_CFLAGS)
$(INDICATOR_PLUGIN_CFLAGS) \
-w

libindicator_la_LDFLAGS = \
$(PLUGIN_LDFLAGS)
Expand Down
3 changes: 2 additions & 1 deletion plugins/sounds/Makefile.am
Expand Up @@ -30,7 +30,8 @@ libsounds_la_CPPFLAGS = \

libsounds_la_CFLAGS = \
$(PLUGIN_CFLAGS) \
$(SOUNDS_PLUGIN_CFLAGS)
$(SOUNDS_PLUGIN_CFLAGS) \
-w

libsounds_la_LDFLAGS = \
$(PLUGIN_LDFLAGS)
Expand Down
3 changes: 2 additions & 1 deletion src/Makefile.am
Expand Up @@ -16,7 +16,8 @@ gnome_pomodoro_CPPFLAGS = \
-DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\"

gnome_pomodoro_CFLAGS = \
$(GNOME_POMODORO_CFLAGS)
$(GNOME_POMODORO_CFLAGS) \
-w

gnome_pomodoro_LDADD = \
$(GNOME_POMODORO_LIBS) \
Expand Down
3 changes: 2 additions & 1 deletion tests/Makefile.am
Expand Up @@ -17,7 +17,8 @@ tests_CPPFLAGS = \
$(GNOME_POMODORO_CPPFLAGS)

tests_CFLAGS = \
$(GNOME_POMODORO_CFLAGS)
$(GNOME_POMODORO_CFLAGS) \
-w

tests_LDADD = \
$(GNOME_POMODORO_LIBS) \
Expand Down

0 comments on commit 00f0b66

Please sign in to comment.