aboutsummaryrefslogtreecommitdiff
path: root/pipermail/nel/2000-November/000011.html
blob: d7ac46f3e8bb895d6349e0615f507029df3a0a1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!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:bryce%40neptune.net">
   <LINK REL="Previous"  HREF="000008.html">
   <LINK REL="Next" HREF="000013.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Nel] matrix.cpp std::min/max problems?</H1>
    <B>Bryce Harrington</B> 
    <A HREF="mailto:bryce%40neptune.net"
       TITLE="[Nel] matrix.cpp std::min/max problems?">bryce@neptune.net</A><BR>
    <I>Fri, 10 Nov 2000 02:22:23 -0800 (PST)</I>
    <P><UL>
        <LI> Previous message: <A HREF="000008.html">[Nel] matrix.cpp std::min/max problems?</A></li>
        <LI> Next message: <A HREF="000013.html">[Nel] matrix.cpp std::min/max problems?</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#11">[ date ]</a>
              <a href="thread.html#11">[ thread ]</a>
              <a href="subject.html#11">[ subject ]</a>
              <a href="author.html#11">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>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:  
<A HREF="http://www.isis.ecs.soton.ac.uk/share/problems/fuzzyClouds/NetMet/netmet/docs/stlhelp.txt">http://www.isis.ecs.soton.ac.uk/share/problems/fuzzyClouds/NetMet/netmet/docs/stlhelp.txt</A>

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

Bryce

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


</pre>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI> Previous message: <A HREF="000008.html">[Nel] matrix.cpp std::min/max problems?</A></li>
	<LI> Next message: <A HREF="000013.html">[Nel] matrix.cpp std::min/max problems?</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#11">[ date ]</a>
              <a href="thread.html#11">[ thread ]</a>
              <a href="subject.html#11">[ subject ]</a>
              <a href="author.html#11">[ author ]</a>
         </LI>
       </UL>
</body></html>