ATLAS Offline Software
ubsan_boost_suppress.cxx
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration.
3  */
4 
5 // $Id$
15 #include "boost/format.hpp"
16 
17 
18 namespace Athena {
19 
20 
22 {
23  // See <https://svn.boost.org/trac/boost/ticket/11632>
24  CxxUtils::ubsan_suppress ([]() { boost::format("%1%") % "asd"; });
25  return 0;
26 }
27 
28 
30 
31 
32 } // namespace Athena
Athena::ubsan_boost_suppress
int ubsan_boost_suppress()
Definition: ubsan_boost_suppress.cxx:21
ubsan_suppress.h
Helper for suppressing ubsan warnings.
vtune_athena.format
format
Definition: vtune_athena.py:14
Athena::ubsan_boost_suppress_
int ubsan_boost_suppress_
Definition: ubsan_boost_suppress.cxx:29
Athena
Some weak symbol referencing magic...
Definition: AthLegacySequence.h:21
CxxUtils::ubsan_suppress
void ubsan_suppress(void(*func)())
Helper for suppressing ubsan warnings.
Definition: ubsan_suppress.cxx:69