Squid3 can't build on MS Visualstudio

From: Guido Serassio <serassio@dont-contact.us>
Date: Sat, 30 Nov 2002 19:11:17 +0100

Hi,

It seems that the current Squid3 can't be compiled using Microsoft
VisualStudio, with both 6.0 and .NET versions

Compiling...
cache_cf.cc
c:\work\nt-3.0\src\cf_parser.h(649) : fatal error C1061: compiler limit :
blocks nested too deeply
Error executing cl.exe.

This is what MSDN reports on this error:

Fatal Error C1061
compiler limit : blocks nested too deeply

The code includes blocks that are nested to a level greater than the
compiler limit (128 levels of nesting). Simplify block nesting in the code.

This means that the current if ... elseif ... elseif ... sequence in
cf_parser.h is too long for C++ Microsoft compiler limit. Please note that
in C mode this code compiles fine.

Any hints on how resolve this problem ?

Regard

Guido

-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
E-mail: guido.serassio@serassio.it
WWW: http://www.serassio.it
Received on Sat Nov 30 2002 - 11:11:56 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:18:50 MST