[Issue 5573] Compiler (not linker) should generate an error for missing main()

2024-04-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5573

Dlang Bot  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Dlang Bot  ---
dlang/dmd pull request #16021 "Demangle symbols in linker errors" was merged
into master:

- ac8d9556c2dbcdf553f648ab764cf36c0c3243ae by Dennis Korpel:
  Demangle symbols in linker errors

  Fix bugzilla issue 5573

https://github.com/dlang/dmd/pull/16021

--


[Issue 5573] Compiler (not linker) should generate an error for missing main()

2024-01-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5573

Dlang Bot  changed:

   What|Removed |Added

   Keywords||pull

--- Comment #4 from Dlang Bot  ---
@dkorpel created dlang/dmd pull request #16021 "Demangle symbols in linker
errors" fixing this issue:

- Demangle symbols in linker errors

  Fix issue 5573

https://github.com/dlang/dmd/pull/16021

--


[Issue 5573] Compiler (not linker) should generate an error for missing main()

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5573

Iain Buclaw  changed:

   What|Removed |Added

   Priority|P2  |P4

--


[Issue 5573] Compiler (not linker) should generate an error for missing main()

2016-10-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5573

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 5573] Compiler (not linker) should generate an error for missing main()

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5573

Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

Version|D1  D2 |D2

--


[Issue 5573] Compiler (not linker) should generate an error for missing main()

2012-08-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5573


Borden Rhodes incoming-o...@bordenrhodes.com changed:

   What|Removed |Added

 CC||incoming-only@bordenrhodes.
   ||com


--- Comment #3 from Borden Rhodes incoming-o...@bordenrhodes.com 2012-08-28 
18:23:09 PDT ---
I agree that the emphasis should be on clarity of the error message rather than
trying to out-think the programmer. The linker dump, to uninitiated noobs like
me, looks an awful lot like a seg fault or bug with the compiler, not a flaw in
the programmer.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5573] Compiler (not linker) should generate an error for missing main()

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5573


bearophile_h...@eml.cc changed:

   What|Removed |Added

 CC||bearophile_h...@eml.cc


--- Comment #1 from bearophile_h...@eml.cc 2011-02-14 04:04:23 PST ---
See also bug 5215, bug 4680

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5573] Compiler (not linker) should generate an error for missing main()

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5573


Robert Clipsham rob...@octarineparrot.com changed:

   What|Removed |Added

 CC||rob...@octarineparrot.com


--- Comment #2 from Robert Clipsham rob...@octarineparrot.com 2011-02-14 
21:03:52 GMT ---
Another possibility for this (and other linker errors) - given that dmd invokes
the linker, its stderr could be redirected and filtered. The compiler can then
give a nice error for a missing main() function, and also demangle symbol names
without the linker needing modification. This avoids the issue of main() being
in a library, but is also a bit more hacky.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---