Fix some gcc8 warnings
Compare changes
Files
3@@ -27,7 +27,7 @@ int main( int argc, char** argv )
Fix some gcc8 warnings:
GaudiHive:
GaudiProfiling:
sprintf
with the same source and destination buffersstrncpy
with memcpy
sa_sigaction
instead of sa_handler
for the signal handler to avoid
function pointer type mismatchFor the changes in GaudiProfiling it would be good if someone who actually uses this code cross-checks my changes (cc @rmatev). The amount of low-level string manipulations in that code is a bit scary.