Skip to content

Conversation

@plexoos
Copy link
Member

@plexoos plexoos commented Jan 3, 2023

In file included from .sl79_gcc11/OBJ/StRoot/StETofMatchMaker/StETofMatchMaker.cxx:90:
In copy constructor 'constexpr StETofMatchMaker::StructETofHit::StructETofHit(const StETofMatchMaker::StructETofHit&)',
    inlined from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = StETofMatchMaker::StructETofHit; _Args = {const StETofMatchMaker::StructETofHit&}; _Tp = StETofMatchMaker::StructETofHit]' at /opt/rh/devtoolset-11/root/usr/include/c++/11/ext/new_allocator.h:162:4,
    inlined from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = StETofMatchMaker::StructETofHit; _Args = {const StETofMatchMaker::StructETofHit&}; _Tp = StETofMatchMaker::StructETofHit]' at /opt/rh/devtoolset-11/root/usr/include/c++/11/bits/alloc_traits.h:516:17,
    inlined from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = StETofMatchMaker::StructETofHit; _Alloc = std::allocator<StETofMatchMaker::StructETofHit>]' at /opt/rh/devtoolset-11/root/usr/include/c++/11/bits/stl_vector.h:1192:30,
    inlined from 'void StETofMatchMaker::readETofDetectorHits(StETofMatchMaker::eTofHitVec&)' at .sl79_gcc11/OBJ/StRoot/StETofMatchMaker/StETofMatchMaker.cxx:810:37:
.sl79_gcc11/OBJ/StRoot/StETofMatchMaker/StETofMatchMaker.h:81:12: warning: 'detectorHit.StETofMatchMaker::StructETofHit::strip' may be used uninitialized [-Wmaybe-uninitialized]
   81 |     struct StructETofHit{
      |            ^~~~~~~~~~~~~
.sl79_gcc11/OBJ/StRoot/StETofMatchMaker/StETofMatchMaker.cxx: In member function 'void StETofMatchMaker::readETofDetectorHits(StETofMatchMaker::eTofHitVec&)':
.sl79_gcc11/OBJ/StRoot/StETofMatchMaker/StETofMatchMaker.cxx:791:27: note: 'detectorHit' declared here
  791 |             StructETofHit detectorHit;
      |                           ^~~~~~~~~~~

```
In file included from .sl79_gcc11/OBJ/StRoot/StETofMatchMaker/StETofMatchMaker.cxx:90:
In copy constructor 'constexpr StETofMatchMaker::StructETofHit::StructETofHit(const StETofMatchMaker::StructETofHit&)',
    inlined from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = StETofMatchMaker::StructETofHit; _Args = {const StETofMatchMaker::StructETofHit&}; _Tp = StETofMatchMaker::StructETofHit]' at /opt/rh/devtoolset-11/root/usr/include/c++/11/ext/new_allocator.h:162:4,
    inlined from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = StETofMatchMaker::StructETofHit; _Args = {const StETofMatchMaker::StructETofHit&}; _Tp = StETofMatchMaker::StructETofHit]' at /opt/rh/devtoolset-11/root/usr/include/c++/11/bits/alloc_traits.h:516:17,
    inlined from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = StETofMatchMaker::StructETofHit; _Alloc = std::allocator<StETofMatchMaker::StructETofHit>]' at /opt/rh/devtoolset-11/root/usr/include/c++/11/bits/stl_vector.h:1192:30,
    inlined from 'void StETofMatchMaker::readETofDetectorHits(StETofMatchMaker::eTofHitVec&)' at .sl79_gcc11/OBJ/StRoot/StETofMatchMaker/StETofMatchMaker.cxx:810:37:
.sl79_gcc11/OBJ/StRoot/StETofMatchMaker/StETofMatchMaker.h:81:12: warning: 'detectorHit.StETofMatchMaker::StructETofHit::strip' may be used uninitialized [-Wmaybe-uninitialized]
   81 |     struct StructETofHit{
      |            ^~~~~~~~~~~~~
.sl79_gcc11/OBJ/StRoot/StETofMatchMaker/StETofMatchMaker.cxx: In member function 'void StETofMatchMaker::readETofDetectorHits(StETofMatchMaker::eTofHitVec&)':
.sl79_gcc11/OBJ/StRoot/StETofMatchMaker/StETofMatchMaker.cxx:791:27: note: 'detectorHit' declared here
  791 |             StructETofHit detectorHit;
      |                           ^~~~~~~~~~~
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant