Issue #23 invalid

Error: module work from file db/work.d conflicts with another module work from file db/work.d

Anonymous created an issue

{{{ $ xfbuild main.d +omain +v db.work was modified main was modified work was modified module name for file 'main.d': main Modules to be compiled: [work, db.work, main] 2011-08-11 03:21:17,051 Info [root] - Thread 0: compiling 3 modules db/work.d: Error: module work from file db/work.d conflicts with another module work from file db/work.d Build failed: "dmd @xfbuild.7f8f00aeec00.rsp" returned 256

but from dmd it is suceffully compiles: $ dmd main.d db/work.d $ ls main main

$ cat main.d module main;

import db.work;

int main(string[] args) { return 0; }

$ cat db/work.d

struct query { string sql_query; invariant() { assert( sql_query.length > 2 ); } };

string request() { return CURRENT_TIME.sql_query; }

}}}

Comments (3)

  1. Anonymous

    xfbuild says what: Modules to be compiled: [work, db.work, main]

    but it is only 2 files avail: main.d and db/work.d

  2. Log in to comment