Bug 6349 – HTOD needs -od or -of switch

Status
RESOLVED
Resolution
WONTFIX
Severity
major
Priority
P2
Component
tools
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2011-07-19T16:28:00Z
Last change time
2016-08-27T22:07:02Z
Assigned to
nobody
Creator
andrej.mitrovich

Comments

Comment #0 by andrej.mitrovich — 2011-07-19T16:28:17Z
I can't use my build script for the DWindowsProject to generate headers because it's multithreaded and HTOD works by outputting any converted .h header file to the *current directory*, e.g.: > htod foo\bar.h This puts the bar.d file to the *current directory*. I can't just move this newly generated .d header around because my builder is multithreaded and what ends up happening is multiple translated header files with the same name get overwritten with each other. I need -od or -of for HTOD, just like we have in DMD. I can't use an explicit name because: > htod foo\bar.h foo\bar.d Here's what bar.d has in its contents: /* Converted to D from foo\bar.h by htod */ module foo\bar; That won't compile.
Comment #1 by andrej.mitrovich — 2016-08-27T22:07:02Z
dstep (https://github.com/jacob-carlborg/dstep) should be used instead, marking as wontfix.