[ros-diffs] [royce] 17518: added some verbosity

royce at svn.reactos.com royce at svn.reactos.com
Wed Aug 24 22:06:58 CEST 2005


added some verbosity
standardized back on printf from cout
fixed loop variable conflict
Modified: trunk/reactos/tools/rbuild/backend/msvc/msvc.cpp
Modified: trunk/reactos/tools/rbuild/backend/msvc/msvcmaker.cpp
  _____  

Modified: trunk/reactos/tools/rbuild/backend/msvc/msvc.cpp
--- trunk/reactos/tools/rbuild/backend/msvc/msvc.cpp	2005-08-24
19:58:07 UTC (rev 17517)
+++ trunk/reactos/tools/rbuild/backend/msvc/msvc.cpp	2005-08-24
20:06:54 UTC (rev 17518)
@@ -61,7 +61,7 @@

 
 	string filename = ProjectNode.name + ".dsw";
 	
-	cout << "Creating MSVC project: " << filename << endl;
+	printf ( "Creating MSVC workspace: %s\n", filename.c_str() );
 
 	ProcessModules();
 
@@ -69,7 +69,7 @@
 
 	if ( !m_dswFile )
 	{
-		cout << "Could not open file." << endl;
+		printf ( "Could not create file '%s'.\n",
filename.c_str() );
 		return;
 	}
 	_generate_wine_dsw ( m_dswFile );
@@ -101,7 +101,7 @@
 	// The MSVC build still needs the mingw backend.
 	//ProcessModules();
 
-	cout << "Done." << endl << endl;
+	printf ( "Done.\n" );
 
 	/*cout << "Don't expect the MSVC backend to work yet. "<< endl
<< endl;
 
  _____  

Modified: trunk/reactos/tools/rbuild/backend/msvc/msvcmaker.cpp
--- trunk/reactos/tools/rbuild/backend/msvc/msvcmaker.cpp
2005-08-24 19:58:07 UTC (rev 17517)
+++ trunk/reactos/tools/rbuild/backend/msvc/msvcmaker.cpp
2005-08-24 20:06:54 UTC (rev 17518)
@@ -20,6 +20,7 @@

 	const bool wine = false;
 
 	string dsp_file = DspFileName(module);
+	printf ( "Creating MSVC project: '%s'\n", dsp_file.c_str() );
 	FILE* OUT = fopen ( dsp_file.c_str(), "w" );
 
 	vector<string> imports;
@@ -553,9 +554,9 @@
 	fprintf ( OUT, "\n" );
 	fprintf ( OUT, "# PROP Default_Filter
\"cpp;c;cxx;rc;def;r;odl;idl;hpj;bat\"\n" );
 
-	for ( i = 0; i < source_files.size(); i++ )
+	for ( size_t isrcfile = 0; isrcfile < source_files.size();
isrcfile++ )
 	{
-		string source_file = DosSeparator(source_files[i]);
+		string source_file =
DosSeparator(source_files[isrcfile]);
 
 		if ( strncmp ( source_file.c_str(), ".\\", 2 ) )
 		{
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050824/beee1cc1/attachment.html


More information about the Ros-diffs mailing list