X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2abf25f94d9a3fd19a5d85637d6758932be8b047..846b7de4a868bf8dc1270f76a01c33738576694d:/src/cxx/ClassNotFoundException.hpp diff --git a/src/cxx/ClassNotFoundException.hpp b/src/cxx/ClassNotFoundException.hpp index 84b4317b09..bc909701f9 100644 --- a/src/cxx/ClassNotFoundException.hpp +++ b/src/cxx/ClassNotFoundException.hpp @@ -13,6 +13,10 @@ #ifndef MSG_CLASSNOTFOUNDEXCEPTION_HPP #define MSG_CLASSNOTFOUNDEXCEPTION_HPP +#ifndef __cplusplus + #error ClassNotFoundException.hpp requires C++ compilation (use a .cxx suffix) +#endif + #include namespace SimGrid @@ -62,3 +66,4 @@ namespace SimGrid #endif // !MSG_CLASSNOTFOUNDEXCEPTION_HPP +