Line
Link Here
|
|
artifact and the pointer passed to it should not be volatile" |
|
artifact and the pointer passed to it should not be volatile" |
1 |
-- a/ext/scintilla/gtk/ScintillaGTKAccessible.cxx |
1 |
++ b/ext/scintilla/gtk/ScintillaGTKAccessible.cxx |
Lines 1011-1015
Link Here
|
1011 |
// @p parent_type is only required on GTK 3.2 to 3.6, and only on the first call |
1011 |
// @p parent_type is only required on GTK 3.2 to 3.6, and only on the first call |
1012 |
static GType scintilla_object_accessible_get_type(GType parent_type G_GNUC_UNUSED) { |
1012 |
static GType scintilla_object_accessible_get_type(GType parent_type G_GNUC_UNUSED) { |
1013 |
static volatile gsize type_id_result = 0; |
1013 |
static gsize type_id_result = 0; |
1014 |
|
1014 |
|
1015 |
if (g_once_init_enter(&type_id_result)) { |
1015 |
if (g_once_init_enter(&type_id_result)) { |
Lines 1102-1106
Link Here
|
1102 |
*cache = scintilla_object_accessible_new(0, G_OBJECT(widget)); |
1102 |
*cache = scintilla_object_accessible_new(0, G_OBJECT(widget)); |
1103 |
#elif HAVE_GTK_FACTORY // register in the factory and let GTK instantiate |
1103 |
#elif HAVE_GTK_FACTORY // register in the factory and let GTK instantiate |
1104 |
static volatile gsize registered = 0; |
1104 |
static gsize registered = 0; |
1105 |
|
1105 |
|
1106 |
if (g_once_init_enter(®istered)) { |
1106 |
if (g_once_init_enter(®istered)) { |
1107 |
-- a/library/forms/gtk/src/mforms_acc.cpp |
1107 |
++ b/library/forms/gtk/src/mforms_acc.cpp |
Lines 177-181
Link Here
|
177 |
// @p parent_type is only required on GTK 3.2 to 3.6, and only on the first call |
177 |
// @p parent_type is only required on GTK 3.2 to 3.6, and only on the first call |
178 |
GType mforms_object_accessible_get_type(GType parent_type G_GNUC_UNUSED) { |
178 |
GType mforms_object_accessible_get_type(GType parent_type G_GNUC_UNUSED) { |
179 |
static volatile gsize typeIdResult = 0; |
179 |
static gsize typeIdResult = 0; |
180 |
|
180 |
|
181 |
if (g_once_init_enter(&typeIdResult)) { |
181 |
if (g_once_init_enter(&typeIdResult)) { |
182 |
-- a/library/ssh/SSHCommon.h |
182 |
++ b/library/ssh/SSHCommon.h |
Lines 42-45
Link Here
|
42 |
#include <thread> |
42 |
#include <thread> |
43 |
#include <atomic> |
43 |
#include <atomic> |
|
|
44 |
#include <memory> |
44 |
#include <mutex> |
45 |
#include <mutex> |
45 |
|
46 |
|
46 |
-- a/library/ssh/SSHTunnelHandler.h |
47 |
++ b/library/ssh/SSHTunnelHandler.h |
Lines 31-34
Link Here
|
31 |
#include <thread> |
31 |
#include <thread> |
32 |
#include <map> |
32 |
#include <map> |
|
|
33 |
#include <memory> |
33 |
#include <mutex> |
34 |
#include <mutex> |
34 |
#include <vector> |
35 |
#include <vector> |