June 19, 2018 Error: only one main allowed. Previously found main at * | ||||
---|---|---|---|---|
| ||||
dmd latest version bug? ```sh source/bootstrap.d(4,6): Error: only one main allowed. Previously found main at /tmp/dub_test_root-ad0fb2e3-6be1-4ca8-9153-e4fdd5c1b191.d(10,12) dmd failed with exit code 1. ``` Build logs: https://travis-ci.org/huntlabs/hunt-skeleton/jobs/389884419#L480 |
July 18, 2018 Re: Error: only one main allowed. Previously found main at * | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brian | On Tuesday, 19 June 2018 at 17:16:28 UTC, Brian wrote: > dmd latest version bug? > > ```sh > source/bootstrap.d(4,6): Error: only one main allowed. Previously found main at /tmp/dub_test_root-ad0fb2e3-6be1-4ca8-9153-e4fdd5c1b191.d(10,12) > dmd failed with exit code 1. > ``` > > Build logs: > https://travis-ci.org/huntlabs/hunt-skeleton/jobs/389884419#L480 Did you fix it? Compiles fine for me on dmd version 2.081.0 and 2.080.1. (https://github.com/huntlabs/hunt-skeleton) |
Copyright © 1999-2021 by the D Language Foundation