Brian tuck pointed out to me the other day that I did in
fact have to modify one of the borland include files.
It is called algorith.h and is in the root Borland Include
directory. Here's a diff of the files. The left is the
modified version and the right is the original.
65,70c65
<
< #ifndef __MINMAX_DEFINED
< #define __MINMAX_DEFINED
< #endif
<
< /*#ifdef max
---
> #ifdef max
77c72
< #endif*/
---
> #endif
1614c1609
< /*template <class T, class Compare>
---
> template <class T, class Compare>
1618c1613
< } */
---
> }
1620c1615
< #if !defined(__MINMAX_DEFINED)
---
> #if !defined(__MINMAX_DEFINED)
1628c1623
< /*template <class T, class Compare>
---
> template <class T, class Compare>
1632c1627
< } */
---
> }
I'll also attach the modified file.
And once more my email address is
ross.nicholson@vvstechnology.com.
I am a member of the mailing list I just can't remember
my password. Guess I should just open a new account!
Modified Borland include file