Compare commits

..

1 Commits
1.5.3 ... 1.5.4

Author SHA1 Message Date
902b18d038 Excempt EPICS libraries from -Weffc++
All checks were successful
Test And Build / Lint (push) Successful in 6s
Test And Build / Build (push) Successful in 7s
2025-09-17 12:18:06 +02:00
4 changed files with 39 additions and 8 deletions

View File

@@ -1,12 +1,20 @@
// SPDX-License-Identifier: GPL-3.0-only
#include "sinqAxis.h"
// The EPICS libaries do not follow -Weffc++
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Weffc++"
#include "epicsExport.h"
#include "iocsh.h"
#include "msgPrintControl.h"
#include "sinqController.h"
#include <epicsTime.h>
#include <errlog.h>
#pragma GCC diagnostic pop
#include "sinqAxis.h"
#include "msgPrintControl.h"
#include "sinqController.h"
#include <math.h>
#include <unistd.h>

View File

@@ -8,8 +8,16 @@ Stefan Mathis, November 2024
#ifndef sinqAxis_H
#define sinqAxis_H
// The EPICS libaries do not follow -Weffc++
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Weffc++"
#include "asynMotorAxis.h"
#include <macros.h>
#include "macros.h"
#pragma GCC diagnostic pop
#include <memory>
#include <type_traits>

View File

@@ -1,15 +1,22 @@
// SPDX-License-Identifier: GPL-3.0-only
#include "sinqController.h"
// The EPICS libaries do not follow -Weffc++
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Weffc++"
#include "asynMotorController.h"
#include "asynOctetSyncIO.h"
#include "epicsExport.h"
#include "iocsh.h"
#include "msgPrintControl.h"
#include "sinqAxis.h"
#include <deque>
#include <errlog.h>
#include <initHooks.h>
#pragma GCC diagnostic pop
#include "msgPrintControl.h"
#include "sinqAxis.h"
#include "sinqController.h"
#include <deque>
#include <unordered_map>
#include <vector>

View File

@@ -9,10 +9,18 @@ Stefan Mathis, November 2024
#ifndef sinqController_H
#define sinqController_H
// The EPICS libaries do not follow -Weffc++
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Weffc++"
#include "asynMotorController.h"
#include "msgPrintControl.h"
#include <initHooks.h>
#include <macros.h>
#pragma GCC diagnostic pop
#include <memory>
#define motorMessageIsFromDriverString "MOTOR_MESSAGE_DRIVER"