Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Deprecate an obscure part of the XML format
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 4 Oct 2017 19:02:39 +0000 (21:02 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 4 Oct 2017 19:23:48 +0000 (21:23 +0200)
src/surf/xml/surfxml_sax_cb.cpp

index a123599..46fe64b 100644 (file)
@@ -391,6 +391,7 @@ static std::vector<char*> surf_parsed_filename_stack;
 
 void STag_surfxml_include()
 {
 
 void STag_surfxml_include()
 {
+  XBT_ERROR("<include> tag is deprecated, and will be removed in SimGrid v3.19. Please stop using it now (or tell us why you need it).");
   parse_after_config();
   XBT_DEBUG("STag_surfxml_include '%s'",A_surfxml_include_file);
   surf_parsed_filename_stack.push_back(surf_parsed_filename); // save old file name
   parse_after_config();
   XBT_DEBUG("STag_surfxml_include '%s'",A_surfxml_include_file);
   surf_parsed_filename_stack.push_back(surf_parsed_filename); // save old file name