std.int128 not working with -betterC enabled
Renato
renato at athaydes.com
Wed Dec 20 18:49:45 UTC 2023
On Wednesday, 20 December 2023 at 18:46:41 UTC, Renato wrote:
> ```
> dmd -L-ld_classic -unittest -checkaction=context -run main.d
> Undefined symbols for architecture x86_64:
> "_main", referenced from:
> implicit entry/start for main executable
> (maybe you meant:
> __D4core6thread10threadbase10ThreadBase7sm_mainCQBtQBrQBnQBe,
> __D4core6thread8osthread16_mainThreadStoreG312v )
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to
> see invocation)
> Error: linker exited with status 1
> ```
Ouch! I just forgot `-main` :D but yeah, the error does look
similar!
I can't delete my previous message, it seems, unfortunately...
>
> I am looking forward for the new DMD compiler version to be
> released which fixes the MacOS linker issues!
Well, that part is still true.
More information about the Digitalmars-d-learn
mailing list