Skip to content

Instantly share code, notes, and snippets.

@e7h4n
Created January 14, 2022 06:49
Show Gist options
  • Save e7h4n/2f242c3c3e85c8d4ddb3508564c26a39 to your computer and use it in GitHub Desktop.
Save e7h4n/2f242c3c3e85c8d4ddb3508564c26a39 to your computer and use it in GitHub Desktop.
โš ๏ธ โš ๏ธ โš ๏ธ Warning [1/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/PlaceImageControl.h:16:1
๐Ÿ”Ž Message: class 'ControlManager' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
๐Ÿ“ Detail:
class ControlManager;
^
/Users/pw/workspace/wukong/wukong-editor/test/../src/control/DrawControl.h:10:8: note: previous use is here
struct ControlManager;
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [2/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/base/BaseControl2.h:9:1
๐Ÿ”Ž Message: class 'Document' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
๐Ÿ“ Detail:
class Document;
^
/Users/pw/workspace/wukong/wukong-editor/test/../src/core/Document.h:15:8: note: previous use is here
struct Document {
^
/Users/pw/workspace/wukong/wukong-editor/test/../src/control/base/BaseControl2.h:9:1: note: did you mean struct here?
class Document;
^~~~~
struct
โš ๏ธ โš ๏ธ โš ๏ธ Warning [3/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/ControlManager.h:43:1
๐Ÿ”Ž Message: 'ControlManager' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
๐Ÿ“ Detail:
struct ControlManager final : std::enable_shared_from_this<ControlManager>, public EventCapturer {
^
/Users/pw/workspace/wukong/wukong-editor/test/../src/control/PlaceImageControl.h:16:1: note: did you mean struct here?
class ControlManager;
^~~~~
struct
โš ๏ธ โš ๏ธ โš ๏ธ Warning [4/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/service/EditorBasicOps.h:45:26
๐Ÿ”Ž Message: unused variable 'node' [-Wunused-variable]
๐Ÿ“ Detail:
auto node = documentManager_->getCurrentDocument()->activateNodes.front();
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [5/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/service/EditorBasicOps.h:211:29
๐Ÿ”Ž Message: loop variable 'id' creates a copy from type 'const std::string' [-Wrange-loop-construct]
๐Ÿ“ Detail:
for (const auto id : proto->ids()) {
^
/Users/pw/workspace/wukong/wukong-editor/test/../src/service/EditorBasicOps.h:211:18: note: use reference type 'const std::string &' to prevent copying
for (const auto id : proto->ids()) {
^~~~~~~~~~~~~~~
&
โš ๏ธ โš ๏ธ โš ๏ธ Warning [6/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/service/EditorBasicOps.h:243:29
๐Ÿ”Ž Message: loop variable 'id' creates a copy from type 'const std::string' [-Wrange-loop-construct]
๐Ÿ“ Detail:
for (const auto id : proto->ids()) {
^
/Users/pw/workspace/wukong/wukong-editor/test/../src/service/EditorBasicOps.h:243:18: note: use reference type 'const std::string &' to prevent copying
for (const auto id : proto->ids()) {
^~~~~~~~~~~~~~~
&
โš ๏ธ โš ๏ธ โš ๏ธ Warning [7/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/MultiSelectBoundsControl.cpp:9:7
๐Ÿ”Ž Message: field 'documentManager_' will be initialized after base 'Wukong::BoundsControl' [-Wreorder-ctor]
๐Ÿ“ Detail:
: documentManager_(documentManager), BoundsControl() {
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [8/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/bounds/BoundsControl2.h:17:1
๐Ÿ”Ž Message: class 'Document' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
๐Ÿ“ Detail:
class Document;
^
/Users/pw/workspace/wukong/wukong-editor/test/../src/core/Document.h:15:8: note: previous use is here
struct Document {
^
/Users/pw/workspace/wukong/wukong-editor/test/../src/control/bounds/BoundsControl2.h:17:1: note: did you mean struct here?
class Document;
^~~~~
struct
โš ๏ธ โš ๏ธ โš ๏ธ Warning [9/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/ControlManager.cpp:275:10
๐Ÿ”Ž Message: unused variable 'result' [-Wunused-variable]
๐Ÿ“ Detail:
auto result = EventCapturer::dispatchMouseDown(event);
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [10/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/ControlManager.cpp:283:10
๐Ÿ”Ž Message: unused variable 'result' [-Wunused-variable]
๐Ÿ“ Detail:
auto result = EventCapturer::dispatchDoubleClick(event);
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [11/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/core/Document.h:15:1
๐Ÿ”Ž Message: 'Document' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
๐Ÿ“ Detail:
struct Document {
^
/Users/pw/workspace/wukong/wukong-editor/test/../src/control/base/BaseControl2.h:9:1: note: did you mean struct here?
class Document;
^~~~~
struct
โš ๏ธ โš ๏ธ โš ๏ธ Warning [12/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/image/ImageTileImageSegmentHandle.h:9:1
๐Ÿ”Ž Message: 'ImageTileImageSegmentHandle' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
๐Ÿ“ Detail:
struct ImageTileImageSegmentHandle final : public BoundsSegmentHandle {
^
/Users/pw/workspace/wukong/wukong-editor/src/control/image/ImageTileImageControl.h:10:1: note: did you mean struct here?
class ImageTileImageSegmentHandle;
^~~~~
struct
โš ๏ธ โš ๏ธ โš ๏ธ Warning [13/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/image/ImageTileImageVertexHandle.h:9:1
๐Ÿ”Ž Message: 'ImageTileImageVertexHandle' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
๐Ÿ“ Detail:
struct ImageTileImageVertexHandle : public BoundsVertexHandle {
^
/Users/pw/workspace/wukong/wukong-editor/src/control/image/ImageTileImageControl.h:11:1: note: did you mean struct here?
class ImageTileImageVertexHandle;
^~~~~
struct
โš ๏ธ โš ๏ธ โš ๏ธ Warning [14/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/vector/VectorHandle.cpp:194:64
๐Ÿ”Ž Message: suggest braces around initialization of subobject [-Wmissing-braces]
๐Ÿ“ Detail:
this->target->vectorNetwork.addVertex(VectorVertex{this->startPoint.fX, this->startPoint.fY});
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{ }
โš ๏ธ โš ๏ธ โš ๏ธ Warning [15/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/vector/VectorHandle.cpp:195:64
๐Ÿ”Ž Message: suggest braces around initialization of subobject [-Wmissing-braces]
๐Ÿ“ Detail:
this->target->vectorNetwork.addVertex(VectorVertex{this->endPoint.fX, this->endPoint.fY});
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{ }
โš ๏ธ โš ๏ธ โš ๏ธ Warning [16/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/vector/VectorHandle.cpp:357:14
๐Ÿ”Ž Message: unused variable 'segment' [-Wunused-variable]
๐Ÿ“ Detail:
let &segment = getSegment();
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [17/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/vector/VectorHandle.cpp:494:41
๐Ÿ”Ž Message: '&&' within '||' [-Wlogical-op-parentheses]
๐Ÿ“ Detail:
if (targetEdge.isTangentInverse && t2 != nullptr || (!targetEdge.isTangentInverse && t1 != nullptr)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ~~
/Users/pw/workspace/wukong/wukong-editor/src/control/vector/VectorHandle.cpp:494:41: note: place parentheses around the '&&' expression to silence this warning
if (targetEdge.isTangentInverse && t2 != nullptr || (!targetEdge.isTangentInverse && t1 != nullptr)) {
^
( )
โš ๏ธ โš ๏ธ โš ๏ธ Warning [18/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/vector/VectorHandle.h:118:13
๐Ÿ”Ž Message: private field 'mouseDownPosition' is not used [-Wunused-private-field]
๐Ÿ“ Detail:
SkPoint mouseDownPosition;
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [19/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/vector/VectorHandle.h:119:13
๐Ÿ”Ž Message: private field 'startPoint' is not used [-Wunused-private-field]
๐Ÿ“ Detail:
SkPoint startPoint;
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [20/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/vector/VectorHandle.h:120:13
๐Ÿ”Ž Message: private field 'endPoint' is not used [-Wunused-private-field]
๐Ÿ“ Detail:
SkPoint endPoint;
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [21/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/vector/VectorControl.cpp:303:13
๐Ÿ”Ž Message: loop variable '[_, tangentHandles]' creates a copy from type 'const std::pair<const unsigned int, std::tuple<std::shared_ptr<Wukong::VectorTangentHandle>, std::shared_ptr<Wukong::VectorTangentHandle>>>' [-Wrange-loop-construct]
๐Ÿ“ Detail:
for (let[_, tangentHandles] : this->tangentHandles) {
^
/Users/pw/workspace/wukong/wukong-editor/src/control/vector/VectorControl.cpp:303:10: note: use reference type 'const std::pair<const unsigned int, std::tuple<std::shared_ptr<Wukong::VectorTangentHandle>, std::shared_ptr<Wukong::VectorTangentHandle>>> &' to prevent copying
for (let[_, tangentHandles] : this->tangentHandles) {
^~~~~~~~~~~~~~~~~~~~~~~~
&
/Users/pw/workspace/wukong/wukong-editor/src/core/../common.h:18:13: note: expanded from macro 'let'
#define let const auto
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [22/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/vector/VectorControl.cpp:432:63
๐Ÿ”Ž Message: suggest braces around initialization of subobject [-Wmissing-braces]
๐Ÿ“ Detail:
auto vertexIndex = this->target->vectorNetwork.addVertex({midiumPoint.fX, midiumPoint.fY});
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{ }
โš ๏ธ โš ๏ธ โš ๏ธ Warning [23/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/vector/VectorControl.cpp:468:11
๐Ÿ”Ž Message: unused variable 'toVertex' [-Wunused-variable]
๐Ÿ“ Detail:
auto &toVertex = target->vectorNetwork.vertices[to];
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [24/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/vector/VectorControl.cpp:467:11
๐Ÿ”Ž Message: unused variable 'fromVertex' [-Wunused-variable]
๐Ÿ“ Detail:
auto &fromVertex = target->vectorNetwork.vertices[from];
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [25/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/vector/VectorControl.cpp:511:11
๐Ÿ”Ž Message: unused variable 'fromSegment' [-Wunused-variable]
๐Ÿ“ Detail:
auto &fromSegment = target->vectorNetwork.segments[from];
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [26/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/vector/VectorControl.cpp:967:71
๐Ÿ”Ž Message: suggest braces around initialization of subobject [-Wmissing-braces]
๐Ÿ“ Detail:
startVertexIndex = this->target->vectorNetwork.addVertex({p1.fX, p1.fY});
^~~~~~~~~~~~
{ }
โš ๏ธ โš ๏ธ โš ๏ธ Warning [27/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/vector/VectorControl.cpp:992:55
๐Ÿ”Ž Message: suggest braces around initialization of subobject [-Wmissing-braces]
๐Ÿ“ Detail:
return this->target->vectorNetwork.addVertex({endPoint.fX, endPoint.fY});
^~~~~~~~~~~~~~~~~~~~~~~~
{ }
โš ๏ธ โš ๏ธ โš ๏ธ Warning [28/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/vector/VectorControl.cpp:1037:71
๐Ÿ”Ž Message: suggest braces around initialization of subobject [-Wmissing-braces]
๐Ÿ“ Detail:
startVertexIndex = this->target->vectorNetwork.addVertex({startPoint.fX, startPoint.fY});
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
{ }
โš ๏ธ โš ๏ธ โš ๏ธ Warning [29/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/vector/VectorControl.cpp:1301:15
๐Ÿ”Ž Message: unused variable 'segment' [-Wunused-variable]
๐Ÿ“ Detail:
auto &segment = this->target->vectorNetwork.segments[segmentHandle->segmentIndex];
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [30/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/vector/VectorControl.cpp:1383:15
๐Ÿ”Ž Message: unused variable 'segment' [-Wunused-variable]
๐Ÿ“ Detail:
auto &segment = this->target->vectorNetwork.segments[targetEdge.segmentIndex];
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [31/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/vector/VectorControl.cpp:1340:9
๐Ÿ”Ž Message: unused variable 'targetVector' [-Wunused-variable]
๐Ÿ“ Detail:
let targetVector = event.nodePoint - this->mouseDownPosition;
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [32/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/control/DrawControl.h:10:1
๐Ÿ”Ž Message: struct 'ControlManager' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
๐Ÿ“ Detail:
struct ControlManager;
^
/Users/pw/workspace/wukong/wukong-editor/src/control/PlaceImageControl.h:16:7: note: previous use is here
class ControlManager;
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [33/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../test/src/vector-network-libs/VectorNetworkLibTest.cpp:11:10
๐Ÿ”Ž Message: unused variable 'cmp' [-Wunused-variable]
๐Ÿ“ Detail:
auto cmp = [&](const Vector &a, const Vector &b) { return a.fX == b.fX ? a.fY < b.fY : a.fX < b.fX; };
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [34/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../test/src/control/EditorModeControl.cpp:1:9
๐Ÿ”Ž Message: #pragma once in main file [-Wpragma-once-outside-header]
๐Ÿ“ Detail:
#pragma once
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [35/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../test/src/control/BoundsControlTest.cpp:1:9
๐Ÿ”Ž Message: #pragma once in main file [-Wpragma-once-outside-header]
๐Ÿ“ Detail:
#pragma once
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [36/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/core/vectorNetwork/libs/VectorNetworkLib.cpp:422:27
๐Ÿ”Ž Message: unused variable 's1' [-Wunused-variable]
๐Ÿ“ Detail:
VectorSegment s1 = vectorNetwork.segments[i];
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [37/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/core/vectorNetwork/libs/VectorNetworkLib.cpp:423:27
๐Ÿ”Ž Message: unused variable 's2' [-Wunused-variable]
๐Ÿ“ Detail:
VectorSegment s2 = vectorNetwork.segments[j];
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [38/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/core/vectorNetwork/libs/VectorNetworkLib.cpp:407:9
๐Ÿ”Ž Message: unused variable 'nVertices' [-Wunused-variable]
๐Ÿ“ Detail:
let nVertices = static_cast<int>(vectorNetwork.vertices.size());
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [39/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/core/vectorNetwork/libs/VectorNetworkLib.cpp:467:27
๐Ÿ”Ž Message: unused variable 's1' [-Wunused-variable]
๐Ÿ“ Detail:
VectorSegment s1 = vectorNetwork.segments[i];
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [40/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/core/vectorNetwork/libs/VectorNetworkLib.cpp:468:27
๐Ÿ”Ž Message: unused variable 's2' [-Wunused-variable]
๐Ÿ“ Detail:
VectorSegment s2 = vectorNetwork.segments[j];
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [41/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/core/vectorNetwork/libs/VectorNetworkLib.cpp:710:9
๐Ÿ”Ž Message: unused variable 'nVertex' [-Wunused-variable]
๐Ÿ“ Detail:
let nVertex = vectorNetwork.vertices.size();
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [42/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/core/vectorNetwork/VectorNode.cpp:52:62
๐Ÿ”Ž Message: suggest braces around initialization of subobject [-Wmissing-braces]
๐Ÿ“ Detail:
auto start = this->tryAddVertex(VectorVertex{pts[0].fX, pts[0].fY});
^~~~~~~~~~~~~~~~~~~~
{ }
โš ๏ธ โš ๏ธ โš ๏ธ Warning [43/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/core/vectorNetwork/VectorNode.cpp:53:60
๐Ÿ”Ž Message: suggest braces around initialization of subobject [-Wmissing-braces]
๐Ÿ“ Detail:
auto end = this->tryAddVertex(VectorVertex{pts[1].fX, pts[1].fY});
^~~~~~~~~~~~~~~~~~~~
{ }
โš ๏ธ โš ๏ธ โš ๏ธ Warning [44/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/core/vectorNetwork/VectorNode.cpp:58:62
๐Ÿ”Ž Message: suggest braces around initialization of subobject [-Wmissing-braces]
๐Ÿ“ Detail:
auto start = this->tryAddVertex(VectorVertex{pts[0].fX, pts[0].fY});
^~~~~~~~~~~~~~~~~~~~
{ }
โš ๏ธ โš ๏ธ โš ๏ธ Warning [45/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/core/vectorNetwork/VectorNode.cpp:59:60
๐Ÿ”Ž Message: suggest braces around initialization of subobject [-Wmissing-braces]
๐Ÿ“ Detail:
auto end = this->tryAddVertex(VectorVertex{pts[2].fX, pts[2].fY});
^~~~~~~~~~~~~~~~~~~~
{ }
โš ๏ธ โš ๏ธ โš ๏ธ Warning [46/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/core/vectorNetwork/VectorNode.cpp:65:62
๐Ÿ”Ž Message: suggest braces around initialization of subobject [-Wmissing-braces]
๐Ÿ“ Detail:
auto start = this->tryAddVertex(VectorVertex{pts[0].fX, pts[0].fY});
^~~~~~~~~~~~~~~~~~~~
{ }
โš ๏ธ โš ๏ธ โš ๏ธ Warning [47/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/core/vectorNetwork/VectorNode.cpp:66:60
๐Ÿ”Ž Message: suggest braces around initialization of subobject [-Wmissing-braces]
๐Ÿ“ Detail:
auto end = this->tryAddVertex(VectorVertex{pts[3].fX, pts[3].fY});
^~~~~~~~~~~~~~~~~~~~
{ }
โš ๏ธ โš ๏ธ โš ๏ธ Warning [48/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/core/vectorNetwork/VectorNetwork.cpp:163:16
๐Ÿ”Ž Message: unused variable 'vertex' [-Wunused-variable]
๐Ÿ“ Detail:
for (auto &vertex : vertices) {
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [49/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/core/vectorNetwork/VectorNetwork.cpp:378:9
๐Ÿ”Ž Message: unused variable 'nSegments' [-Wunused-variable]
๐Ÿ“ Detail:
int nSegments = static_cast<int>(this->segments.size());
^
โš ๏ธ โš ๏ธ โš ๏ธ Warning [50/50] โš ๏ธ โš ๏ธ โš ๏ธ
๐Ÿ“Œ Location: ../src/core/vectorNetwork/VectorNetwork.cpp:377:9
๐Ÿ”Ž Message: unused variable 'nVertices' [-Wunused-variable]
๐Ÿ“ Detail:
int nVertices = static_cast<int>(this->vertices.size());
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment