Commit 21fe0f4b authored by Houtan Bastani's avatar Houtan Bastani

avoid cast warnings when compiling boost headers

parent 1907249f
Pipeline #1159 passed with stage
in 1 minute and 27 seconds
......@@ -26,9 +26,13 @@ using namespace std;
#include "ComputingTasks.hh"
#include "Statement.hh"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wold-style-cast"
#include <boost/algorithm/string/trim.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/tokenizer.hpp>
#pragma GCC diagnostic pop
#include <utility>
SteadyStatement::SteadyStatement(OptionsList options_list_arg) :
......
/*
* Copyright © 2010-2017 Dynare Team
* Copyright © 2010-2019 Dynare Team
*
* This file is part of Dynare.
*
......@@ -23,9 +23,13 @@
#include <vector>
#include "ConfigFile.hh"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wold-style-cast"
#include <boost/algorithm/string/trim.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/tokenizer.hpp>
#pragma GCC diagnostic pop
using namespace std;
......
/*
* Copyright © 2003-2018 Dynare Team
* Copyright © 2003-2019 Dynare Team
*
* This file is part of Dynare.
*
......@@ -22,7 +22,10 @@
#include <iostream>
#include <regex>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wold-style-cast"
#include <boost/filesystem.hpp>
#pragma GCC diagnostic pop
#include "DataTree.hh"
......
......@@ -24,8 +24,11 @@ using namespace std;
#include <fstream>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wold-style-cast"
#include <boost/filesystem.hpp>
#include <boost/crc.hpp>
#pragma GCC diagnostic pop
#include "StaticModel.hh"
......
......@@ -32,7 +32,10 @@
#include <unistd.h>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wold-style-cast"
#include <boost/filesystem.hpp>
#pragma GCC diagnostic pop
#include "ParsingDriver.hh"
#include "ExtendedPreprocessorTypes.hh"
......
/*
* Copyright © 2008-2017 Dynare Team
* Copyright © 2008-2019 Dynare Team
*
* This file is part of Dynare.
*
......@@ -19,7 +19,10 @@
#include <iostream>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wold-style-cast"
#include <boost/filesystem.hpp>
#pragma GCC diagnostic pop
#include "ParsingDriver.hh"
#include "ModFile.hh"
......
/*
* Copyright © 2009-2010 Dynare Team
* Copyright © 2009-2019 Dynare Team
*
* This file is part of Dynare.
*
......@@ -22,7 +22,11 @@
#include <map>
#include <vector>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wold-style-cast"
#include <boost/graph/adjacency_list.hpp>
#pragma GCC diagnostic pop
using namespace std;
......
......@@ -23,7 +23,10 @@
#include <typeinfo>
#include <cassert>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wold-style-cast"
#include <boost/filesystem.hpp>
#pragma GCC diagnostic pop
#include "ModFile.hh"
#include "ConfigFile.hh"
......
......@@ -25,10 +25,13 @@
#include "ModelTree.hh"
#include "MinimumFeedbackSet.hh"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wold-style-cast"
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/max_cardinality_matching.hpp>
#include <boost/graph/strong_components.hpp>
#include <boost/graph/topological_sort.hpp>
#pragma GCC diagnostic pop
using namespace MFS;
......
......@@ -29,7 +29,10 @@ using namespace std;
#include <ostream>
#include <array>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wold-style-cast"
#include <boost/filesystem.hpp>
#pragma GCC diagnostic pop
#include "DataTree.hh"
#include "ExtendedPreprocessorTypes.hh"
......
......@@ -18,7 +18,10 @@
*/
#include "Statement.hh"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wold-style-cast"
#include <boost/xpressive/xpressive.hpp>
#pragma GCC diagnostic pop
#include <utility>
void
......
/*
* Copyright © 2003-2018 Dynare Team
* Copyright © 2003-2019 Dynare Team
*
* This file is part of Dynare.
*
......@@ -24,7 +24,10 @@ using namespace std;
#include <fstream>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wold-style-cast"
#include <boost/filesystem.hpp>
#pragma GCC diagnostic pop
#include "ModelTree.hh"
......
......@@ -21,7 +21,10 @@
#include <sstream>
#include <iostream>
#include <cassert>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wold-style-cast"
#include <boost/algorithm/string/replace.hpp>
#pragma GCC diagnostic pop
#include <utility>
#include "SymbolTable.hh"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment