JeffersonLab / JANA2

Multi-threaded HENP Event Reconstruction
https://jeffersonlab.github.io/JANA2/
Other
6 stars 9 forks source link

fix: warn when existing plugin fails to load #246

Closed wdconinc closed 11 months ago

wdconinc commented 11 months ago

Spent some time banging my head against the wall today, until I realized that JANA2 was silently falling through to other paths in the JANA_PLUGIN_PATH. In my particular case, modifications to a plugin had introduced an undefined symbol, an error that resulted in a plugin with the same name in another directory in JANA_PLUGIN_PATH to be loaded. This now at least emits a warning, but otherwise doesn't change behavior.