On 29 August 2013 23:12, Andrei Vinokurov <vineswo...@gmail.com> wrote: > > First of all, let me thank you for your time and effort being put into > SOCI! Once I was faced with the choice between then-unmaintained SOCI > and well-maintained OTL, I chose the former, but there was that > unpleasant concern... And now it's gone, thanks to you! :)
Andrei, On behalf of the whole SOCI team, thank you! No promises though :) > Now to the matter. > > I use C++11 throughout my project, and have never had any trouble > interoperating with SOCI. In fact, I didn't even know that it forcibly > overrides the '--std=c++11' flag and is always built in 98 mode! I think we can change it. > Everything used to work correctly... until I tried to switch GCC from > 4.7 to 4.8. Then it broke. Well, binary compatibility between > standards is not guaranteed, so that wasn't much of a surprise. But > things went a bit worse -- I've found that some source code changes > are likely to be necessary in case of the newer standard. Now, I want > to share the fix, so I decided to ask, is there any intent towards > C++11 support, or are there any obstacles that would make it > undesireable / impractical / etc.? I think, SOCI must compile with latest compilers and ideally if it can be compiled cleanly in C++11 mode. It means, I'm personally in favour of any changes that 1) correct C++11 mode compilation and 2) does not break C++03 compilation. There seem to be consensus among SOCI users and developers, that we don't aim to port SOCI to use the new C++11 features and break C++03 compatibility. Certainly, if it some changes would be beneficial (i.e. move support), they can be introduce as conditionally compiled (like in Boost)/ If you're willing to submit any patches, please use GitHub pull request mechanism. Feel free to discuss any details on soci-devel@lists.sourceforge.net (CC'ed). Best regards -- Mateusz Loskot, http://mateusz.loskot.net "Participation in this whole process is a form of torture" ~~ Szalony ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ soci-devel mailing list soci-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/soci-devel