Logo AND Algorithmique Numérique Distribuée

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