Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modules/gnome.py: Fix generating .gir with latest Windows SDK #13392

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fanc999-1
Copy link
Contributor

...when a Visual Studio-style compiler is being used.

The dumper program will fail to link with an obscure undefined symbol 'guard_check_icall$fo$' without an appropriate CRT cflag (i.e. /MD or /MDd for instance) specified, when the latest Windows SDK (10.0.26100.0 or later) is being used on Visual Studio 2019 at least.

This applies the appropriate CRT cflag according to the build options during introspection scanning so that this issue will be avoided.

@fanc999-1 fanc999-1 requested a review from jpakkane as a code owner July 8, 2024 09:21
@fanc999-1 fanc999-1 force-pushed the gir-windows-sdk-26100 branch 5 times, most recently from 5017743 to e75acec Compare July 12, 2024 03:29
...when a Visual Studio-style compiler is being used.

The scanner and dumper programs for gtkdoc and introspection will fail
to link with an obscure undefined symbol '_guard_check_icall_$fo$'
without an appropriate CRT cflag (i.e. /MD or /MDd for instance) specified,
when the latest Windows SDK (10.0.26100.0 or later) is being used on Visual
Studio 2019 at least.

This will update the private _get_langs_compilers_flags() if a Visual
Studio style compiler is being used, as indicated by the b_vscrt option.

This applies the appropriate CRT cflag according to the build options
so that this issue will be avoided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant