Error: only one main allowed. Previously found main at *

Timoses timosesu at gmail.com
Wed Jul 18 12:37:37 UTC 2018


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)


More information about the Digitalmars-d mailing list