[Issue 21487] ModuleInfo not found when compiling with -lib and -betterC

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 16 04:23:02 UTC 2022


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

Richard Cattermole <alphaglosined at gmail.com> changed:

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

--- Comment #1 from Richard Cattermole <alphaglosined at gmail.com> ---
The problem here is the inclusion of the object module, you should not include
one for compilation in -betterC.

Without the object.d module, this works correctly.

--


More information about the Digitalmars-d-bugs mailing list