--- bamg.cpp.orig Thu Apr 5 10:08:53 2001 +++ bamg.cpp Fri Dec 19 10:52:55 2003 @@ -18,13 +18,13 @@ #include #include #include -#include +#include #include #include "Meshio.h" -#include +#include #include "Mesh2.h" #include "QuadTree.h" -#include +#include #ifdef __MWERKS__ #define NBVMAX 10000 #else @@ -67,7 +67,7 @@ void forDebug(); -void MeshErrorIO(ios& ) +void MeshErrorIO(std::ios& ) { MeshError(999); exit(1); @@ -139,7 +139,7 @@ const char * datafile = argc ==2 ? argv[1] : "DATA_bamg"; atexit( forDebug); - set_new_handler( &NewHandler); + std::set_new_handler( &NewHandler); if (argc<3) { // for test on the mac @@ -495,10 +495,10 @@ #endif time3 = CPUtime(); if(verbosity> 1) - cout << " Cpu for meshing :" << setw(8) << time2-time1 + cout << " Cpu for meshing :" << std::setw(8) << time2-time1 << "s, for Smoothing " << time3-time2 << "s Nb Vertices/s = " << (Th.nbv) /(time2-time1) - << setw(0) <0) { - cout << " Cpu for meshing with io :" << setw(8) <