Skip to content

Fix builds on Visual Studio against installed GLib-2.68.x or later

Chun-wei Fan requested to merge fix-c4098-warnings into main

Hi,

From the commit message:

We attempted to return a value in void-return-type functions in both gicallableinfo.c and gitypeinfo.c, so avoid that since that will trigger a C4098 warning on Visual Studio, which is considered an error if we are building against an installed version of GLib 2.68.x or later.

This will fix builds against GLib-2.68.x and later on Visual Studio.

With blessings, thank you!

Merge request reports