diff options
Diffstat (limited to '')
-rw-r--r-- | pipermail/nel/2000-November/000013.html | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/pipermail/nel/2000-November/000013.html b/pipermail/nel/2000-November/000013.html new file mode 100644 index 00000000..fde686a0 --- /dev/null +++ b/pipermail/nel/2000-November/000013.html @@ -0,0 +1,93 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Nel] matrix.cpp std::min/max problems?</TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:lecroart%40nevrax.com"> + <LINK REL="Previous" HREF="000011.html"> + <LINK REL="Next" HREF="000015.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Nel] matrix.cpp std::min/max problems?</H1> + <B>Vianney Lecroart</B> + <A HREF="mailto:lecroart%40nevrax.com" + TITLE="[Nel] matrix.cpp std::min/max problems?">lecroart@nevrax.com</A><BR> + <I>Fri, 10 Nov 2000 11:43:48 +0100</I> + <P><UL> + <LI> Previous message: <A HREF="000011.html">[Nel] matrix.cpp std::min/max problems?</A></li> + <LI> Next message: <A HREF="000015.html">[Nel] matrix.cpp std::min/max problems?</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#13">[ date ]</a> + <a href="thread.html#13">[ thread ]</a> + <a href="subject.html#13">[ subject ]</a> + <a href="author.html#13">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>><i> The VC++/STL min/max problem is pretty well known, and is a result of a +</I>><i> very buggy STL implementation in VC++, and some lawsuits. +</I>><i> +</I>><i> Simple answer: Define NOMINMAX in your Build Settings +</I> +ok, this define disables the macro min & max, it's same behavior as doing +#undef min #undef max +but I search min in the VC include directory and subdirectory and there s +*no* min +definition in the STL (no template min) so we have to define our own min & +max +template function in our code... no very cool... + +><i> Longer answer: +</I>><i> +</I><A HREF="http://www.isis.ecs.soton.ac.uk/share/problems/fuzzyClouds/NetMet/netmet/doc">http://www.isis.ecs.soton.ac.uk/share/problems/fuzzyClouds/NetMet/netmet/doc</A> +s/stlhelp.txt +><i> +</I>><i> The STL that ships with Visual C++ was developed by Dinkumware, rather +</I>><i> than by Microsoft. Detailed errata is available here: +</I>><i> <A HREF="http://www.dinkumware.com/">http://www.dinkumware.com/</A> +</I>><i> +</I>><i> Bryce +</I>><i> +</I>><i> On Fri, 10 Nov 2000, Vincent Archer wrote: +</I>><i> > According to Cary Farrier: +</I>><i> > > I just updated from the latest CVS snapshot, added r:\code\net\include +</I>><i> > > to the project settings, however when compiling matrix.cpp in VC++ 6.0 +</I>><i> > > (SP3) the compiler is complaining that 'max is not a member of std'. +</I>><i> > +</I>><i> > Note that, strictly speaking, bug reports should go thru the web +</I>><i> > interface rather than the mailing list. It's a lot easier to manage +</I>><i> > there. Use the mailing list if you can't access the WWW at all +</I>><i> > for some reason (like being buried deep behind 4 firewalls that require +</I>><i> > you to sign in blood to access the outside world). +</I>><i> > +</I>><i> > Bug reported to the developper in charge. +</I>><i> > +</I>><i> +</I>><i> -- +</I>><i> Bryce Harrington +</I>><i> bryce @ neptune.net +</I>><i> +</I>><i> _______________________________________________ +</I>><i> Nel mailing list +</I>><i> <A HREF="mailto:Nel@nevrax.org">Nel@nevrax.org</A> +</I>><i> <A HREF="http://www.nevrax.org/mailman/listinfo.cgi/nel">http://www.nevrax.org/mailman/listinfo.cgi/nel</A> +</I> + +</pre> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI> Previous message: <A HREF="000011.html">[Nel] matrix.cpp std::min/max problems?</A></li> + <LI> Next message: <A HREF="000015.html">[Nel] matrix.cpp std::min/max problems?</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#13">[ date ]</a> + <a href="thread.html#13">[ thread ]</a> + <a href="subject.html#13">[ subject ]</a> + <a href="author.html#13">[ author ]</a> + </LI> + </UL> +</body></html> |