Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use pointers instead references.
[simgrid.git] / src / cxx / LogicException.hpp
index a39d7b9..a357439 100644 (file)
 #ifndef MSG_LOGICEXCEPTION_HPP\r
 #define MSG_LOGICEXCEPTION_HPP\r
 \r
+#ifndef __cplusplus\r
+       #error LogicException.hpp requires C++ compilation (use a .cxx suffix)\r
+#endif\r
+\r
 #include <Exception.hpp>\r
 \r
 namespace SimGrid\r
@@ -62,3 +66,5 @@ namespace SimGrid
 \r
 \r
 #endif // !MSG_INVALIDARGUMENTEXCEPTION_HPP\r
+\r
+\r