"Betu, Satyanarayana" <betus@xxxxxxxx> writes: > we are using g++ 2.95.3 .Currently we are facing problems with data > type bool.Programs compiling with this compiler are taking bool size > as 4 because of which we are not able to prote this application to > another machines.Do u have any patch for this problem? The C++ standard allows bool to have size 4, so there is no problem in g++; the problem is in your application. However, you might consider upgrading to a current version of g++, where the size of bool is 1 consistently over all architectures. -- Falk