Commit e9ebd2f4 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Get rid of compilation warning due to <Python.h>

parent 8e046d6c
......@@ -20,6 +20,8 @@
// follow the requirements of the GNU GPL in regard to all of the
// software in the executable aside from CGAL.
#include "graph.hh"
#if (GCC_VERSION < 40400 || defined __clang__)
# define CGAL_CFG_NO_TR1_ARRAY
# define CGAL_CFG_NO_TR1_TUPLE
......@@ -63,7 +65,6 @@ bool operator==(const PeriodicDelaunayTriangulation::Vertex& a,
}
#endif
#include "graph.hh"
#include "graph_triangulation.hh"
#include "graph_util.hh"
#include "graph_filtering.hh"
......
......@@ -15,14 +15,13 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <iostream>
#include "graph.hh"
#include "graph_filtering.hh"
#include "graph_properties.hh"
#include <boost/lambda/lambda.hpp>
#include <boost/lambda/bind.hpp>
#include <iostream>
using namespace std;
using namespace boost;
......
......@@ -19,6 +19,10 @@
#define GRAPH_HH
#include "config.h"
#include <Python.h>
#include <boost/python/object.hpp>
#include <boost/python/dict.hpp>
#include <deque>
#include <boost/graph/graph_traits.hpp>
......@@ -26,8 +30,6 @@
#include "fast_vector_property_map.hh"
#include <boost/variant.hpp>
#include <boost/python/object.hpp>
#include <boost/python/dict.hpp>
#include <boost/mpl/vector.hpp>
#include "graph_properties.hh"
#include "graph_exceptions.hh"
......
......@@ -15,13 +15,13 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <boost/mpl/contains.hpp>
#include <boost/python/extract.hpp>
#include "graph.hh"
#include "graph_filtering.hh"
#include "graph_properties.hh"
#include <boost/mpl/contains.hpp>
#include <boost/python/extract.hpp>
using namespace std;
using namespace boost;
using namespace graph_tool;
......
......@@ -18,6 +18,7 @@
#ifndef FILTERING_HH
#define FILTERING_HH
#include "graph.hh"
#include <boost/version.hpp>
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/filtered_graph.hpp>
......@@ -47,7 +48,6 @@
#include <boost/mpl/quote.hpp>
#include <boost/mpl/range_c.hpp>
#include "graph.hh"
#include "graph_adaptor.hh"
#include "graph_selectors.hh"
#include "graph_util.hh"
......
......@@ -15,13 +15,13 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <boost/mpl/contains.hpp>
#include <boost/python/extract.hpp>
#include "graph.hh"
#include "graph_filtering.hh"
#include "graph_properties.hh"
#include <boost/mpl/contains.hpp>
#include <boost/python/extract.hpp>
using namespace std;
using namespace boost;
using namespace graph_tool;
......
......@@ -15,9 +15,9 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <boost/variant/get.hpp>
#include "graph.hh"
#include "graph_selectors.hh"
#include <boost/variant/get.hpp>
using namespace graph_tool;
using namespace boost;
......
......@@ -9,6 +9,7 @@
// Andrew Lumsdaine
// Tiago de Paula Peixoto
#include <boost/python.hpp>
#include <boost/variant.hpp>
#include <expat.h>
#include <boost/graph/graphml.hpp>
......
......@@ -15,12 +15,15 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <boost/python.hpp>
#include <boost/graph/transitive_closure.hpp>
#include "graph_filtering.hh"
#include "graph.hh"
#include "graph_filtering.hh"
#include "graph_properties.hh"
using namespace graph_tool;
using namespace boost;
......
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