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 & 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.




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