Thread overview
[Issue 5879] New: RDMD quits silently on invalid ASM syntax
Apr 24, 2011
Andrej Mitrovic
Apr 24, 2011
kennytm@gmail.com
Feb 20, 2012
yebblies
[Issue 5879] Not all frontend errors use stderr
Feb 20, 2012
yebblies
Mar 14, 2012
yebblies
April 24, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5879

           Summary: RDMD quits silently on invalid ASM syntax
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: andrej.mitrovich@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2011-04-24 09:20:34 PDT ---
module testasm;
void main()
{
    asm {
        mov     ecx, 1;
    }
}

> rdmd testasm.d
>   // no error

> dmd testasm.d
testasm.d(5): undefined identifier 'ecx'

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 24, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5879


kennytm@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
                 CC|                            |kennytm@gmail.com
         OS/Version|Windows                     |All


--- Comment #1 from kennytm@gmail.com 2011-04-24 11:37:02 PDT ---
The problem is ASM errors are written to stdout instead of stderr. Lines printed to stdout are redirected to testasm.d.deps.

The function 'asmerr' in 'iasm.c' should be changed to print to stderr instead of stdout.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 20, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5879


yebblies <yebblies@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |yebblies@gmail.com
            Version|D2                          |D1 & D2
         AssignedTo|nobody@puremagic.com        |yebblies@gmail.com


--- Comment #2 from yebblies <yebblies@gmail.com> 2012-02-20 15:04:01 EST ---
https://github.com/D-Programming-Language/dmd/pull/742

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 20, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5879


yebblies <yebblies@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|RDMD quits silently on      |Not all frontend errors use
                   |invalid ASM syntax          |stderr
           Severity|normal                      |major


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 12, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5879



--- Comment #3 from github-bugzilla@puremagic.com 2012-03-12 01:02:48 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/e2a2f7eea93cb7bf461348e3405946c6cb5fcf16 Merge pull request #742 from yebblies/issue5879

Issue 5879 - Not all frontend errors use stderr

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 14, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5879


yebblies <yebblies@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #4 from yebblies <yebblies@gmail.com> 2012-03-15 00:44:09 EST ---
https://github.com/D-Programming-Language/dmd/commit/4f70b83c09fa3793348f38b3f53e413e64f97c8c

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