Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix mingw warning.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 9 Mar 2022 10:38:38 +0000 (11:38 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 9 Mar 2022 10:38:38 +0000 (11:38 +0100)
redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]

include/simgrid/s4u/Actor.hpp

index 5e4c68b..afa8941 100644 (file)
@@ -188,8 +188,8 @@ class XBT_PUBLIC Actor : public xbt::Extendable<Actor> {
   friend Mailbox;
   friend kernel::actor::ActorImpl;
   friend kernel::activity::MailboxImpl;
-  friend void this_actor::sleep_for(double);
-  friend void this_actor::suspend();
+  friend XBT_PUBLIC void this_actor::sleep_for(double);
+  friend XBT_PUBLIC void this_actor::suspend();
 
   kernel::actor::ActorImpl* const pimpl_;
 #endif