Skip to content

Commit

Permalink
Change to #pragma message
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Aug 10, 2024
1 parent 18c4d00 commit 2951dfb
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -342,10 +342,8 @@ std::unique_ptr<lcio::LCCollectionVec> convertTPCHits(const edm4hep::RawTimeSeri
if (edm_tpchit.isAvailable()) {
auto* lcio_tpchit = new lcio::TPCHitImpl();

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpedantic"
#warning "unsigned long long conversion to int"
#pragma GCC diagnostic pop
#pragma message "unsigned long long conversion to int"

lcio_tpchit->setCellID(edm_tpchit.getCellID());
lcio_tpchit->setTime(edm_tpchit.getTime());
lcio_tpchit->setCharge(edm_tpchit.getCharge());
Expand Down

0 comments on commit 2951dfb

Please sign in to comment.