bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue with 'src/variable.c'


From: Gisle Vanem
Subject: Issue with 'src/variable.c'
Date: Wed, 7 Feb 2024 13:35:05 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

Since the commit:
  
https://git.savannah.gnu.org/cgit/make.git/commit/src/variable.c?id=ec348f51d0240ebc64d11c77c461e89c4a8dfed7

src/variable.c doesn't compile:
  variable.c(1642): error C2065: 'specificity': undeclared identifier
  variable.c(1658): error C2065: 'specificity': undeclared identifier

Should it be:

--- a/variable.c 2024-02-07 13:09:06
+++ b/variable.c 2024-02-07 13:30:05
@@ -1638,7 +1638,7 @@
         {
           v = define_variable_in_set (varname, strlen (varname), default_shell,
                                       origin, flavor == f_recursive,
-                                      (specificity
+                                      (scope == s_global
                                        ? current_variable_set_list->set
                                        : NULL),
                                       flocp);
@@ -1654,7 +1654,7 @@
             {
               v = define_variable_in_set (varname, strlen (varname), newval,
                                           origin, flavor == f_recursive,
-                                          (specificity
+                                          (scope == s_global
                                            ? current_variable_set_list->set
                                            : NULL),
                                           flocp);

--
--gv


reply via email to

[Prev in Thread] Current Thread [Next in Thread]