Added sizeof tests of istream::pos_type and off_type to osgunittests.

Added debuggin messages to endian handling code in Archive::open().
This commit is contained in:
Robert Osfield
2004-11-10 21:28:06 +00:00
parent 3523577235
commit d397b5b90b
2 changed files with 8 additions and 1 deletions

View File

@@ -112,6 +112,10 @@ void sizeOfTest()
#endif
std::cout<<"sizeof(float)=="<<sizeof(float)<<std::endl;
std::cout<<"sizeof(double)=="<<sizeof(double)<<std::endl;
std::cout<<"sizeof(std::istream::pos_type)=="<<sizeof(std::istream::pos_type)<<std::endl;
std::cout<<"sizeof(std::istream::off_type)=="<<sizeof(std::istream::off_type)<<std::endl;
}