-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b17
The macro equals in MakeBase.gmk does not handle empty strings correctly. Comparing two empty strings returns as non-equal, even though they should be equal.
This had the result that DependOnVariable caused eternal redoing of a target if the variable in question happened to be empty, since when the new empty value was compared to the old empty value, it was deemed different, and thus a remake of the target was initiated.
The solution was tricky, even by Make syntax standards. I guarantee you, every single space in this construct must be the way it is. :-&
This had the result that DependOnVariable caused eternal redoing of a target if the variable in question happened to be empty, since when the new empty value was compared to the old empty value, it was deemed different, and thus a remake of the target was initiated.
The solution was tricky, even by Make syntax standards. I guarantee you, every single space in this construct must be the way it is. :-&