Comments (5)
A fix like this seems to silence the compiler:
-TH1 *array[];
+TH1 *array[1];
@jml985 Do you have a better solution?
from star-sw.
I'll check later this afternoon.
from star-sw.
@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.
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.
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)
- Errors reported when setting 2022 geometry ROOT6 HOT 3
- Memory leak in StFstClusterMaker HOT 4
- TTable incomplete type errors in ROOT6 tests HOT 3
- TTable not found when compiling for ROOT6 with spack environment 0.3.0 HOT 5
- Compiler error in StarVMC due to missing TPainter3dAlgorithms.h in ROOT 6.24.06 HOT 2
- starver dev unable to locate module file HOT 7
- Runtime error in StRoot/macros/analysis/doEvents.C in ROOT6 environment HOT 1
- StTriggerData2022 version number wasn't incremented HOT 3
- StarAgmlUtil.so does not exist in HOT 5
- StMuDstMaker is not reading files properly
- Runtime errors in StarVMC/StarAgmlLib when using ROOT 6.24 HOT 4
- BFC tests fail in StiDefaultToolkit when using ROOT 6.24 HOT 3
- StiCA option defined twice in StRoot/StBFChain/BigFullChain.h HOT 7
- SL23f crash in StFstRawHitMaker HOT 6
- rootlogoff.C needs a fix for ROOT6 HOT 2
- StEvent/StEnumerations errors in ROOT6 HOT 3
- Batch and interactive results differ HOT 13
- /lib/libdl.so error when compiling a macro with spack 32-bit HOT 4
- StTpcHitMaker::maxHits array over-written HOT 7
- Compilation issue for StFwdUtils/StFwdAnalysisMaker.cxx with root6 (SL24x)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from star-sw.