Menu

#49 Compile static library in Borland C++ Builder 5.0 (3)

open
None
5
2003-12-21
2003-09-04
Anonymous
No

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!

Discussion

  • Nobody/Anonymous

    Modified Borland include file

     
  • T.H.F. Klok

    T.H.F. Klok - 2003-12-21
    • assigned_to: nobody --> t1mpy
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.