[Issue 6349] New: HTOD needs -od or -of switch
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jul 19 16:33:35 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6349
Summary: HTOD needs -od or -of switch
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
Severity: critical
Priority: P2
Component: htod
AssignedTo: nobody at puremagic.com
ReportedBy: andrej.mitrovich at gmail.com
--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2011-07-19 16:28:17 PDT ---
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.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list