Skip to content

[various] Reduce compiler warnings from g_slist_foreach and other common issues - #1589

Open
WrapEarnPass wants to merge 16 commits into
geany:masterfrom
WrapEarnPass:foreachfixes
Open

[various] Reduce compiler warnings from g_slist_foreach and other common issues#1589
WrapEarnPass wants to merge 16 commits into
geany:masterfrom
WrapEarnPass:foreachfixes

Conversation

@WrapEarnPass

@WrapEarnPass WrapEarnPass commented Jul 10, 2026

Copy link
Copy Markdown

I've been testing my plugin in geany for windows. The geany-plugins repo apparently doesn't get a lot of windows maintenance as the windows build is noisy as hell.

I count 54 warnings in the windows build from master. That seems small, but the console spam is horrible after 50 builds in a day.

This changeset gets it down to 30.

I was unable to reduce it any further due to LSP's frequent use of aggregate-return and ignoring sign compares.

I have broken each commit up by each plugin, so you can back out any block you don't want to deal with right now.

Closes #1588

One change that needs special highlighting.
#define _WIN32_WINNT 0x0501 was removed from scope/src/thread.c
This shouldn't matter because your build process should be setting _WIN32_WINNT for the entire build in CFLAG.

Closes #1587

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.

[various] compiler warnings from g_slist_foreach [scope] Build system uses an old _WIN32_WINNT

1 participant