Stuck with DMD, and Unit-Threaded
Russel Winder via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Apr 17 01:40:51 PDT 2017
The report below was about using ldc2 on Fedora Rawhide. I get the same
problem using dmd on Debian Sid. So I guess we are looking at Dub (and
likely my use it it and dub.sdl file) as the problem.
On Sun, 2017-04-16 at 09:20 +0100, Russel Winder wrote:
> There are points when you need to ask someone for help…
>
> I am trying to get Dub to build integration tests from test-source as
> a
> separate thing from building unit tests from source. The latter is
> easy
> and works, as does building the application. I cannot however get the
> integration tests to build, I always get something along the lines
> of:
>
> ../../../../../../../tmp/dub_test_root-677ee80a-1e29-44c8-b08c-
> 2fe37eb83633.d(10,12): Error: function D main conflicts with static
> import dub_test_root.main at ../../../../../../../tmp/dub_test_root-
> 677ee80a-1e29-44c8-b08c-2fe37eb83633.d(3,15)
>
> and I haven't a clue. This is almost certainly just a bad dub.sdl
> file,
> but, if anyone can take a look at tell me what I am failing to get
> right, I'd appreciate it.
>
> https://github.com/russel/ApproxGC
>
>
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20170417/15541f5a/attachment.sig>
More information about the Digitalmars-d-learn
mailing list