Subj : Re: W8037 Non-const function 'function' called for const object To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Thu Mar 03 2005 08:18 am Richard Ulrich wrote: > > (Command-line option to suppress warning = -w-ncf) > > A non-const member function was called for a const object. > >(This is an error, but was reduced to a warning to give existing > > programs a chance to work.) > >Is there any chance of turning this into an error rather than warning, >so that compilation stopps? No, but you could stop on warnings. See -gb and maybe -w! .