diff host/libcdl/config.cxx @ 1173:ad47cd19998d

Do not insist on package versions in a savefile.
author bartv
date Tue, 19 Aug 2003 22:34:40 +0000
parents 67a8feb8144a
children 33cc410733a0
line wrap: on
line diff
--- a/host/libcdl/config.cxx
+++ b/host/libcdl/config.cxx
@@ -1790,8 +1790,7 @@ CdlConfigurationBody::savefile_package_c
     int data_index = CdlParse::parse_options(interp, "cdl_configuration/package command", optlist, argc, argv, 1, options);
 
     if (data_index == (argc - 1)) {
-        CdlParse::report_warning(interp, "", std::string("Missing version information for package `")
-                                 + argv[argc - 1] + "'.");
+        // If no version is specified, silently default to the most recent.
         pkgname = argv[argc - 1];
         pkgversion = "";
     } else if (data_index == (argc - 2)) {