Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use pointers instead references.
[simgrid.git] / src / cxx / FileNotFoundException.hpp
index 639accd..a7ddfbc 100644 (file)
 #ifndef MSG_FILENOTFOUND_HPP\r
 #define MSG_FILENOTFOUND_HPP\r
 \r
+#ifndef __cplusplus\r
+       #error FileNotFoundException.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_MSGEXCEPTION_HPP\r
+\r