Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use pointers instead references.
[simgrid.git] / src / cxx / Exception.hpp
index ad22e99..1b1a8ee 100644 (file)
 #ifndef MSG_EXCEPTION_HPP\r
 #define MSG_EXCEPTION_HPP\r
 \r
+#ifndef __cplusplus\r
+       #error Exception.hpp requires C++ compilation (use a .cxx suffix)\r
+#endif\r
+\r
+#include <Config.hpp>\r
+\r
 namespace SimGrid\r
 {\r
        namespace Msg\r
        {\r
                \r
-               class Exception\r
+               class SIMGRIDX_EXPORT Exception\r
                {\r
                        public:\r
                        \r
@@ -59,3 +65,4 @@ namespace SimGrid
 \r
 \r
 #endif // !MSG_EXCEPTION_HPP\r
+\r