Commit 87d569a2 authored by Pavel Vainerman's avatar Pavel Vainerman

disable some gcc warnings

parent c66abff7
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
using namespace std; using namespace std;
using namespace uniset; using namespace uniset;
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
#pragma GCC diagnostic ignored -Wwrite-strings
// -----------------------------------------------------------------------------
TEST_CASE("UniSetTypes: uni_atoi", "[utypes][uni_atoi]" ) TEST_CASE("UniSetTypes: uni_atoi", "[utypes][uni_atoi]" )
{ {
SECTION("int") SECTION("int")
......
...@@ -25,6 +25,10 @@ ...@@ -25,6 +25,10 @@
#include "UExceptions.h" #include "UExceptions.h"
#include "UniSetActivator.h" #include "UniSetActivator.h"
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wdeprecated"
// --------------------------------------------------------------------------
class UConnector class UConnector
{ {
public: public:
......
...@@ -27,6 +27,10 @@ ...@@ -27,6 +27,10 @@
#include "UTypes.h" #include "UTypes.h"
#include "UExceptions.h" #include "UExceptions.h"
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wdeprecated"
// --------------------------------------------------------------------------
class UModbus class UModbus
{ {
public: public:
......
...@@ -22,6 +22,9 @@ ...@@ -22,6 +22,9 @@
#include "UExceptions.h" #include "UExceptions.h"
#include "UTypes.h" #include "UTypes.h"
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wdeprecated"
// --------------------------------------------------------------------------
class UProxyObject_impl; // PIMPL class UProxyObject_impl; // PIMPL
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/*! Интерфейс для взаимодействия с SM (с заказом датчиков). /*! Интерфейс для взаимодействия с SM (с заказом датчиков).
......
...@@ -21,6 +21,9 @@ ...@@ -21,6 +21,9 @@
#include "UTypes.h" #include "UTypes.h"
#include "UExceptions.h" #include "UExceptions.h"
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wdeprecated"
// --------------------------------------------------------------------------
namespace pyUInterface namespace pyUInterface
{ {
void uniset_init_params( UTypes::Params* p, const std::string& xmlfile )throw(UException); void uniset_init_params( UTypes::Params* p, const std::string& xmlfile )throw(UException);
......
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