pike.git
/
NT
/
tools
/
rntcc
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/NT/tools/rntcc:57:
else return silent_do_cmd(cmd); } string check_errorfile(string errorfile) { object f=Stdio.File(); if(f->open(errorfile,"r")) { string data;
-
write
(data=f->read());
+
werror
(data=f->read());
f->close(); data=replace(data,"\r",""); rm(errorfile); foreach(data/"\n", string line) { if(!strlen(line)) continue; if(search(line,"Warning")!=-1) continue; werror("Error in compilation detected. "+line+"\n"); exit(1); }
pike.git/NT/tools/rntcc:230:
objects+=({tmp}); break; default: sources+=({tmp}); } } if(output) rm(output);
-
string errorfile="
TMP
"+getpid()+".err";
+
string errorfile="
tmp
"+getpid()+".err";
rm(errorfile); // Flags required to make the compiler behave well cflags+=({"-bm","-zq","-sg","-5","-fpi87","-fp3"}); switch(operation) { default: werror("Unknown operation "+operation+".\n"); exit(1);