This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
RE: setup & gcc3 WORKING :-) [Decision required on modification to setup (min/max macros]
- From: "Gary R. Van Sickle" <g dot r dot vansickle at worldnet dot att dot net>
- To: <cygwin-apps at cygwin dot com>
- Date: Tue, 29 Oct 2002 19:06:47 -0600
- Subject: RE: setup & gcc3 WORKING :-) [Decision required on modification to setup (min/max macros]
> OK! I've successfully compiled setup with gcc3. It's 100KB larger (comparing
> stripped binaries), but hopefully upx will nullify most of that.
>
> I want to get feedback on the best way to properly get around a problem I
> have kludged my way around:
>
> The problem is: Certain .cc files in setup use min/max macros, and expect
> them to be defined in windows.h.
[snip]
I just included <algorithm>, which contains min and max templates, and had no
problem compiling those files. I haven't gotten to the link stage though....
--
Gary R. Van Sickle
Brewer. Patriot.