We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1492b3d commit c5c04bbCopy full SHA for c5c04bb
src/ioc/reftrackioc.cpp
@@ -48,6 +48,11 @@ void refshow(int lvl)
48
// No locking. assume only interactive iocsh use
49
static epics::RefSnapshot savedSnap;
50
51
+#if __GNUC__ == 12
52
+// silence false (?) warning that shows in gcc 12 only
53
+#pragma GCC diagnostic push
54
+#pragma GCC diagnostic ignored "-Wdangling-pointer"
55
+#endif
56
void refsave()
57
{
58
try {
@@ -57,6 +62,9 @@ void refsave()
62
savedSnap.swap(snap);
63
}CATCH()
59
64
}
65
66
+#pragma GCC diagnostic pop
67
60
68
61
69
void refdiff(int lvl)
70
0 commit comments