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

add -Wno-declaration-after-statement for Xcode 14.3 #3474

Closed
wants to merge 1 commit into from

Conversation

asmagill
Copy link
Member

The latest XCode/Clang is prepping for C2x and apparently its must stickier about some things... I had to add -Wno-declaration-after-statement to both the Hammerspoon and LuaSkin projects to get them to compile.

@asmagill asmagill added the pr-fix Pull Request implementing a bug fix label Apr 25, 2023
@github-actions
Copy link

View Test Results

348 tests   295 ✔️  11m 31s ⏱️
    2 suites    52 💤
    1 files        1

For more details on these failures, see this check.

Results for commit 2ca5a79.

@asmagill
Copy link
Member Author

asmagill commented May 1, 2023

@cmsj, @latenitefilms if there are no objections, tomorrow I'm going to go ahead and merge this pull and #3476 because they both included fixes that are required to build Hammerspoon under the latest Xcode. I hope to be uploading a new pull request for hs.hash and hs.fs soon after and it will be easier if these have already landed, to hopefully avoid conflicts that require manual fixes later on.

@cmsj
Copy link
Member

cmsj commented Dec 10, 2023

@asmagill I think I already merged fixes for this by now, but fwiw these flags belong in the xcconfig files in https://github.com/Hammerspoon/hammerspoon/tree/master/Hammerspoon/Build%20Configs (typically in the relevant -Base.xcconfig)

@cmsj cmsj closed this Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-fix Pull Request implementing a bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants