Push deprecation warning suppression down into boost.
Note: requires boost 1.67 or later. Current boost version is 1.72.
This commit is contained in:
parent
a533748796
commit
383403ef98
|
@ -30,14 +30,7 @@
|
|||
// 'FT232BL' 'QFP:LQFP-32_7x7mm_Pitch0.8mm'
|
||||
//
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
#include <boost/ptr_container/ptr_vector.hpp>
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
class FOOTPRINT_EQUIVALENCE
|
||||
{
|
||||
|
|
|
@ -31,23 +31,13 @@
|
|||
#ifndef CLASS_LIBRARY_H
|
||||
#define CLASS_LIBRARY_H
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
#include <map>
|
||||
#include <boost/ptr_container/ptr_vector.hpp>
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#include <wx/filename.h>
|
||||
|
||||
#include <sch_io_mgr.h>
|
||||
|
||||
#include <project.h>
|
||||
|
||||
#include <map>
|
||||
|
||||
class LIB_PART;
|
||||
class LIB_ID;
|
||||
class LINE_READER;
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
#include <boost/ptr_container/ptr_vector.hpp>
|
||||
|
||||
#include <properties.h>
|
||||
|
||||
#include <class_libentry.h>
|
||||
#include <sch_legacy_plugin.h>
|
||||
#include <class_draw_panel_gal.h>
|
||||
|
|
|
@ -25,15 +25,7 @@
|
|||
#ifndef SCH_SHEEET_H
|
||||
#define SCH_SHEEET_H
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
#include <boost/ptr_container/ptr_vector.hpp>
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#include <sch_text.h>
|
||||
|
||||
|
||||
|
|
|
@ -33,16 +33,7 @@
|
|||
|
||||
#include <wx/confbase.h>
|
||||
#include <wx/fileconf.h>
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
#include <boost/ptr_container/ptr_vector.hpp>
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#include <gal/color4d.h>
|
||||
#include <limits>
|
||||
|
||||
|
|
|
@ -30,21 +30,12 @@
|
|||
#define FOOTPRINT_INFO_H_
|
||||
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
#include <boost/ptr_container/ptr_vector.hpp>
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#include <import_export.h>
|
||||
#include <ki_exception.h>
|
||||
#include <kicad_string.h>
|
||||
#include <sync_queue.h>
|
||||
#include <lib_tree_item.h>
|
||||
|
||||
#include <atomic>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
|
|
|
@ -27,19 +27,9 @@
|
|||
#define _LIB_TABLE_BASE_H_
|
||||
|
||||
#include <map>
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
#include <boost/noncopyable.hpp>
|
||||
#include <boost/ptr_container/ptr_vector.hpp>
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <project.h>
|
||||
#include <properties.h>
|
||||
#include <richio.h>
|
||||
|
|
|
@ -26,15 +26,7 @@
|
|||
#ifndef MULTIVECTOR_H
|
||||
#define MULTIVECTOR_H
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
#include <boost/ptr_container/ptr_vector.hpp>
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
/**
|
||||
|
|
|
@ -22,19 +22,9 @@
|
|||
#define _PARAMETERS_H
|
||||
|
||||
#include <string>
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
#include <boost/ptr_container/ptr_vector.hpp>
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#include <utility>
|
||||
#include <math/util.h>
|
||||
|
||||
#include "json_settings.h"
|
||||
|
||||
|
||||
|
|
|
@ -70,20 +70,11 @@ X-GitHub-Request-Id: 411087C2:659E:50FD6E6:52E67F66
|
|||
Vary: Accept-Encoding
|
||||
*/
|
||||
|
||||
#include <kicad_curl/kicad_curl_easy.h> // Include before any wx file
|
||||
#include <sstream>
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
#include <boost/ptr_container/ptr_map.hpp>
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#include <set>
|
||||
|
||||
#include <kicad_curl/kicad_curl_easy.h> // Include before any wx file
|
||||
|
||||
#include <wx/zipstrm.h>
|
||||
#include <wx/mstream.h>
|
||||
#include <wx/uri.h>
|
||||
|
@ -98,7 +89,6 @@ Vary: Accept-Encoding
|
|||
#include <class_module.h>
|
||||
#include <macros.h>
|
||||
#include <fp_lib_table.h> // ExpandSubstitutions()
|
||||
#include <github_getliblist.h>
|
||||
|
||||
|
||||
using namespace std;
|
||||
|
|
|
@ -26,15 +26,7 @@
|
|||
#ifndef PCB_NETLIST_H
|
||||
#define PCB_NETLIST_H
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
#include <boost/ptr_container/ptr_vector.hpp>
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#include <wx/arrstr.h>
|
||||
|
||||
#include <lib_id.h>
|
||||
|
|
|
@ -26,21 +26,12 @@
|
|||
#define SPECCTRA_H_
|
||||
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
|
||||
// see http://www.boost.org/libs/ptr_container/doc/ptr_sequence_adapter.html
|
||||
#include <boost/ptr_container/ptr_vector.hpp>
|
||||
|
||||
// see http://www.boost.org/libs/ptr_container/doc/ptr_set.html
|
||||
#include <boost/ptr_container/ptr_set.hpp>
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#include <fctsys.h>
|
||||
#include <specctra_import_export/specctra_lexer.h>
|
||||
#include <pcbnew.h>
|
||||
|
|
Loading…
Reference in New Issue