www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10050] New: Regression (git-head): RDMD no longer emits error messages from DMD

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10050

           Summary: Regression (git-head): RDMD no longer emits error
                    messages from DMD
           Product: D
           Version: D2
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: andrej.mitrovich gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-05-09
11:23:29 PDT ---
test.d:

----
void main()
{
    foobar;
}
----

2.062:
$ rdmd --force test.d
 test.d(3): Error: undefined identifier foobar
 Failed: "dmd" "-v" "-o-" "test.d" "-I."
git-head: $ rdmd --force test.d
 Failed: ^"dmd^" ^"-v^" ^"-o-^" ^"test.d^" ^"-I.^"
Tested on Win7 x64. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 09 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10050



--- Comment #1 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-05-09
11:29:07 PDT ---
I can also recreate this with the RDMD binary from 2.062, so something about
DMD had to have changed. Has it recently switched emitting errors from stdout
to stderr or vice-versa? That could explain int.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 09 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10050



--- Comment #2 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-05-09
11:29:19 PDT ---
(In reply to comment #1)
 That could explain int.
s/int/it. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 09 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10050



--- Comment #3 from Kenji Hara <k.hara.pg gmail.com> 2013-05-10 00:06:37 PDT ---
(In reply to comment #1)
 I can also recreate this with the RDMD binary from 2.062, so something about
 DMD had to have changed. Has it recently switched emitting errors from stdout
 to stderr or vice-versa? That could explain it.
This is changed with: https://github.com/D-Programming-Language/dmd/pull/1959 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 10 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10050


yebblies <yebblies gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |yebblies gmail.com
         OS/Version|Windows                     |All


--- Comment #4 from yebblies <yebblies gmail.com> 2013-05-10 17:22:03 EST ---
https://github.com/D-Programming-Language/dmd/pull/2001

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 10 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10050



--- Comment #5 from github-bugzilla puremagic.com 2013-05-10 00:52:26 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/2f19459aba138966b5c66fb242259505fa29f740
Fix Issue 10050 - Replace stdmsg with stderr

https://github.com/D-Programming-Language/dmd/commit/72014d3476c69d148d720a7fbb701ceda60a453c
Merge pull request #2001 from yebblies/stdmsgerr

[REG2.063a] Issue 10050 - Replace stdmsg with stderr

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 10 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10050


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

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


--- Comment #6 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-05-10
02:36:48 PDT ---
Thanks, I can confirm it's fixed now.

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