[Bf-committers] msvc6 build broken due to fluid sim

Stephen Swaney sswaney at centurytel.net
Thu Sep 22 15:26:58 CEST 2005


On Thu, Sep 22, 2005 at 01:25:21PM +0200, Nils Thuerey wrote:
> 
> > 2. MSVC6 does not allow -->
> > {
> > for (int i .. )
> > {}
> > for (int i .. )
> > {}
> > }
> That's inconvenient - I think it's valid c++ code, and used extensively
> in the solver.

This *is* valid c++.  It is also a know problem with (at least some)
version of MSVC.

The easist way to work around it is to create anonymous blocks:

{
  int i;
  for( i....)
}


There are also a whole pile of warnings from gcc like

  warning: ISO C++ does not permit "false" in #if
  warning: ISO C++ does not permit "true" in #if

-- 
Stephen Swaney			
sswaney at centurytel.net



More information about the Bf-committers mailing list