Bug 10200 – An option to generate .di files with version-ed declarations stripped

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-05-29T07:36:57Z
Last change time
2024-12-13T18:07:10Z
Assigned to
No Owner
Creator
QAston
Moved to GitHub: dmd#18590 →

Comments

Comment #0 by qaston — 2013-05-29T07:36:57Z
Currently DMD -H option generates .di files which include all version guards in module with code included. This is potentially error-prone for library users because they have to compile libraries with exactly same build flags as the provider. My proposal is to include additional compile switch which would produce .di files with version guards evaluated.
Comment #1 by robert.schadek — 2024-12-13T18:07:10Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18590 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB