Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review and remove obsolete code #3

Open
knoepfel opened this issue Oct 28, 2021 · 2 comments
Open

Review and remove obsolete code #3

knoepfel opened this issue Oct 28, 2021 · 2 comments
Labels
maintenance Maintenance issue to address

Comments

@knoepfel
Copy link
Contributor

knoepfel commented Oct 28, 2021

This issue has been migrated from https://cdcvs.fnal.gov/redmine/issues/6336 (FNAL account required)
Originally created by @drbenmorgan on 2014-05-23 12:16:27


Several areas of messagefacility appear to be no longer used, or to use obsolete APIs of fhicl-cpp.

  • messagefacility/MessageLogger/LoggedErrorsSummary.h: Has incorrect header guards
  • messagefacility/MessageService/ELtsErrorLog.icc: void ELtsItem tries to access private/protected data
  • messagefacility/MessageService/MessageLoggerScribe.h: Extensive use of old APIs of fhiclcpp::ParameterSet, e.g. getParameter

Most problems are in template code so are never compiled directly, but nevertheless are still potentially available.


Subtasks:

@knoepfel knoepfel added the bug Something isn't working label Oct 28, 2021
@knoepfel
Copy link
Contributor Author

Comment by @chissg on 2014-05-27 17:28:59


We stipulate that there is a large amount of obsolete code in messagefacility: the list of such code was made last year. We are waiting for priority and effort assignment in order to do the full clean-up. We will bring this up again within our department to see if we can get effort assigned.

@knoepfel
Copy link
Contributor Author

Comment by @drbenmorgan on 2014-09-09 12:28:18


In getting things working on Mac+Clang, I've created patches for the above reported issues. I've attached these as individual patches for each issue as they are atomic, but I can squash if you prefer. They can also be reviewed on "GitHub":https://github.com/LBNE/fnal-messagefacility/tree/clang-fixes

@knoepfel knoepfel added this to Issues Oct 29, 2021
@knoepfel knoepfel added maintenance Maintenance issue to address and removed bug Something isn't working labels Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Maintenance issue to address
Projects
Status: No status
Development

No branches or pull requests

1 participant