Giter Site home page Giter Site logo

Comments (5)

plexoos avatar plexoos commented on July 17, 2024

A fix like this seems to silence the compiler:

-TH1 *array[];
+TH1 *array[1];

56aa19a

@jml985 Do you have a better solution?

from star-sw.

jml985 avatar jml985 commented on July 17, 2024

I'll check later this afternoon.

from star-sw.

jml985 avatar jml985 commented on July 17, 2024

@plexoos I put in a pull request #369 updating all of the builders according to your suggestion. This works fine with the use.

from star-sw.

plexoos avatar plexoos commented on July 17, 2024

Thank you Jeff for looking into this. I think in your last commit on jml985:JevpProduction you missed a few builders. If you look at my commit 56aa19a there are a few builders which use a different name for the array of histogram pointers, e.g. TH2 *tbVsAdcArray[]; instead of TH1 *array[]; as in my example above. I don't think I missed anything because the code actually compiles with gcc 11 and the errors are not reported anymore. In the log message I documented the command I came up with to do the substitution, it can be used to recreate the patch.

from star-sw.

jml985 avatar jml985 commented on July 17, 2024

Ok. Do I need to update my pull request or does your patch go directly into it? I see that the pull request CI seems to still have an error.

from star-sw.

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.