This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
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> ?
- From: "Max Bowsher" <maxb at ukf dot net>
- To: "Robert Collins" <rbcollins at cygwin dot com>
- Cc: <cygwin-apps at cygwin dot com>
- Date: Fri, 1 Nov 2002 22:45:40 -0000
- 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> ?
- References: <NCBBIHCHBLCMLBLOBONKGEDGDHAA.g.r.vansickle@worldnet.att.net><00e501c28070$040e6560$78d96f83@pomello> <20021101160415.GB772@tishler.net> <1036171971.25732.21.camel@lifelesswks>
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).
Thanks,
Max.