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

Disable C compiler warnings entirely #555

Merged
merged 2 commits into from
Apr 7, 2024
Merged

Conversation

serebit
Copy link
Member

@serebit serebit commented Apr 6, 2024

Description

In Meson 1.4.0, warnings for Vala-transpiled C code were unhidden, which causes the Budgie build to turn into unreadable logspam due to the absolutely abysmal C code generated by Vala. This PR restores the prior behavior by disabling all warnings for C code.

Let it be known that I didn't want to have to do this and would have fixed the code myself. If I could have.

Submitter Checklist

  • Squashed commits with git rebase -i (if needed)
  • Built budgie-desktop and verified that the patch worked (if needed)

Copy link
Member

@JoshStrobl JoshStrobl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cheers!

@JoshStrobl
Copy link
Member

@serebit Now it triggers the following:

../src/daemon/tabswitcher.vala:64:38: error: implicit declaration of function ‘xfw_window_x11_get_xid’; did you mean ‘wnck_window_get_xid’? [-Wimplicit-function-declaration]

So still need those it seems

@serebit serebit merged commit bfab2ff into main Apr 7, 2024
1 check passed
@serebit serebit deleted the disable-c-compiler-warnings branch April 7, 2024 01:17
JoshStrobl pushed a commit that referenced this pull request Jun 21, 2024
* Disable C compiler warnings entirely

* Add back existing warning disablement
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.

2 participants