#ifndef MSG_FILENOTFOUND_HPP\r
#define MSG_FILENOTFOUND_HPP\r
\r
-#include <Exception.hp>\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
{\r
namespace Msg\r
{\r
\r
- class FileNotFoundException : public Exception\r
+ class SIMGRIDX_EXPORT FileNotFoundException : public Exception\r
{\r
public:\r
\r
\r
\r
#endif // !MSG_MSGEXCEPTION_HPP\r
+\r