Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use pointers instead references.
[simgrid.git] / src / cxx / Exception.hpp
index c520ae6..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
@@ -61,3 +65,4 @@ namespace SimGrid
 \r
 \r
 #endif // !MSG_EXCEPTION_HPP\r
+\r