D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 17895 - Undefined reference with -inline and static assert
Summary: Undefined reference with -inline and static assert
Status: RESOLVED WORKSFORME
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 Linux
: P1 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-11 14:30 UTC by guus_waals
Modified: 2022-11-23 09:26 UTC (History)
1 user (show)

See Also:


Attachments
Gives linker errors when compiled with "dmd module.d -inline -main" (486 bytes, text/plain)
2017-10-11 14:30 UTC, guus_waals
Details

Note You need to log in before you can comment on or make changes to this issue.
Description guus_waals 2017-10-11 14:30:09 UTC
Created attachment 1661 [details]
Gives linker errors when compiled with "dmd module.d -inline -main"

Tested with "DMD64 D Compiler v2.076.1-179-g5b86f4575"
I attached a small example that causes these undefined references (reduced from a vibe.d module)
Comment 1 RazvanN 2022-11-23 09:26:15 UTC
I cannot reproduce this. Compiling with -main -inline yields a successful compilation using git HEAD.