Protect GCC #pragmas.
This commit is contained in:
parent
e033e394e7
commit
e1d59337d1
|
@ -30,8 +30,14 @@
|
|||
// 'FT232BL' 'QFP:LQFP-32_7x7mm_Pitch0.8mm'
|
||||
//
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" // For boost...
|
||||
#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,8 +31,14 @@
|
|||
#ifndef CLASS_LIBRARY_H
|
||||
#define CLASS_LIBRARY_H
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" // For boost...
|
||||
#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/filename.h>
|
||||
|
||||
|
|
|
@ -25,8 +25,14 @@
|
|||
#ifndef SCH_SHEEET_H
|
||||
#define SCH_SHEEET_H
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" // For boost...
|
||||
#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>
|
||||
|
||||
|
|
|
@ -34,8 +34,14 @@
|
|||
#include <wx/confbase.h>
|
||||
#include <wx/fileconf.h>
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" // For boost...
|
||||
#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,8 +30,14 @@
|
|||
#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>
|
||||
|
|
|
@ -28,9 +28,15 @@
|
|||
|
||||
#include <map>
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" // For boost...
|
||||
#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>
|
||||
|
||||
|
|
|
@ -26,8 +26,14 @@
|
|||
#ifndef MULTIVECTOR_H
|
||||
#define MULTIVECTOR_H
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" // For boost...
|
||||
#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,7 +22,16 @@
|
|||
#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>
|
||||
|
||||
|
|
|
@ -73,8 +73,14 @@ Vary: Accept-Encoding
|
|||
#include <kicad_curl/kicad_curl_easy.h> // Include before any wx file
|
||||
#include <sstream>
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" // For boost...
|
||||
#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>
|
||||
|
||||
|
|
|
@ -26,8 +26,14 @@
|
|||
#ifndef PCB_NETLIST_H
|
||||
#define PCB_NETLIST_H
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" // For boost...
|
||||
#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>
|
||||
|
||||
|
|
|
@ -26,12 +26,21 @@
|
|||
#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