Giter VIP home page Giter VIP logo

Comments (5)

colisee avatar colisee commented on September 26, 2024

https://gitlab.onelab.info/gmsh/gmsh/-/issues/2416

Some C++ Standard Library headers have been changed to no longer include other headers that were being used internally by the library.

from odr-audioenc.

colisee avatar colisee commented on September 26, 2024

Hi @mpbraendli,

I think I have found the explanation:

  1. include dependency path
    contrib/ReedSolomon.cpp - stdexcept - string - bits/char_traits.h - cstdint

  2. Header file <bits/char_traits.h>
    bullseye:

    #if __cplusplus >= 201103L
      #include <cstdint>
    

    unstable:

    #if __cplusplus >= 201103L
      # include <type_traits>
      #if !defined __UINT_LEAST16_TYPE__ || !defined __UINT_LEAST32_TYPE__
        # include <cstdint>
      #endif
    #endif
    

Somehow, UINT_LEAST16_TYPE and/or UINT_LEAST32_TYPE are defined in unstable, preventing cstdint from being included by the preprocessor.

Anyhow, I believe that <cstdint> should be added to source file contrib/ReedSolomon.cpp since the latter explicitely refers to type uint8_t

In order to push the package to debian, I would need this change to be included in a new release...

from odr-audioenc.

mpbraendli avatar mpbraendli commented on September 26, 2024

Hi, yes the header #include is missing. Same issue popped up in ODR-DabMux too.

I need to do releases for all tools that have ReedSolomon.cpp

Thanks for the reminder

from odr-audioenc.

colisee avatar colisee commented on September 26, 2024

Merci @mpbraendli

By the way, I confirm that once you add #include <cstdint> to ReedSolomon.cpp, the compilation is still OK in bullseye (and probably bookworm, although I didn't check, yet)

from odr-audioenc.

mpbraendli avatar mpbraendli commented on September 26, 2024

Fixed in v3.4.0

from odr-audioenc.

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.