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

Geant4Output2EDM4hep: fix "non-trivial type in variadic function #1063

Merged
merged 1 commit into from Feb 24, 2023

Conversation

andresailer
Copy link
Member

@andresailer andresailer commented Feb 24, 2023

/build/jenkins/workspace/lcg_nightly_pipeline/build/frameworks/DD4hep-01.25/src/DD4hep/01.25/DDG4/edm4hep/Geant4Output2EDM4hep.cpp:100:80: error: cannot pass object of non-trivial type 'const std::basic_string<char>' through variadic function; call will abort at runtime [-Wnon-pod-varargs]
        printout(DEBUG, "Geant4OutputEDM4hep", "Saving event parameter: %s", p.first);
                                                                               ^
/build/jenkins/workspace/lcg_nightly_pipeline/build/frameworks/DD4hep-01.25/src/DD4hep/01.25/DDG4/edm4hep/Geant4Output2EDM4hep.cpp:104:80: error: cannot pass object of non-trivial type 'const std::basic_string<char>' through variadic function; call will abort at runtime [-Wnon-pod-varargs]
        printout(DEBUG, "Geant4OutputEDM4hep", "Saving event parameter: %s", p.first);
                                                                               ^
/build/jenkins/workspace/lcg_nightly_pipeline/build/frameworks/DD4hep-01.25/src/DD4hep/01.25/DDG4/edm4hep/Geant4Output2EDM4hep.cpp:108:80: error: cannot pass object of non-trivial type 'const std::basic_string<char>' through variadic function; call will abort at runtime [-Wnon-pod-varargs]
        printout(DEBUG, "Geant4OutputEDM4hep", "Saving event parameter: %s", p.first);

BEGINRELEASENOTES

  • DDG4: fix -Wnon-pod-varargs in Geant4Output2EDM4hep, which fails on clang

ENDRELEASENOTES

/build/jenkins/workspace/lcg_nightly_pipeline/build/frameworks/DD4hep-01.25/src/DD4hep/01.25/DDG4/edm4hep/Geant4Output2EDM4hep.cpp:100:80: error: cannot pass object of non-trivial type 'const std::basic_string<char>' through variadic function; call will abort at runtime [-Wnon-pod-varargs]
        printout(DEBUG, "Geant4OutputEDM4hep", "Saving event parameter: %s", p.first);
                                                                               ^
/build/jenkins/workspace/lcg_nightly_pipeline/build/frameworks/DD4hep-01.25/src/DD4hep/01.25/DDG4/edm4hep/Geant4Output2EDM4hep.cpp:104:80: error: cannot pass object of non-trivial type 'const std::basic_string<char>' through variadic function; call will abort at runtime [-Wnon-pod-varargs]
        printout(DEBUG, "Geant4OutputEDM4hep", "Saving event parameter: %s", p.first);
                                                                               ^
/build/jenkins/workspace/lcg_nightly_pipeline/build/frameworks/DD4hep-01.25/src/DD4hep/01.25/DDG4/edm4hep/Geant4Output2EDM4hep.cpp:108:80: error: cannot pass object of non-trivial type 'const std::basic_string<char>' through variadic function; call will abort at runtime [-Wnon-pod-varargs]
        printout(DEBUG, "Geant4OutputEDM4hep", "Saving event parameter: %s", p.first);
@andresailer andresailer enabled auto-merge (rebase) February 24, 2023 07:21
@andresailer andresailer merged commit 9357670 into master Feb 24, 2023
@andresailer andresailer deleted the andresailer-patch-2 branch March 1, 2023 09:03
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.

None yet

1 participant