delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/06/30/17:19:10

Date: Fri, 01 Jul 1994 10:09:07 EDT
From: PHILIP QUAIFE <philip AT irl DOT chch DOT cri DOT nz>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: RFC: Problems with GO32=2r1 and GCC error messages.

When using GO32=2r1 to redirect stderr so that I can pipe the error messages
from gcc into a file, Errors that occurr during the CPP phase do not get
written so the screen (or redirected file)

IE.
	#include <nosuchfile.z>
	#define XYZZY "On closed string

If 2r1 is defined then the compile stops and no error.

I am assuming that either go32 or gcc is not flushing stderr or assuming it is
unbuffered.

Can someone confirm if this is a generic problem or just something with
my particular PC setup.

(Running go32 1.11m5 gcc 2.5.7?, novell 3.11 msdos5.0)
PS:
 I ran CPP <xyzzy.c and the error was displayed. But GCC -c xzzy.c did not.

Thanks

-
Philip

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019