Merged requested to merge ChargedANNPID-GCC7WarnSupp-yPIDCleanUp into master
- Suppresses a warning with gcc7
/usera/jonesc/LHCbCMake/Master/Rec/Rec/ChargedProtoANNPID/src/ChargedProtoANNPIDCommonBase.icpp:457:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] while ( std::getline(cuts,cut) )
Looks like a gcc7 bug fixed in a later gcc release than 7.1 (likely 7.3).
This bug more directly relates to the case here, but is marked as a duplicate of the one above.
Workaround is to turn off the warning with
- Merge the yPID libs into one. No need for 3...