Skip to content
Snippets Groups Projects

Avoid mixed use of inline const string and static string as with clang10 results in null value

All threads resolved!

For whatever reason (compiler bug?) clang10 does not like

inline const std::string Default = LHCb::Det::VP::det_path;

where LHCb::Det::VP::det_path is a static string, as this results in a NULL value.

https://lhcb-nightlies.web.cern.ch/logs/tests/nightly/lhcb-gaudi-head/2662/x86_64-centos7-clang10-opt/Boole/

This MR converts the statics to inlines to avoid this.

Edited by Christopher Rob Jones

Merge request reports

Pipeline #1790961 passed

Pipeline passed for c8d0c4f2 on jonrob:DeVP-AvoidInlineConstStringForClang10

Approval is optional
Ready to merge by members who can write to the target branch.

Merge details

  • 2 commits and 1 merge commit will be added to run2-patches.
  • Source branch will be deleted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading