mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-24 02:47:52 +02:00
build-sys: drop -mms-bitfields GCC flag
This flag is problematic for some usages, and is no longer needed since ~2012 GCC 4.7 (https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=a6c467624ade35128) It is dropped from MINGW since: https://github.com/msys2/MINGW-packages/pull/12891 Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
@@ -65,10 +65,10 @@ Building software that just *uses* GLib or GTK also require to have
|
||||
the right compiler set up the right way. If you intend to use MinGW-GCC,
|
||||
follow the relevant instructions below in that case, too.
|
||||
|
||||
You should link to GLib using the `-mms-bitfields` GCC flag. This flag means
|
||||
that the struct layout rules are identical to those used by MSVC. This is
|
||||
essential if the same DLLs are to be usable both from gcc- and MSVC-compiled
|
||||
code.
|
||||
You should link to GLib using the `-mms-bitfields` GCC flag. It is the default
|
||||
since 2012 (GCC 4.7). This flag means that the struct layout rules are identical
|
||||
to those used by MSVC. This is essential if the same DLLs are to be usable both
|
||||
from gcc- and MSVC-compiled code.
|
||||
|
||||
## Cross-CRT issues
|
||||
|
||||
|
Reference in New Issue
Block a user