This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Logger.h" | |
namespace MyProject { | |
// Suppress a warning of "warning: missing initializer..." | |
// http://stackoverflow.com/questions/27354654/how-to-suppress-warning-missing-initializer-caused-by-boost-log-and-gcc-4-4 | |
#pragma GCC diagnostic ignored "-Wmissing-field-initializers" // Disable | |
BOOST_LOG_ATTRIBUTE_KEYWORD(severity, "Severity", Logger::ESeverityLevel) | |
#pragma GCC diagnostic warning "-Wmissing-field-initializers" // Re-enable |
NewerOlder