Warnings in EVIO Writer

5 views
Skip to first unread message

Albert Fabrizi

unread,
Feb 4, 2025, 2:12:08 PMFeb 4
to GlueX Software Help
Hello experts,
I am using the evio writer plugin and when I use the include statement:

#include "evio_writer/DEventWriterEVIO.h"

in my personal plugin, I get this very long list of warnings but the basic warning being thrown is this:

/group/halld/Software/builds/Linux_Alma9-x86_64-gcc11.5.0/evio/evio-4.4.6/Linux-x86_64/include/evioTypedefs.hxx:51:9: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   51 | typedef auto_ptr<evioDOMNodeList> evioDOMNodeListP;  /**<auto-ptr of list of evioDOMNode pointers, returned by getNodeList.*/
      |         ^~~~~~~~
In file included from /usr/include/c++/11/bits/locale_conv.h:41,
                 from /usr/include/c++/11/locale:43,
                 from /usr/include/c++/11/iomanip:43,
                 from /u/group/halld/Software/builds/Linux_Alma9-x86_64-gcc11.5.0/jana/jana_0.8.2^ccdb2005/Linux_Alma9-x86_64-gcc11.5.0/include/JANA/JParameterManager.h:12,
                 from /u/group/halld/Software/builds/Linux_Alma9-x86_64-gcc11.5.0/jana/jana_0.8.2^ccdb2005/Linux_Alma9-x86_64-gcc11.5.0/include/JANA/JEventProcessor.h:16,
                 from JEventProcessor_cpp_pippim.h:11,
                 from JEventProcessor_cpp_pippim.cc:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /group/halld/Software/builds/Linux_Alma9-x86_64-gcc11.5.0/evio/evio-4.4.6/Linux-x86_64/include/evioUtil.hxx:67,
                 from /work/halld/home/alfab/halld_recons/dec424_halld_recon/halld_recon/Linux_Alma9-x86_64-gcc11.5.0/include/DAQ/JEventSource_EVIO.h:35,
                 from /work/halld/home/alfab/halld_recons/dec424_halld_recon/halld_recon/Linux_Alma9-x86_64-gcc11.5.0/include/evio_writer/DEventWriterEVIO.h:13,
                 from JEventProcessor_cpp_pippim.h:13,
                 from JEventProcessor_cpp_pippim.cc:8:
/group/halld/Software/builds/Linux_Alma9-x86_64-gcc11.5.0/evio/evio-4.4.6/Linux-x86_64/include/evioDictionary.hxx:70:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
   70 |   tagNum getTagNum(const string &name) const throw(evioException);
      |                                              ^~~~~
/group/halld/Software/builds/Linux_Alma9-x86_64-gcc11.5.0/evio/evio-4.4.6/Linux-x86_64/include/evioDictionary.hxx:71:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
   71 |   string getName(tagNum tn) const throw(evioException);
      |                                   ^~~~~
/group/halld/Software/builds/Linux_Alma9-x86_64-gcc11.5.0/evio/evio-4.4.6/Linux-x86_64/include/evioDictionary.hxx:75:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
   75 |   string toString(void) const throw(evioException);


I haven't had any issues using the evio writer but I wanted to bring this to everyone's attention.

I copied the full warning output and put it in a text file here:

eviowriter_deprecated.txt

Sean Dobbs

unread,
Feb 4, 2025, 2:32:36 PMFeb 4
to Albert Fabrizi, GlueX Software Help
Hi Albert,

Thanks for the feedback. We do have a lot of warnings with the latest
compilers that should be addressed at some point.

Note that all of these warnings come from the EVIO package, which is
authored by people outside of GlueX (the JLab DAQ group). Maybe we
should talk to them about getting a new version at some point.

Cheers,
Sean
> --
> You received this message because you are subscribed to the Google Groups "GlueX Software Help" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to gluex-softwar...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/gluex-software/78a3fea5-8143-43b4-9989-16ff85a1c597n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages