From 7d2e5a5506d92947deddcb24d8afb2d468fd1b3a Mon Sep 17 00:00:00 2001
From: scott snyder <snyder@bnl.gov>
Date: Fri, 21 Apr 2017 05:41:57 +0200
Subject: [PATCH] CxxUtils: Suppress more undefined behavior warnings.

The ID code in various places contains undefined casts between raw data
containers of PixelCluster+SCT_Cluster to SiCluster (through making
explicit symlinks in SG between them).  There are enough that it's
easiest to just suppress all such warnings involbing PrepRawDataCollection.
---
 Control/CxxUtils/share/ubsan.supp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Control/CxxUtils/share/ubsan.supp b/Control/CxxUtils/share/ubsan.supp
index 7055632d9a6..6f9cbf9f552 100644
--- a/Control/CxxUtils/share/ubsan.supp
+++ b/Control/CxxUtils/share/ubsan.supp
@@ -2,3 +2,6 @@ vptr_check:sp_counted
 vptr_check:severity_level
 vptr_check:custom_scheduler
 
+# Implicit casts from hard symlinking.
+# PixelCluster, SCT_Cluster -> SiCluster
+vptr_check:PrepRawDataCollection
-- 
GitLab