diff --git a/src/Lib/Array/array.cxx b/src/Lib/Array/array.cxx index 7ebf470a..1e7549cb 100644 --- a/src/Lib/Array/array.cxx +++ b/src/Lib/Array/array.cxx @@ -163,7 +163,7 @@ TGArray::parse( SGBucket& b ) { for ( int i = 0; i < fitted_size; ++i ) { *fitted_in >> x >> y >> z; fitted_list.push_back( Point3D(x, y, z) ); - cout << " loading fitted = " << Point3D(x, y, z) << endl; + // cout << " loading fitted = " << Point3D(x, y, z) << endl; } } diff --git a/src/Lib/Geometry/poly_support.cxx b/src/Lib/Geometry/poly_support.cxx index e042e93f..b92cbb0e 100644 --- a/src/Lib/Geometry/poly_support.cxx +++ b/src/Lib/Geometry/poly_support.cxx @@ -1233,7 +1233,7 @@ static point_list remove_contour_cycles( const point_list& contour ) { if ( contour[i] == contour[j] && i + 2 > j ) { cout << "detected a small cycle: i = " << i << " j = " << j << endl; - for ( int k = i; k <= j; ++k ) { + for ( unsigned int k = i; k <= j; ++k ) { cout << " " << contour[k] << endl; } // i = j; diff --git a/src/Lib/Polygon/polygon.cxx b/src/Lib/Polygon/polygon.cxx index c0766491..7bc1af82 100644 --- a/src/Lib/Polygon/polygon.cxx +++ b/src/Lib/Polygon/polygon.cxx @@ -73,8 +73,8 @@ void TGPolygon::inherit_elevations( const TGPolygon &source ) { // traverse the dest polygon and build a mirror image but with // elevations from the source polygon - for ( i = 0; i < poly.size(); ++i ) { - for ( j = 0; j < poly[i].size(); ++j ) { + for ( i = 0; i < (int)poly.size(); ++i ) { + for ( j = 0; j < (int)poly[i].size(); ++j ) { Point3D p = poly[i][j]; int index = nodes.find( p ); if ( index >= 0 ) { @@ -89,10 +89,10 @@ void TGPolygon::inherit_elevations( const TGPolygon &source ) { // weren't in the original.) double last = -9999.0; - for ( i = 0; i < poly.size(); ++i ) { + for ( i = 0; i < (int)poly.size(); ++i ) { // go front ways last = -9999.0; - for ( j = 0; j < poly[i].size(); ++j ) { + for ( j = 0; j < (int)poly[i].size(); ++j ) { Point3D p = poly[i][j]; if ( p.z() > -9000 ) { last = p.z();