[Nel] matrix.cpp std::min/max problems?

Bryce Harrington bryce@neptune.net
Fri, 10 Nov 2000 02:22:23 -0800 (PST)


Hi Cary, 

The VC++/STL min/max problem is pretty well known, and is a result of a
very buggy STL implementation in VC++, and some lawsuits. 

Simple answer:  Define NOMINMAX in your Build Settings

Longer answer:  
http://www.isis.ecs.soton.ac.uk/share/problems/fuzzyClouds/NetMet/netmet/docs/stlhelp.txt

The STL that ships with Visual C++ was developed by Dinkumware, rather
than by Microsoft.  Detailed errata is available here:
    http://www.dinkumware.com/

Bryce

On Fri, 10 Nov 2000, Vincent Archer wrote:
> According to Cary Farrier:
> > I just updated from the latest CVS snapshot, added r:\code\net\include
> > to the project settings, however when compiling matrix.cpp in VC++ 6.0
> > (SP3) the compiler is complaining that 'max is not a member of std'.
> 
> Note that, strictly speaking, bug reports should go thru the web
> interface rather than the mailing list. It's a lot easier to manage
> there. Use the mailing list if you can't access the WWW at all
> for some reason (like being buried deep behind 4 firewalls that require
> you to sign in blood to access the outside world).
> 
> Bug reported to the developper in charge.
> 

-- 
Bryce Harrington
bryce @ neptune.net