Giter Site home page Giter Site logo

Comments (4)

cdunn2001 avatar cdunn2001 commented on May 14, 2024
% git diff -w svn-release-0.6.0-rc2 32009b1 -- include/json/value.h
...
-         CZString &operator =( const CZString &other );
+    CZString &operator=(CZString other);
...
-      Value &operator=( const Value &other );
+  Value &operator=(Value other);

Yes, those 2 signatures have changed. Not good. (I am comparing tag svn-release-0.6.0-rc2 with commit 32009b17e4d35a812575cfcf6bae9ec49fc67446, which preceded our Clang reformatting.)

Let me see if I can add those back and delegate to the others. I'm not sure whether that would actually compile...

from jsoncpp.

cdunn2001 avatar cdunn2001 commented on May 14, 2024

Billy, 45cd949 broke binary compatibility. I don't want Debian to bump the .so version. So we have to consider some choices:

A. Revert this on the pre-C++11 branch.
B. Keep it, but add the old signatures too, and let those delegate to the new ones. Will that compile?
C. Keep it as is. Maybe it's not a real problem. (But I don't think we can convince Debian folks of that.)

I'm going with A for now. What do you think?

from jsoncpp.

BillyDonahue avatar BillyDonahue commented on May 14, 2024

I would go with A as well. Revert on the branch Debian is pulling.
Or bump the patchlevel on the .so.

I didn't realize Debian would be pulling from a trunk branch and expecting
binary compatibility.
That seems like a pretty fragile setup!

On Mon, Nov 17, 2014 at 12:57 AM, Christopher Dunn <[email protected]

wrote:

Billy, 45cd949
45cd949
broke binary compatibility. I don't want Debian to bump the .so version. So
we have to consider some choices:

A. Revert this on the pre-C++11 branch.
B. Keep it, but add the old signatures too, and let those delegate to the
new ones. Will that compile?
C. Keep it as is. Maybe it's not a real problem. (But I don't think we can
convince Debian folks of that.)

I'm going with A for now. What do you think?


Reply to this email directly or view it on GitHub
#78 (comment)
.

from jsoncpp.

cdunn2001 avatar cdunn2001 commented on May 14, 2024

Yes, I think worrying about binary compatibility unwise. But in our case, it was easy. I'll tag that as 0.6.0.

I'm about to tag the tip as 0.7.0. Then I'll bump to 1.0.0 on master and call it officially C++11 only.

from jsoncpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.