-
Notifications
You must be signed in to change notification settings - Fork 540
Some optimizations and bug fixes #182
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
Hi @KOLANICH, I've noticed that you reported a lot of issues and proposed some improvements. Thank you for your time! For your Information, I am no more actively developing this library, but I welcome any help you can provide for improving it! Cheers! |
Could you perhaps separate this into multiple more specific merge request? I feel this would help me integrate the parts I am the more confident in! Cheers! |
I can, but not all of the commits. Some of them depend on each other and If I separated them there will be merge conflicts. I also wonder if we should drop Travis CI. It is dead, they use ultra-obsolete Docker images. Is this yours? I propose to
|
Yes, it's also mine repo on Gitlab, and I have actually been using Gitlab CI at my previous job, but right now I don't have the time to switch. If I recall correctly, Travis is in fact now providing more recent Ubuntu images, it might be a matter of proper config at the top of the Travis yaml config file |
So if I created a PR with
Yes, they have introduced
in 2018 after |
Hi @KOLANICH, I somehow missed your last comment... sorry for not answering! I am going to cherry pick some of your commits, starting by simple things. Regarding your most disruptive changes, yes it would be nice to simply throw every old compilers and platform, but that's rarely how things works in most companies; Ubuntu 18.04 is more recent then what I used at work until recently and at home. So we could instead for a new v3 branch for instance, with disruptive changes, or requesting a much more recent setup (CMake & C++ version) This (as much as other considerations) that I am not wiling to just drop Github, but I indeed would gladly add a gitlab-ci Yaml file Thanks again for your time! |
I don't even know which of them is the most disruptive. I have rewritten the most of the template code in the way it doesn't require any variadic templates, is it was initally. |
include/SQLiteCpp/Statement.h
Outdated
(__TI_COMPILER_VERSION__ > 7003000 && defined(__TI_GNU_ATTRIBUTE_SUPPORT__))\ | ||
)\ | ||
) | ||
#if !defined(pure) and __has_attribute(const) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops, here is the error (though causing no harm in most of cases). Should be !defined(SQLITECPP_PURE_FUNC)
963ef3b
to
c275cb4
Compare
Is it intended to drop support for compilers lower than c++11? (I do exactly the same for binding using enable_if in my project, so it's no problem for me, but I do not know whether there are still people with older compilers) and while I think the use of sqlite3_bind_parameter_index is a cool addition, but it should completely replace the current functionality, since at least I definetly do have a use case for the initialisation using a variadic template |
c275cb4
to
8b58fe9
Compare
Yes @maxbachmann, my intention is to drop support for compiler older than C++11. |
@SRombauts yes it probably makes sence to drop the support in a major release :) |
8b58fe9
to
c4d7e2c
Compare
…rom the official website.
…before use. The script supports more hardening options than were used here.
c4d7e2c
to
978a0cc
Compare
Closing this one since it has been mostly merged by pieces by now. |
No description provided.