Skip to content

g[io|lib]mmconfig.h.*: Don't dllimport on MinGW

Chun-wei Fan requested to merge fix.gcc.win32.warnings.266 into glibmm-2-66

Hi,

From the commit message:

This will fix warnings when building items using glibmm and giomm with MinGW/GCC.

Please see: gtkmm#90 (closed)


Hi @carrotIndustries,

Can you please do the following:

  • Test whether glibmm and its tests build and link, and successfully run
  • Try to build atkmm-2.28.x against your new build of glibmm and see whether you won't get the warnings you mentioned in gtkmm#90 (closed)

You can just download the glib-2.66.0 release tarball and just patch your [glib|gio]/[glib|gio]mmconfig.h.[in|meson] with the patch in this MR to test your builds, using autotools or Meson. There is no need to regenerate any sources from the .ccg/.hg files for this. Please let me know how things went.


With blessings, thank you!

Edited by Chun-wei Fan

Merge request reports