Giter Site home page Giter Site logo

Comments (2)

TheOneric avatar TheOneric commented on June 24, 2024

char ** or more specifically char **restrict is the correct type; your iconv headers are broken
See: https://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html

(there used to be an error in the spec where the version documented in the iconv.h header didn’t match the version of the iconv’ function itself, but that was fixed ages ago. Some systems like NetBSD retain a const version anyway, but i guess they also configure their compilers to not error on this by default)

win-iconv defaults to a non-compliant setup and you need a build time toggle to make it behave correctly; win-iconv/win-iconv#25

Furthermore sub_recode wasn’t touched in 10 years; this exact setup working fine with 0.17.1 but not 0.17.2 is thus impossible; most likely the winiconv macro define got just lost inbetween or your compiler used to treat this as a non-fatal error before

from libass.

vtorri avatar vtorri commented on June 24, 2024

actually, winiconv can modify the constness with WINICONV_CONST, now it works.
maybe gcc 14 changed something, but 0.17.1 did compile when i tried it, as its compilation was part of my package manager. So I'm sure it compiled.
anyway, it is fixed, now

from libass.

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.