Code Monkey home page Code Monkey logo

Comments (6)

robUx4 avatar robUx4 commented on July 24, 2024 1

If this is this thing, it seems to be an error in the packages. The new libmatroska package in your distro should not be mark it as compatible with older versions.
Now, that being said, we thought noone was using this so we are probably the ones to blame.

It's probably this line that needs a fix. I'll submit a patch.

from libmatroska.

mbunkus avatar mbunkus commented on July 24, 2024

libmatroska allows for other people to define MATROSKA_VERSION and only defines it itself if it isn't defined yet. This means that simply removing will break the ABI for people who did define it to be < 2.

Additionally the removal will break the API for any source code checking its value. MKVToolNix used to do this. It doesn't anymore, though.

Yeah, the number of people actually defining it beforehand is probably 0. The number of projects checking its value is potentially higher than 0, though.

I'm not against dropping it, but we should err on the side of caution & explicitly state that such a release will break API & ABI under certain conditions. And bunch the other pending, ABI-breaking PRs in such a release.

from libmatroska.

robUx4 avatar robUx4 commented on July 24, 2024

I don't think it qualifies as an ABI "breakage" if you add new ABI entries but the old ones are unchanged.

I do agree on the API breakage for the define. I was planning to add an #error if it's defined externally to something smaller than 2. So that code that might have used the feature will notice for sure. It's probably a good idea to keep the define to 2 for legacy reasons, as you mentioned.

from libmatroska.

JackBoosY avatar JackBoosY commented on July 24, 2024

This breaks the latest version of azure-kinect-sensor-sdk.

from libmatroska.

robUx4 avatar robUx4 commented on July 24, 2024

Can you point to some error logs ? It should not be hard to fix.

from libmatroska.

JackBoosY avatar JackBoosY commented on July 24, 2024

@robUx4
28>D:\buildtrees\azure-kinect-sensor-sdk\src\.0-alpha.0-30d96b3859.clean\src\record\sdk\record.cpp(543,59): error C2065: 'MATROSKA_VERSION': undeclared identifier [D:\buildtrees\azure-kinect-sensor-sdk\x64-windows-dbg\src\record\sdk\k4arecord.vcxproj]

from libmatroska.

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.