-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Silence SQLITE_HAS_CODEC Redefinition Warnings #3393
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
Conversation
During compiling of source, compiler will issue numerous warnings stating that `SQLITE_HAS_CODEC` is being redefined. Commit resolves this warning by placing a ifndef pragma around declaration in header
|
LGTM, and if there's nothing special about it, why not merge it? 😄 |
|
@lucydodo Are those CI failures due to GitHub flakiness, or are they something that needs looking at? 😄 |
|
@justinclift It looks like there was some kind of force push on the 'homebrew-core' tab. |
|
k, doing it now... |
|
Oh hang on, this isn't with our build infrastructure, it's with the GitHub Actions builders. |
|
According to Homebrew team, it looks like a GitHub issue: https://github.com/orgs/Homebrew/discussions/4612 |
|
Scrolling to the bottom of that GitHub issue, they seem to think it's fixed. Maybe we should let them know it's started up again? |
|
I thought about that for a second, but then I saw below comment.
so I figured they probably already knew that, and I didn't leave it. 😄 |
|
Additionally, I just created a branch with a commit that might fix this: https://github.com/sqlitebrowser/sqlitebrowser/tree/avoid-homebrew_issue |
If you make a PR with it, then CI should automatically run with it for that PR. So we can see if it works... 😄 |
|
Even if I create a PR, will it not work based on the workflow in existing source tree? |
|
Well, it looks like I was wrong. My apologies. Here's the PR: #3394 |
|
Cool. Lets see it run to completion, just in case. If it works fine, then we can merge that PR and rebase this one onto the updated |
|
Damn. It's still not happy. 😦 |
|
@lucydodo Hmmm, I'm going to leave this to you as I'm doing other stuff. 😉 |
|
Don't worry, Let me see if I can figure it out :) |
During compiling of source, compiler will issue numerous warnings stating that `SQLITE_HAS_CODEC` is being redefined. Commit resolves this warning by placing a ifndef pragma around declaration in header
|
@justinclift It seems to be working fine now :) |
4bc0c36 to
e0a000c
Compare
|
Original pull request doesn't appear to have been pulled into master. |
|
Commit merged into master. This was a little painful with CI issues confusing things. Hard for me to focus on one issue when unrelated things get piled on. A Me problem. |
|
@scottfurry Did I do something wrong? |
The original commit was not pulled into master. Was it wrong? No. Just an oversight. I think everyone got hyper-focused on the CI problems that in fixing that the change for resolving the codec warning got lost somehow. Not to get Too Philosophical on people, it's easy to lose sight of the hierarchy and orderliness of multiple git repositories/branches. I think that's what happened here. There was the master branch and the codec changes were in another branch. All the CI fixes got push from the changes branch into master. The original fix got left behind. Easy fix. @lucydodo Don't beat yourself up. |
|
Thanks for your kindness. 'Git' seems to be difficult no matter how much I learn and use it. 😄 😄 |
|
Ah, grasshopper...when you can snatch the commit from my hand, then you will be ready. |

During compiling of source, compiler will issue numerous warnings stating that
SQLITE_HAS_CODECis being redefined. Commit resolves this warning by placing a#ifndefpragma around declaration in header.Also, minor format editing done to ensure good spacing to improve readability of pre-processor declarations.