You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Three sources give warnings when compiled with gcc 8.3 and std=c++17:
src/simulator.cpp:769:90: warning: narrowing conversion of 'row' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
StTpcLocalSectorCoordinate xyzW{at_readout.x, at_readout.y, at_readout.z, sector, row};
test/test_tpcrs.cpp:45:84: warning: no return statement in function returning non-void [-Wreturn-type]
Diff& operator +=(const Diff& b) { total += b.total; unmatched += b.unmatched; }
include/tpcrs/detail/digitizer.h:145:1: warning: no return statement in function returning non-void [-Wreturn-type]
The text was updated successfully, but these errors were encountered:
Three sources give warnings when compiled with gcc 8.3 and std=c++17:
src/simulator.cpp:769:90: warning: narrowing conversion of 'row' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
StTpcLocalSectorCoordinate xyzW{at_readout.x, at_readout.y, at_readout.z, sector, row};
test/test_tpcrs.cpp:45:84: warning: no return statement in function returning non-void [-Wreturn-type]
Diff& operator +=(const Diff& b) { total += b.total; unmatched += b.unmatched; }
include/tpcrs/detail/digitizer.h:145:1: warning: no return statement in function returning non-void [-Wreturn-type]
The text was updated successfully, but these errors were encountered: