Squid 3 build failure on MinGW

From: Serassio Guido <guido.serassio_at_acmeconsulting.it>
Date: Sun, 31 May 2009 11:14:39 +0200

Hi,

I have a little of free time, and I'm trying to build Squid 3 on
MinGW, but I'm getting the following error:

if /bin/sh ../../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I../.. -I../../include -I../../src
-I../../include -I/usr/include/libxml2 -Werror -Wall
-Wpointer-arith -Wwrite-strings -Wcomments -D_FILE_OFFSET_BITS=64 -g
-O2 -mthreads -MT IntRange.lo -MD -MP -MF ".deps/IntRange.Tpo" -c -o
IntRange.lo IntRange.cc; \
then mv -f ".deps/IntRange.Tpo" ".deps/IntRange.Plo"; else rm -f
".deps/IntRange.Tpo"; exit 1; fi
  g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src
-I../../include -I/usr/include/libxml2 -Werror -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -D_FILE_OFFSET_BITS=64 -g -O2 -mthreads
-MT IntRange.lo -MD -MP -MF .deps/IntRange.Tpo -c
IntRange.cc -DDLL_EXPORT -DPIC -o .libs/IntRange.o
../../include/Range.h: In member function `Range<C>
Range<C>::intersection(const Range<C>&) const [with C = int]':
IntRange.cc:92: instantiated from here
../../include/Range.h:77: error: `max' was not declared in this scope
../../include/Range.h:77: error: `min' was not declared in this scope
../../include/Range.h:77: warning: unused variable 'max'
../../include/Range.h:77: warning: unused variable 'min'
make[3]: *** [IntRange.lo] Error 1
make[3]: Leaving directory `/c/work/mgw-3.nt/src/acl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/work/mgw-3.nt/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/c/work/mgw-3.nt/src'
make: *** [all-recursive] Error 1

Someone could help me ?

Regards

Guido

-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio_at_acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Sun May 31 2009 - 09:14:49 MDT

This archive was generated by hypermail 2.2.0 : Sun May 31 2009 - 12:00:02 MDT