Skip to content

Commit

Permalink
Silence compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
kpu committed Feb 20, 2016
1 parent 9a0129c commit ce095ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lm/interpolate/tune_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "util/file.hh"

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpragmas" // Older gcc doesn't have "-Wunused-local-typedefs" and complains.
#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
#include <Eigen/Dense>
#pragma GCC diagnostic pop
Expand Down
1 change: 1 addition & 0 deletions lm/interpolate/tune_matrix.hh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define LM_INTERPOLATE_TUNE_MATRIX_H

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpragmas" // Older gcc doesn't have "-Wunused-local-typedefs" and complains.
#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
#include <Eigen/Core>
#pragma GCC diagnostic pop
Expand Down

0 comments on commit ce095ff

Please sign in to comment.