This include file will be empty after that anyway.
#endif
#ifdef __cplusplus
-#include <map>
-#include <simgrid/simix.h>
namespace simgrid {
namespace msg {
class Comm;
#define SIMGRID_SIMIX_H
#include <simgrid/forward.h>
-#include <xbt/dynar.h>
-#include <xbt/ex.h>
#include <xbt/parmap.h>
-#ifdef __cplusplus
-#include <functional>
-#include <string>
-#include <unordered_map>
-#include <vector>
+
+#ifndef SIMIX_H_NO_DEPRECATED_WARNING
+#warning simgrid/simix.h is deprecated and will be removed in v3.35.
#endif
/******************************* Networking ***********************************/
#define SIMGRID_SIMIX_HPP
#include <simgrid/s4u/Actor.hpp>
-#include <simgrid/simix.h>
#include <xbt/promise.hpp>
#include <xbt/signal.hpp>
#include "src/instr/instr_smpi.hpp"
#include "src/smpi/include/private.hpp"
#include "src/surf/surf_interface.hpp"
+#include "xbt/ex.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_paje_events, instr, "Paje tracing event system (events)");
#include <simgrid/s4u/Host.hpp>
#include <simgrid/sg_config.hpp>
+#define SIMIX_H_NO_DEPRECATED_WARNING // avoid deprecation warning on include (remove with XBT_ATTRIB_DEPRECATED_v332)
+#include <simgrid/simix.h>
+
#include "mc/mc.h"
#include "src/kernel/EngineImpl.hpp"
#include "src/kernel/resource/StandardLinkImpl.hpp"
#include <simgrid/modelchecker.h>
#include <simgrid/s4u/Host.hpp>
+#define SIMIX_H_NO_DEPRECATED_WARNING // avoid deprecation warning on include (remove with XBT_ATTRIB_DEPRECATED_v333)
+#include <simgrid/simix.h>
+
#include "src/kernel/activity/CommImpl.hpp"
#include "src/kernel/activity/MailboxImpl.hpp"
#include "src/kernel/actor/SimcallObserver.hpp"
#include <simgrid/s4u/Actor.hpp>
#include <simgrid/s4u/Host.hpp>
+#define SIMIX_H_NO_DEPRECATED_WARNING // avoid deprecation warning on include (remove with XBT_ATTRIB_DEPRECATED_v333)
+#include <simgrid/simix.h>
+
#include "src/kernel/EngineImpl.hpp"
#if HAVE_SMPI
#include "src/smpi/include/private.hpp"
#include <simgrid/modelchecker.h>
#include <simgrid/s4u/Engine.hpp>
+#define SIMIX_H_NO_DEPRECATED_WARNING // avoid deprecation warning on include (remove with XBT_ATTRIB_DEPRECATED_v333)
+#include <simgrid/simix.h>
+
#include "mc/mc.h"
#include "src/instr/instr_private.hpp"
#include "src/kernel/EngineImpl.hpp"
#include "src/kernel/actor/SimcallObserver.hpp"
#include <simgrid/s4u/Activity.hpp>
+#define SIMIX_H_NO_DEPRECATED_WARNING // avoid deprecation warning on include (remove with XBT_ATTRIB_DEPRECATED_v335)
+#include <simgrid/simix.h>
+
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix);
/**
#include "src/kernel/context/Context.hpp"
+#define SIMIX_H_NO_DEPRECATED_WARNING // avoid deprecation warning on include (remove with XBT_ATTRIB_DEPRECATED_v333)
+#include <simgrid/simix.h>
+
int SIMIX_context_is_parallel() // XBT_ATTRIB_DEPRECATED_v333
{
return simgrid::kernel::context::is_parallel();
#include "mc/mc.h"
#include "private.hpp"
#include "smpi_coll.hpp"
+#include "xbt/ex.h"
#include "xbt/parse_units.hpp"
#include <cfloat> /* DBL_MAX */
#include <sys/mman.h>
#include <unistd.h>
-#include "src/internal_config.h"
-#include "src/xbt/memory_map.hpp"
-
#include "private.hpp"
+#include "src/internal_config.h"
#include "src/smpi/include/smpi_actor.hpp"
+#include "src/xbt/memory_map.hpp"
+#include "xbt/virtu.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_memory, smpi, "Memory layout support for SMPI");
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "simgrid/engine.h"
-#include "simgrid/simix.h" // we don't need it, but someone must check that this file is actually usable in plain C
#include <xbt.h>
+#define SIMIX_H_NO_DEPRECATED_WARNING // avoid deprecation warning on include (remove with XBT_ATTRIB_DEPRECATED_v335)
+#include "simgrid/simix.h" // we don't need it, but someone must check that this file is actually usable in plain C
+
XBT_LOG_NEW_DEFAULT_CATEGORY(test, "Logging specific to this test");
int main(int argc, char** argv)