Kaydet (Commit) 9375f614 authored tarafından Oliver Bolte's avatar Oliver Bolte

INTEGRATION: CWS sdk08 (1.6.42); FILE MERGED

2003/09/16 13:42:42 jsc 1.6.42.1: #111025# warning support
üst 0f99fe2b
......@@ -2,9 +2,9 @@
*
* $RCSfile: idlcmain.cxx,v $
*
* $Revision: 1.6 $
* $Revision: 1.7 $
*
* last change: $Author: jsc $ $Date: 2002-11-13 17:24:54 $
* last change: $Author: obo $ $Date: 2003-10-20 13:07:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -93,6 +93,12 @@ int SAL_CALL main( int argc, char** argv )
fprintf(stdout, "%s: compile '%s' ... \n",
options.getProgramName().getStr(), files[i].getStr());
nErrors = compileFile(sysFileName);
if ( idlc()->getWarningCount() )
fprintf(stdout, "%s: detected %d warnings compiling file '%s'\n",
options.getProgramName().getStr(), idlc()->getWarningCount(),
files[i].getStr(), options.prepareVersion().getStr());
if ( nErrors )
{
OString strippedFileName(sysFileName.copy(sysFileName.lastIndexOf(SEPARATOR) + 1));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment