Sylvain Pion wrote: >>- if (__mode & ios_base::ate >>+ if ((__mode & ios_base::ate) >> > >I don't understand why these parenthesis are needed. > Neither I! Richard could you possibly clarify a bit this issue? Thanks, Paolo.