The standard error output from programs like DJGPP's gcc is not
captured by Emacs. When compiling a C++ source file using gpp in
Emacs, a compile error results in an abnormal exit code of 2, but the
*Compilation* buffer does not show the exact errors. A similar issue
occurs when the `shell' is accessed; standard error output from GNU
programs is not visible. When the same compilation is carried out
using the Windows Command Prompt, the compilation errors do appear.

The operating system in use is Microsoft Windows Vista Business Edition.


In GNU Emacs 22.1.1 (i386-mingw-nt6.0.6000)
 of 2007-06-02 on RELEASE
Windowing system distributor `Microsoft Corp.', version 6.0.6000
configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Outline

Minor modes in effect:
  shell-dirtrack-mode: t
  show-paren-mode: t
  encoded-kbd-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  view-mode: t

Recent input:
<help-echo> <f11> g p p <return> g p p <backspace>
<backspace> <backspace> r e d i r SPC - e <backspace>
<backspace> <backspace> SPC - - h e l p <return> h
<backspace> g p p SPC - - h e l p <return> r e d i
r SPC <backspace> <return> r e d i r SPC <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<lwindow> g p p SPC + <backspace> | SPC r e d i r SPC
- e SPC t e s t . t x t <return> <up> <down> r e d
i r SPC - e SPC t e s t . t s t <backspace> <backspace>
x t SPC g p p <return> <help-echo> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <help-echo> <down-mouse-1> <mouse-1>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu>
<emacs-problems> C-s s t a n d a r d SPC e r r <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> e r r o r <f3> <f3> <f3> C-g
C-s e r r o r C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s
C-s C-s C-s <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<menu-bar> <help-menu> <report-emacs-bug>

Recent messages:
Loading outline...done
View mode: type C-h for help, h for commands, q to quit.
Mark saved where search started
Loading kmacro...done
Defining kbd macro...
kmacro-start-macro-or-insert-counter: Buffer is read-only: #<buffer PROBLEMS>
Defining kbd macro...
Quit
Mark saved where search started
Loading emacsbug...done