[Issue 18301] `Error: no object files to link` when passing a ".a" instead of a ".o" => should be supported

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 5 13:17:19 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=18301

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305 at gmail.com
         Resolution|---                         |WONTFIX

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
What would be the result of this? Normally you link a library with your code.
If you simply pass a library to the compiler what should the compiler do? Most
libraries (if not all) don't have a main function so what is the compiler
supposed to do if you provide it with a library?

I think that this behavior should not be supported.

--


More information about the Digitalmars-d-bugs mailing list