This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setup Question for Robert: In archive_tar_file.cc,compress_*.cc is min the STL std::min from <algorithm> or the macro from<windows.h> ?


On Sat, 2002-11-02 at 09:45, Max Bowsher wrote:
> Subject: setup Question for Robert: In archive_tar_file.cc, compress_*.cc is
> min the STL std::min from <algorithm> or the macro from <windows.h> ?
> 
> Robert - which one of these is supposed to be used? I couldn't figure it out
> from the source. I ask because macros min & max play havoc with
> libstdc++-v3. I believe that these must either be the std::min algorithm, or
> me must define a macro with a less collision-prone name - say MINIMUM(x,y).

It was whichever was defined by default in 2.95. I'm inclined to go with
the STL one however.

Rob

-- 
---
GPG key available at: http://users.bigpond.net.au/robertc/keys.txt.
---

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]