forked from SICKAG/sick_safetyscanners_base-release
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add compile option -Wno-error=pessimizing-move * Add <cstdint> header SICKAG/sick_safetyscanners_base#30 Signed-off-by: CHEN Xuan <[email protected]>
- Loading branch information
Showing
3 changed files
with
127 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
From acc5192661f6d80d855c04f6f416b13fee2571b0 Mon Sep 17 00:00:00 2001 | ||
From: ruffsl <[email protected]> | ||
Date: Wed, 29 May 2024 15:36:22 -0500 | ||
Subject: [PATCH] Add missing cstdint header to define uint8_t | ||
|
||
--- | ||
include/sick_safetyscanners_base/datastructure/ApplicationName.h | 1 + | ||
include/sick_safetyscanners_base/datastructure/ConfigMetadata.h | 1 + | ||
include/sick_safetyscanners_base/datastructure/DeviceStatus.h | 1 + | ||
include/sick_safetyscanners_base/datastructure/FieldData.h | 1 + | ||
include/sick_safetyscanners_base/datastructure/FieldSets.h | 1 + | ||
.../sick_safetyscanners_base/datastructure/MonitoringCaseData.h | 1 + | ||
include/sick_safetyscanners_base/datastructure/StatusOverview.h | 1 + | ||
include/sick_safetyscanners_base/datastructure/TypeCode.h | 1 + | ||
include/sick_safetyscanners_base/datastructure/UserName.h | 1 + | ||
9 files changed, 9 insertions(+) | ||
|
||
diff --git a/include/sick_safetyscanners_base/datastructure/ApplicationName.h b/include/sick_safetyscanners_base/datastructure/ApplicationName.h | ||
index a2a1a2a..8d6c799 100644 | ||
--- a/include/sick_safetyscanners_base/datastructure/ApplicationName.h | ||
+++ b/include/sick_safetyscanners_base/datastructure/ApplicationName.h | ||
@@ -35,6 +35,7 @@ | ||
#ifndef SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_APPLICATIONNAME_H | ||
#define SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_APPLICATIONNAME_H | ||
|
||
+#include <cstdint> | ||
#include <iostream> | ||
|
||
|
||
diff --git a/include/sick_safetyscanners_base/datastructure/ConfigMetadata.h b/include/sick_safetyscanners_base/datastructure/ConfigMetadata.h | ||
index 5046e11..d8de012 100644 | ||
--- a/include/sick_safetyscanners_base/datastructure/ConfigMetadata.h | ||
+++ b/include/sick_safetyscanners_base/datastructure/ConfigMetadata.h | ||
@@ -35,6 +35,7 @@ | ||
#ifndef SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_CONFIGMETADATA_H | ||
#define SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_CONFIGMETADATA_H | ||
|
||
+#include <cstdint> | ||
#include <iostream> | ||
#include <vector> | ||
|
||
diff --git a/include/sick_safetyscanners_base/datastructure/DeviceStatus.h b/include/sick_safetyscanners_base/datastructure/DeviceStatus.h | ||
index 870feed..a62f4a5 100644 | ||
--- a/include/sick_safetyscanners_base/datastructure/DeviceStatus.h | ||
+++ b/include/sick_safetyscanners_base/datastructure/DeviceStatus.h | ||
@@ -35,6 +35,7 @@ | ||
#ifndef SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_DEVICESTATUS_H | ||
#define SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_DEVICESTATUS_H | ||
|
||
+#include <cstdint> | ||
#include <iostream> | ||
|
||
|
||
diff --git a/include/sick_safetyscanners_base/datastructure/FieldData.h b/include/sick_safetyscanners_base/datastructure/FieldData.h | ||
index 684f0a1..0cd1eb0 100644 | ||
--- a/include/sick_safetyscanners_base/datastructure/FieldData.h | ||
+++ b/include/sick_safetyscanners_base/datastructure/FieldData.h | ||
@@ -35,6 +35,7 @@ | ||
#ifndef SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_FIELDDATA_H | ||
#define SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_FIELDDATA_H | ||
|
||
+#include <cstdint> | ||
#include <iostream> | ||
#include <vector> | ||
|
||
diff --git a/include/sick_safetyscanners_base/datastructure/FieldSets.h b/include/sick_safetyscanners_base/datastructure/FieldSets.h | ||
index 0d91f7e..ab29dee 100644 | ||
--- a/include/sick_safetyscanners_base/datastructure/FieldSets.h | ||
+++ b/include/sick_safetyscanners_base/datastructure/FieldSets.h | ||
@@ -35,6 +35,7 @@ | ||
#ifndef SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_FIELDSETS_H | ||
#define SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_FIELDSETS_H | ||
|
||
+#include <cstdint> | ||
#include <iostream> | ||
#include <vector> | ||
|
||
diff --git a/include/sick_safetyscanners_base/datastructure/MonitoringCaseData.h b/include/sick_safetyscanners_base/datastructure/MonitoringCaseData.h | ||
index a8a4fe8..a0b96fd 100644 | ||
--- a/include/sick_safetyscanners_base/datastructure/MonitoringCaseData.h | ||
+++ b/include/sick_safetyscanners_base/datastructure/MonitoringCaseData.h | ||
@@ -35,6 +35,7 @@ | ||
#ifndef SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_MONITORINGCASEDATA_H | ||
#define SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_MONITORINGCASEDATA_H | ||
|
||
+#include <cstdint> | ||
#include <iostream> | ||
#include <vector> | ||
|
||
diff --git a/include/sick_safetyscanners_base/datastructure/StatusOverview.h b/include/sick_safetyscanners_base/datastructure/StatusOverview.h | ||
index c43c185..b3f9fc0 100644 | ||
--- a/include/sick_safetyscanners_base/datastructure/StatusOverview.h | ||
+++ b/include/sick_safetyscanners_base/datastructure/StatusOverview.h | ||
@@ -35,6 +35,7 @@ | ||
#ifndef SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_STATUSOVERVIEW_H | ||
#define SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_STATUSOVERVIEW_H | ||
|
||
+#include <cstdint> | ||
#include <iostream> | ||
|
||
|
||
diff --git a/include/sick_safetyscanners_base/datastructure/TypeCode.h b/include/sick_safetyscanners_base/datastructure/TypeCode.h | ||
index 4ba2d45..c249ef7 100644 | ||
--- a/include/sick_safetyscanners_base/datastructure/TypeCode.h | ||
+++ b/include/sick_safetyscanners_base/datastructure/TypeCode.h | ||
@@ -35,6 +35,7 @@ | ||
#ifndef SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_TYPECODE_H | ||
#define SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_TYPECODE_H | ||
|
||
+#include <cstdint> | ||
#include <iostream> | ||
|
||
namespace sick { | ||
diff --git a/include/sick_safetyscanners_base/datastructure/UserName.h b/include/sick_safetyscanners_base/datastructure/UserName.h | ||
index b34d558..cc2ac36 100644 | ||
--- a/include/sick_safetyscanners_base/datastructure/UserName.h | ||
+++ b/include/sick_safetyscanners_base/datastructure/UserName.h | ||
@@ -35,6 +35,7 @@ | ||
#ifndef SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_USERNAME_H | ||
#define SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_USERNAME_H | ||
|
||
+#include <cstdint> | ||
#include <iostream> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
01-add-cstdint-header.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters