Hi,
I have just found a bug in squid.h:
the #ifndef min is placed in the wrong place (and may be that the error was
mine).
The following is the fix:
Index: squid.h
===================================================================
RCS file: /cvsroot/squid/squid3/src/squid.h,v
retrieving revision 1.10
diff -u -p -r1.10 squid.h
--- squid.h 25 Apr 2003 02:13:46 -0000 1.10
+++ squid.h 25 Apr 2003 21:11:24 -0000
@@ -366,9 +366,9 @@ extern "C"
#include "snprintf.h"
#endif
+#ifndef min
template<class A>
inline A const &
-#ifndef min
min(A const & lhs, A const & rhs)
{
if (rhs < lhs)
Regards
Guido
-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
E-mail: guido.serassio@serassio.it
WWW: http://www.serassio.it
Received on Fri Apr 25 2003 - 15:15:33 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:42 MST