1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
|
Index: CuraEngine/src/FffGcodeWriter.cpp
===================================================================
--- CuraEngine.orig/src/FffGcodeWriter.cpp
+++ CuraEngine/src/FffGcodeWriter.cpp
@@ -5,6 +5,7 @@
#include <limits> // numeric_limits
#include <algorithm>
#include <optional>
+#include <cstdint>
#include "Application.h"
#include "bridge.h"
Index: CuraEngine/src/MeshGroup.cpp
===================================================================
--- CuraEngine.orig/src/MeshGroup.cpp
+++ CuraEngine/src/MeshGroup.cpp
@@ -4,6 +4,7 @@
#include <string.h>
#include <stdio.h>
#include <limits>
+#include <cstdint>
#include "MeshGroup.h"
#include "settings/types/Ratio.h" //For the shrinkage percentage and scale factor.
Index: CuraEngine/src/communication/ArcusCommunication.cpp
===================================================================
--- CuraEngine.orig/src/communication/ArcusCommunication.cpp
+++ CuraEngine/src/communication/ArcusCommunication.cpp
@@ -6,6 +6,7 @@
#include <Arcus/Socket.h> //The socket to communicate to.
#include <thread> //To sleep while waiting for the connection.
#include <unordered_map> //To map settings to their extruder numbers for limit_to_extruder.
+#include <cstdint>
#include "ArcusCommunication.h"
#include "ArcusCommunicationPrivate.h" //Our PIMPL.
Index: CuraEngine/src/communication/ArcusCommunication.h
===================================================================
--- CuraEngine.orig/src/communication/ArcusCommunication.h
+++ CuraEngine/src/communication/ArcusCommunication.h
@@ -9,6 +9,7 @@
#include <gtest/gtest_prod.h>
#endif
#include <memory> //For unique_ptr and shared_ptr.
+#include <cstdint>
#include "Communication.h" //The class we're implementing.
#include "Cura.pb.h" //To create Protobuf messages for Cura's front-end.
Index: CuraEngine/src/mesh.cpp
===================================================================
--- CuraEngine.orig/src/mesh.cpp
+++ CuraEngine/src/mesh.cpp
@@ -1,6 +1,8 @@
//Copyright (c) 2018 Ultimaker B.V.
//CuraEngine is released under the terms of the AGPLv3 or higher.
+#include <cstdint>
+
#include "mesh.h"
#include "utils/floatpoint.h"
#include "utils/logoutput.h"
Index: CuraEngine/src/mesh.h
===================================================================
--- CuraEngine.orig/src/mesh.h
+++ CuraEngine/src/mesh.h
@@ -4,6 +4,8 @@
#ifndef MESH_H
#define MESH_H
+#include <cstdint>
+
#include "settings/Settings.h"
#include "utils/AABB3D.h"
#include "utils/floatpoint.h"
Index: CuraEngine/src/skin.cpp
===================================================================
--- CuraEngine.orig/src/skin.cpp
+++ CuraEngine/src/skin.cpp
@@ -2,6 +2,7 @@
//CuraEngine is released under the terms of the AGPLv3 or higher.
#include <cmath> // std::ceil
+#include <cstdint>
#include "Application.h" //To get settings.
#include "Slice.h"
Index: CuraEngine/src/slicer.cpp
===================================================================
--- CuraEngine.orig/src/slicer.cpp
+++ CuraEngine/src/slicer.cpp
@@ -3,6 +3,7 @@
#include <stdio.h>
#include <algorithm> // remove_if
+#include <cstdint>
#include "settings/AdaptiveLayerHeights.h"
#include "Application.h"
Index: CuraEngine/src/support.cpp
===================================================================
--- CuraEngine.orig/src/support.cpp
+++ CuraEngine/src/support.cpp
@@ -5,6 +5,7 @@
#include <utility> // pair
#include <deque>
#include <fstream> // ifstream.good()
+#include <cstdint>
#ifdef _OPENMP
#include <omp.h>
Index: CuraEngine/src/utils/math.h
===================================================================
--- CuraEngine.orig/src/utils/math.h
+++ CuraEngine/src/utils/math.h
@@ -6,6 +6,7 @@
#include <cstdint>
#include <cmath>
+#include <cstdint>
//c++11 no longer defines M_PI, so add our own constant.
Index: CuraEngine/tests/arcus/ArcusCommunicationPrivateTest.cpp
===================================================================
--- CuraEngine.orig/tests/arcus/ArcusCommunicationPrivateTest.cpp
+++ CuraEngine/tests/arcus/ArcusCommunicationPrivateTest.cpp
@@ -5,6 +5,7 @@
#include <gtest/gtest.h>
#include <fstream>
#include <cmath>
+#include <cstdint>
#include "MockSocket.h"
#include "../../src/Application.h"
Index: CuraEngine/tests/arcus/ArcusCommunicationTest.cpp
===================================================================
--- CuraEngine.orig/tests/arcus/ArcusCommunicationTest.cpp
+++ CuraEngine/tests/arcus/ArcusCommunicationTest.cpp
@@ -3,6 +3,7 @@
#include <google/protobuf/message.h>
#include <gtest/gtest.h>
+#include <cstdint>
#include "MockSocket.h" //To mock out the communication with the front-end.
#include "../src/FffProcessor.h"
|