Skip to content
Snippets Groups Projects
Commit eb88c9df authored by Nicolas Mansard's avatar Nicolas Mansard Committed by nmansard
Browse files

tentatives to prevent ugly warnings from numpy.

parent 7e0c4a8d
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,8 @@ SET(CMAKE_VERBOSE_MAKEFILE True) ...@@ -20,6 +20,8 @@ SET(CMAKE_VERBOSE_MAKEFILE True)
project(${PROJECT_NAME}) project(${PROJECT_NAME})
SETUP_PROJECT() SETUP_PROJECT()
STRING(REPLACE "-pedantic" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
MESSAGE(STATUS "CFLAGS = "${CMAKE_CXX_FLAGS})
# ---------------------------------------------------- # ----------------------------------------------------
# --- DEPENDANCIES ----------------------------------- # --- DEPENDANCIES -----------------------------------
......
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
#include <Eigen/Core> #include <Eigen/Core>
#include <boost/python.hpp> #include <boost/python.hpp>
#pragma GCC diagnostic error "-pedantic" // Alas only work for g++ 4.8
#include <numpy/arrayobject.h> #include <numpy/arrayobject.h>
#include <iostream> #include <iostream>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment