www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Autotester FreeBSD: Cycle detected between modules with ctors/dtors

reply "Marc =?UTF-8?B?U2Now7x0eiI=?= <schuetzm gmx.net> writes:
The autotester complains about cycles between module ctors on 
FreeBSD 32/64 for this PR:
https://github.com/D-Programming-Language/phobos/pull/3233

The modules are std.digest.hmac (added in the PR), and 
std.digest.digest. However, neither of them even has a module 
ctor or dtor.

I remember vaguely that there were some problems with cycle 
detection. Is this an instance of it? What can be done about it?
May 25 2015
parent Steven Schveighoffer <schveiguy yahoo.com> writes:
On 5/25/15 6:18 AM, "Marc =?UTF-8?B?U2Now7x0eiI=?= <schuetzm gmx.net>" 
wrote:
 The autotester complains about cycles between module ctors on FreeBSD
 32/64 for this PR:
 https://github.com/D-Programming-Language/phobos/pull/3233

 The modules are std.digest.hmac (added in the PR), and
 std.digest.digest. However, neither of them even has a module ctor or dtor.

 I remember vaguely that there were some problems with cycle detection.
 Is this an instance of it? What can be done about it?
I added my comments, I think I know the issue. -Steve
May 25 2015