X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6325e7c528bcaff5a625184cf6a888f8151e494a..de3873f6bb7a9aff6d85dbbe999b93f58b48cd7b:/src/surf/xml/platf.hpp diff --git a/src/surf/xml/platf.hpp b/src/surf/xml/platf.hpp index e7343a0341..1a7dc48e03 100644 --- a/src/surf/xml/platf.hpp +++ b/src/surf/xml/platf.hpp @@ -18,8 +18,8 @@ XBT_PUBLIC(void) sg_platf_exit(); XBT_PUBLIC(void) surf_parse_open(const char *file); XBT_PUBLIC(void) surf_parse_close(); -XBT_PUBLIC(void) surf_parse_assert(bool cond, const char *fmt, ...) XBT_ATTRIB_PRINTF(2,3); -XBT_PUBLIC(void) XBT_ATTRIB_NORETURN surf_parse_error(const char *msg,...) XBT_ATTRIB_PRINTF(1,2); +XBT_PUBLIC(void) surf_parse_assert(bool cond, std::string msg); +XBT_PUBLIC(void) XBT_ATTRIB_NORETURN surf_parse_error(std::string msg); XBT_PUBLIC(void) surf_parse_assert_netpoint(char* hostname, const char* pre, const char* post); XBT_PUBLIC(void) surf_parse_warn(const char *msg,...) XBT_ATTRIB_PRINTF(1,2);