diff options
author | Philip Withnall <pwithnall@endlessos.org> | 2020-11-16 18:38:39 +0000 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-11-17 17:45:25 +0200 |
commit | 42ba8efaf220bceca7850f2ffe0d84ee426f7b34 (patch) | |
tree | 620720ff05a068eb50adaecd51974e548cdd99f6 /docs/markdown | |
parent | a9f054e269b74a2c2e6e911556ee702fdce23e1d (diff) | |
download | meson-42ba8efaf220bceca7850f2ffe0d84ee426f7b34.zip meson-42ba8efaf220bceca7850f2ffe0d84ee426f7b34.tar.gz meson-42ba8efaf220bceca7850f2ffe0d84ee426f7b34.tar.bz2 |
gnome: Drop use of volatile in GLib type functions
See https://gitlab.gnome.org/GNOME/glib/-/issues/600
`volatile` was previously mistakenly used in GLib to indicate that a
variable was accessed atomically or otherwise multi-threaded. It’s not
meant for that, and up to date compilers (like gcc-11) will rightly warn
about it.
Drop the `volatile` qualifiers.
Based on a patch by Jeff Law.
See also http://isvolatileusefulwiththreads.in/c/.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Diffstat (limited to 'docs/markdown')
0 files changed, 0 insertions, 0 deletions