remove boost and tutorial7 -Wshadow warnings and install null deleter file in FairRoot installation

This commit is contained in:
winckler
2015-09-22 10:09:52 +02:00
committed by Mohammad Al-Turany
parent ca7a76110d
commit a0388c084e
6 changed files with 71 additions and 21 deletions

View File

@@ -6,8 +6,21 @@
* copied verbatim in the file "LICENSE" *
********************************************************************************/
#include "logger.h"
// WARNING : pragma commands to hide boost warning
// TODO : remove these pragma commands when boost will fix this issue in future release
#if defined(__clang__)
_Pragma("clang diagnostic push")
_Pragma("clang diagnostic ignored \"-Wshadow\"")
#include "logger.h"
_Pragma("clang diagnostic pop")
#elif defined(__GNUC__) || defined(__GNUG__)
_Pragma("GCC diagnostic push")
_Pragma("GCC diagnostic ignored \"-Wshadow\"")
#include "logger.h"
_Pragma("GCC diagnostic pop")
#endif
void test_logger()
{
LOG(TRACE) << "this is a trace message";