diff --git a/bootstrap/CMakeLists.txt b/bootstrap/CMakeLists.txt index f3f78d75..4a4c9f3a 100644 --- a/bootstrap/CMakeLists.txt +++ b/bootstrap/CMakeLists.txt @@ -3,7 +3,7 @@ set(CMAKE_LEGACY_CYGWIN_WIN32 0) project(Bootstrap) - cmake_minimum_required(VERSION 2.4.0) + cmake_minimum_required(VERSION 2.8.0) set(ignoreVariables USE_LIBBFD "${BUILD_DOC} ${CMAKE_INSTALL_DIR}") diff --git a/bora/src/SlicingPlotWidget.cpp b/bora/src/SlicingPlotWidget.cpp index c3418bec..89995b0b 100644 --- a/bora/src/SlicingPlotWidget.cpp +++ b/bora/src/SlicingPlotWidget.cpp @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include diff --git a/bora/src/bora/NodeSets.h b/bora/src/bora/NodeSets.h index c0a32025..e57bb952 100644 --- a/bora/src/bora/NodeSets.h +++ b/bora/src/bora/NodeSets.h @@ -17,6 +17,7 @@ #ifndef BORA_NODE_SETS_H #define BORA_NODE_SETS_H +#include #include #include #include "BoxSet.h" diff --git a/coloquinte/src/coloquinte/optimization_subproblems.hxx b/coloquinte/src/coloquinte/optimization_subproblems.hxx index e0849b23..3ccbdfcc 100644 --- a/coloquinte/src/coloquinte/optimization_subproblems.hxx +++ b/coloquinte/src/coloquinte/optimization_subproblems.hxx @@ -9,6 +9,7 @@ #include #include #include +#include namespace coloquinte{ diff --git a/coloquinte/src/solvers.cxx b/coloquinte/src/solvers.cxx index 57f0fbc1..27d75bae 100644 --- a/coloquinte/src/solvers.cxx +++ b/coloquinte/src/solvers.cxx @@ -4,6 +4,7 @@ #include #include #include +#include namespace coloquinte{ namespace gp{ diff --git a/coloquinte/src/topologies.cxx b/coloquinte/src/topologies.cxx index d36cee41..c9b952f0 100644 --- a/coloquinte/src/topologies.cxx +++ b/coloquinte/src/topologies.cxx @@ -9,6 +9,7 @@ #include #include #include +#include namespace coloquinte{ using edge_t = std::pair; diff --git a/crlcore/CMakeLists.txt b/crlcore/CMakeLists.txt index 58d2ccfb..a753658a 100644 --- a/crlcore/CMakeLists.txt +++ b/crlcore/CMakeLists.txt @@ -22,6 +22,8 @@ setup_boost(program_options) setup_qt() + cmake_policy(SET CMP0054 NEW) + if (USE_LIBBFD) find_package(Libbfd) endif() diff --git a/crlcore/src/ccore/alliance/vst/VhdlBit.cpp b/crlcore/src/ccore/alliance/vst/VhdlBit.cpp index 9131d351..09b9e3ea 100644 --- a/crlcore/src/ccore/alliance/vst/VhdlBit.cpp +++ b/crlcore/src/ccore/alliance/vst/VhdlBit.cpp @@ -17,6 +17,7 @@ #include "crlcore/VhdlBit.h" #include "crlcore/VhdlSignal.h" +#include namespace Vhdl { diff --git a/crlcore/src/ccore/spice/SpiceBit.cpp b/crlcore/src/ccore/spice/SpiceBit.cpp index 128198dd..1529251a 100644 --- a/crlcore/src/ccore/spice/SpiceBit.cpp +++ b/crlcore/src/ccore/spice/SpiceBit.cpp @@ -16,6 +16,7 @@ #include "crlcore/SpiceBit.h" +#include namespace Spice { diff --git a/cumulus/CMakeLists.txt b/cumulus/CMakeLists.txt index b73e6fc3..88663684 100644 --- a/cumulus/CMakeLists.txt +++ b/cumulus/CMakeLists.txt @@ -3,7 +3,7 @@ set(CMAKE_LEGACY_CYGWIN_WIN32 0) project(CUMULUS) - cmake_minimum_required(VERSION 2.4.0) + cmake_minimum_required(VERSION 2.8.0) set(ignoreVariables "${BUILD_DOC}" "${CMAKE_INSTALL_DIR}") option(USE_LIBBFD "Link with BFD libraries to print stack traces" OFF) diff --git a/hurricane/CMakeLists.txt b/hurricane/CMakeLists.txt index 76ae6d43..98296140 100644 --- a/hurricane/CMakeLists.txt +++ b/hurricane/CMakeLists.txt @@ -17,6 +17,7 @@ list(INSERT CMAKE_MODULE_PATH 0 "${HURRICANE_SOURCE_DIR}/cmake_modules/") set_cmake_policies() + cmake_policy(SET CMP0054 NEW) setup_boost(program_options) setup_qt() diff --git a/hurricane/src/configuration/hurricane/configuration/PyTypeManager.h b/hurricane/src/configuration/hurricane/configuration/PyTypeManager.h index 1de32e90..3cddc1b3 100644 --- a/hurricane/src/configuration/hurricane/configuration/PyTypeManager.h +++ b/hurricane/src/configuration/hurricane/configuration/PyTypeManager.h @@ -302,7 +302,6 @@ extern "C" { , .tp_basicsize = sizeof(PyOneVoid) , .tp_itemsize = 0 , .tp_dealloc = NULL - , .tp_print = NULL , .tp_getattr = NULL , .tp_setattr = NULL , .tp_as_async = NULL diff --git a/hurricane/src/hurricane/DBo.cpp b/hurricane/src/hurricane/DBo.cpp index 3f9d15b0..adf2aabb 100644 --- a/hurricane/src/hurricane/DBo.cpp +++ b/hurricane/src/hurricane/DBo.cpp @@ -38,6 +38,7 @@ #include "hurricane/Error.h" #include "hurricane/Warning.h" +#include namespace Hurricane { diff --git a/hurricane/src/hurricane/hurricane/IntervalTree.h b/hurricane/src/hurricane/hurricane/IntervalTree.h index b026cbf0..7d4673b2 100644 --- a/hurricane/src/hurricane/hurricane/IntervalTree.h +++ b/hurricane/src/hurricane/hurricane/IntervalTree.h @@ -40,6 +40,8 @@ #include "hurricane/Interval.h" #include "hurricane/RbTree.h" +#include + namespace Hurricane { diff --git a/lefdef/src/def/def/CMakeLists.txt b/lefdef/src/def/def/CMakeLists.txt index 227ff104..78d9b300 100644 --- a/lefdef/src/def/def/CMakeLists.txt +++ b/lefdef/src/def/def/CMakeLists.txt @@ -81,7 +81,7 @@ add_custom_command ( OUTPUT def.tab.cpp DEPENDS ${DefParserGrammar} COMMAND ${BISON_EXECUTABLE} -v -p defyy -d ${DefParserGrammar} -o def.tab.cpp - COMMAND mv def.tab.hpp ${LEFDEF_SOURCE_DIR}/src/def/def/def.tab.h + #COMMAND mv def.tab.hpp ${LEFDEF_SOURCE_DIR}/src/def/def/def.tab.h #COMMAND mv def.tab.cpp ${LEFDEF_SOURCE_DIR}/src/def/def/def.tab.cpp COMMENT "Generating DEF parser (bison)" ) diff --git a/lefdef/src/lef/lef/CMakeLists.txt b/lefdef/src/lef/lef/CMakeLists.txt index e347cf03..16e25ad0 100644 --- a/lefdef/src/lef/lef/CMakeLists.txt +++ b/lefdef/src/lef/lef/CMakeLists.txt @@ -61,7 +61,7 @@ add_custom_command ( OUTPUT lef.tab.cpp DEPENDS ${LefParserGrammar} COMMAND ${BISON_EXECUTABLE} -v -p lefyy -d ${LefParserGrammar} -o lef.tab.cpp - COMMAND mv lef.tab.hpp ${LEFDEF_SOURCE_DIR}/src/lef/lef/lef.tab.h + #COMMAND mv lef.tab.hpp ${LEFDEF_SOURCE_DIR}/src/lef/lef/lef.tab.h #COMMAND mv lef.tab.cpp ${LEFDEF_SOURCE_DIR}/src/lef/lef/lef.tab.cpp COMMENT "Generating LEF parser (bison)" ) diff --git a/oroshi/CMakeLists.txt b/oroshi/CMakeLists.txt index 17b16ef5..61b35bf0 100644 --- a/oroshi/CMakeLists.txt +++ b/oroshi/CMakeLists.txt @@ -2,7 +2,7 @@ project(OROSHI) - cmake_minimum_required(VERSION 2.4.0) + cmake_minimum_required(VERSION 2.8.0) option(USE_LIBBFD "Link with BFD libraries to print stack traces" OFF) set(ignoreVariables "${CMAKE_INSTALL_DIR}") diff --git a/stratus1/CMakeLists.txt b/stratus1/CMakeLists.txt index c92922e2..4ff8d5ae 100644 --- a/stratus1/CMakeLists.txt +++ b/stratus1/CMakeLists.txt @@ -8,7 +8,7 @@ set(ignoreVariables "${BUILD_DOC}" "${CMAKE_INSTALL_DIR}") option(USE_LIBBFD "Link with BFD libraries to print stack traces" OFF) - cmake_minimum_required(VERSION 2.4.0) + cmake_minimum_required(VERSION 2.8.0) list(INSERT CMAKE_MODULE_PATH 0 "${DESTDIR}$ENV{CORIOLIS_TOP}/share/cmake/Modules/") find_package(Bootstrap REQUIRED) setup_project_paths(CORIOLIS) diff --git a/unicorn/CMakeLists.txt b/unicorn/CMakeLists.txt index 0a6381b8..128d1758 100644 --- a/unicorn/CMakeLists.txt +++ b/unicorn/CMakeLists.txt @@ -15,6 +15,7 @@ setup_project_paths(CORIOLIS) set_cmake_policies() + cmake_policy(SET CMP0054 NEW) setup_sysconfdir("${CMAKE_INSTALL_PREFIX}") setup_boost(program_options) setup_qt() diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt index 637aab6d..b15768d7 100644 --- a/unittests/CMakeLists.txt +++ b/unittests/CMakeLists.txt @@ -16,6 +16,7 @@ print_cmake_module_path() set_cmake_policies() + cmake_policy(SET CMP0054 NEW) check_distribution() setup_sysconfdir("${CMAKE_INSTALL_PREFIX}") setup_boost(program_options)