A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use pointers instead references.
[simgrid.git]
/
src
/
cxx
/
ClassNotFoundException.hpp
diff --git
a/src/cxx/ClassNotFoundException.hpp
b/src/cxx/ClassNotFoundException.hpp
index
84b4317
..
bc90970
100644
(file)
--- a/
src/cxx/ClassNotFoundException.hpp
+++ b/
src/cxx/ClassNotFoundException.hpp
@@
-13,6
+13,10
@@
#ifndef MSG_CLASSNOTFOUNDEXCEPTION_HPP
\r
#define MSG_CLASSNOTFOUNDEXCEPTION_HPP
\r
\r
#ifndef MSG_CLASSNOTFOUNDEXCEPTION_HPP
\r
#define MSG_CLASSNOTFOUNDEXCEPTION_HPP
\r
\r
+#ifndef __cplusplus
\r
+ #error ClassNotFoundException.hpp requires C++ compilation (use a .cxx suffix)
\r
+#endif
\r
+
\r
#include <Exception.hpp>
\r
\r
namespace SimGrid
\r
#include <Exception.hpp>
\r
\r
namespace SimGrid
\r
@@
-62,3
+66,4
@@
namespace SimGrid
\r
\r
#endif // !MSG_CLASSNOTFOUNDEXCEPTION_HPP
\r
\r
\r
#endif // !MSG_CLASSNOTFOUNDEXCEPTION_HPP
\r
+
\r