Commits

Anonymous committed 519ca53

fix for more recent boost

Comments (0)

Files changed (2)

 	  in production. For now, this new code is disabled in use (modify
 	  PyComps to enable, or run share/tests/AMP_basictests.py).
 
+          Fix: use full include for more recent boost (message_queue has become
+          a template ... )
+
 2011-12-19  Vakho Tsulaia  <tsulaia@cern.ch>
 
 	* Add merger for RDOs

src/_athenamp/AthenaMP/SharedQueue.h

 #ifndef ATHENAMP_SHAREDQUEUE_H
 #define ATHENAMP_SHAREDQUEUE_H
 
+// full include needed, as message_queue has changed into a
+// template for more recent versions of boost
+#include <boost/interprocess/ipc/message_queue.hpp>
+
 #include <string>
 
 
-namespace boost {
-   namespace interprocess {
-      class message_queue;
-   }
-}
-
-
 namespace AthenaMP {
 
 static const int SHAREDQUEUE_MAX_MSG = 100;