- C compiler, C++ compiler, make and friends. SimGrid is rather
demanding on the compiler. We use the C++11 standard, and older
compilers tend to fail on us. It seems that g++ 5.0 or higher is
- required nowadays.
+ required nowadays (because of boost).
- perl (but you may try to go without it)
- We use cmake to configure our compilation
([download page](http://www.cmake.org/cmake/resources/software.html)).
*/
/* XBT_LOG_MAYDAY: define this to replace the logging facilities with basic
- printf function. Useful to debug the logging facilities themselves */
-#undef XBT_LOG_MAYDAY
+ printf function. Useful to debug the logging facilities themselves, or to not make source analysis tools mad */
//#define XBT_LOG_MAYDAY
#ifndef _XBT_LOG_H_
sonar.cpp.std=gnu++11
sonar.c.std=gnu11
+# Disable the whole logging mechanism during SonarQube analysis
+sonar.cfamily.predefinedMacros=XBT_LOG_MAYDAY
+
# Talk to me (travis don't like it, it's too much)
# sonar.verbose=true
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
+#include <cerrno>
+#include <cstring>
+
#include <utility>
#include <string>
#include <xbt/config.hpp>
+#include <xbt/log.h>
#include <xbt/range.hpp>
+#include <xbt/sysdep.h>
#include "src/internal_config.h"
#include "xbt/log.h"