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 Collins rbcollins@cygwin.com
Sat Nov 2 00:11:00 GMT 2002


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.
---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20021102/c0e5c97d/attachment.sig>


More information about the Cygwin-apps mailing list