www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 6349] New: HTOD needs -od or -of switch

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: andrej.mitrovich gmail.com



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: -------
Jul 19 2011
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6349


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |major


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 21 2011