Skip to content

Commit

Permalink
build: [g++-5.4.0] suppress boost warnings
Browse files Browse the repository at this point in the history
Problem: sched fails to compile with gcc-5.4.0
and boost-1.53 due to excessive compiler warnings
that are treated as errors.

Suppress the following warnings completely:
  unused-local-typedefs
  deprecated-declarations
  unused-variable
  maybe-uninitialized
  • Loading branch information
garlick committed Mar 30, 2018
1 parent d8f3f2d commit 8a4b016
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resource/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
AM_CXXFLAGS = \
$(WARNING_CXXFLAGS) \
-Wno-unused-local-typedefs \
-Wno-deprecated-declarations \
-Wno-unused-variable \
-Wno-maybe-uninitialized \
$(CODE_COVERAGE_CXXFLAGS)

AM_LDFLAGS = $(CODE_COVERAGE_LDFLAGS)
Expand Down

0 comments on commit 8a4b016

Please sign in to comment.