]> git.draconx.ca Git - upkg.git/commit
Disable deprecation warnings from Glib.
authorNick Bowler <nbowler@draconx.ca>
Thu, 24 Feb 2022 02:49:33 +0000 (21:49 -0500)
committerNick Bowler <nbowler@draconx.ca>
Thu, 24 Feb 2022 02:57:52 +0000 (21:57 -0500)
commit52c1b4699e8f5c396e3316a813d73de8075df97a
tree371dc1d239a3838bd0ed3bf0995b6092cf1862db
parent10db89bd754cb1ae982c75cebc2f97ac3e11aa34
Disable deprecation warnings from Glib.

Having glib spew out pages of warnings just because we happened to
build on a machine with a newer version installed, telling us to modify
perfectly working code to break compatibility and risk regressions for
no reason...  seems a bit daft.

Fortunately we can simply define a macro to shut it all up.

Doing this in config.h revealed that many source files don't include it,
which is a bug in its own right so fix that up at the same time.
15 files changed:
configure.ac
src/engine/engine.c
src/engine/mesh.gob
src/engine/music-dummymod.c
src/engine/music-modplug.c
src/engine/music.gob
src/engine/palette.gob
src/engine/sound.gob
src/engine/texture.gob
src/libupkg.c
src/uobject/avl.c
src/uobject/exportable.c
src/uobject/loadable.c
src/uobject/module.c
src/uobject/package.c