On Mon, Nov 24, 2014 at 3:10 PM, Rolf Eike Beer <e...@sf-mail.de> wrote:
> David Cole wrote:
>> Eike,
>>
>> The changes you made in this commit:
>>
>> http://www.cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ec36e1c2afe7c8258588d
>> d51a9fe75b7fb523206
>>
>> appear to have introduced a change in behavior such that the test is
>> running recursive dependency checks instead of just direct dependency
>> checks.
>>
>> Evidence:
>> 11/18: test passed in under 3 seconds:
>> http://open.cdash.org/testDetails.php?test=294732956&build=3575799
>> updates: http://open.cdash.org/viewUpdate.php?buildid=3577230
>> 11/19: test fails, times out after 10 minutes:
>> http://open.cdash.org/testDetails.php?test=294964093&build=3577230
>>
>> I think the root of the problem is the tests for ARGV1, ARGV2, etc.
>> that you made are not equivalent to the previous code in the case of a
>> nested function call: (a function calling a function ... or deeper --
>> weird stuff happens if you call a function with fewer than its
>> declared arguments -- i.e. there is no ARGV2 variable within a
>> function called with only one argument, but there may be in the parent
>> scope if it's called from a function that does get called with 2 or
>> more args)
>
> I remember slightly that there once was a discussion about something like
> that. Sounds creepy.
>

Yes it does. I should figure it out this time and write it down somewhere...

And then fix it, but probably with a policy to preserve the subtle old
behavior for a while. Not sure I'll have time to tackle it any time
soon.

>> So.... some of the "needless" variable dereferencing you removed is
>> actually needed.
>>
>> Would you mind reverting those commits, or modifying them such that
>> the new behavior is identical to the older behavior, please?
>
> Sure.
>

Thanks a bunch.

D
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to