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.win...@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: rus...@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
signature.asc
Description: This is a digitally signed message part