[Issue 10591] Error: only one main allowed doesn't show location of conflicting main symbols
https://issues.dlang.org/show_bug.cgi?id=10591 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 10591] Error: only one main allowed doesn't show location of conflicting main symbols
https://issues.dlang.org/show_bug.cgi?id=10591 --- Comment #4 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/03a8430a1025475d9020bd2e21fa0de6491b3f57 Merge pull request #6069 from John-Colvin/duplicatemainerror Fix issue 10591 - Error: only one main allowed doesn't show location of conflicting main symbols --
[Issue 10591] Error: only one main allowed doesn't show location of conflicting main symbols
https://issues.dlang.org/show_bug.cgi?id=10591 John Colvinchanged: What|Removed |Added CC||john.loughran.colvin@gmail. ||com --- Comment #3 from John Colvin --- Just ran in to this, I'm actually struggling to find the offending main function in a large codebase (could be in some dependency that's wrongly configured to compile in execultable mode instead of library). Grep doesn't cut it, the compiler should tell me. --
[Issue 10591] Error: only one main allowed doesn't show location of conflicting main symbols
http://d.puremagic.com/issues/show_bug.cgi?id=10591 --- Comment #2 from thelastmamm...@gmail.com 2013-07-10 12:06:22 PDT --- you wrote there: But maybe it doesn't matter all that much, the user can do a global search to find the offending main function. That can be hard in practice (in my cases I auto-generate my main functions to add instrumentation code; or main could be in object file where we don't have source code etc). And user shouldn't have to do such global search when compiler knows this information. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10591] Error: only one main allowed doesn't show location of conflicting main symbols
http://d.puremagic.com/issues/show_bug.cgi?id=10591 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comment #1 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-07-09 20:24:22 PDT --- I guess I should have been more persistent about error messages: https://github.com/D-Programming-Language/dmd/pull/1753#discussion_r3403264 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---