/[ascend]/trunk/base/generic/compiler/redirectFile.c
ViewVC logotype

Contents of /trunk/base/generic/compiler/redirectFile.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 451 - (show annotations) (download) (as text)
Wed Apr 5 05:14:20 2006 UTC (18 years, 2 months ago) by johnpye
File MIME type: text/x-csrc
File size: 616 byte(s)
Got the test suite to compile with SCons. Seems that there are some
serious problems still though.
1 #include <stdio.h>
2
3 #include <utilities/ascConfig.h>
4 #include "redirectFile.h"
5 FILE *g_ascend_errors=NULL;
6 FILE *g_ascend_warnings=NULL;
7 FILE *g_ascend_information=NULL;
8
9 void Asc_RedirectCompilerDefault() {
10 g_ascend_errors = stderr; /* error file */
11 g_ascend_warnings = stderr; /* whine file */
12 g_ascend_information = stderr; /* note file */
13 }
14
15 void Asc_RedirectCompilerStreams(FILE *errfile, FILE *warnfile, FILE *infofile)
16 {
17 g_ascend_errors = errfile; /* error file */
18 g_ascend_warnings = warnfile; /* whine file */
19 g_ascend_information = infofile; /* note file */
20 }
21

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22