Re: cvs commit: squid3/src cache_manager.cc client_side_reply.cc

From: Guido Serassio <guido.serassio@dont-contact.us>
Date: Mon, 20 Feb 2006 13:49:18 +0100

Hi,

At 00.37 20/02/2006, Reuben Farrelly wrote:
>>wessels 2006/02/17 13:15:35 MST
>> Modified files:
>> src cache_manager.cc
>> client_side_reply.cc errorpage.cc ftp.cc
>> http.cc internal.cc mime.cc net_db.cc
>> store.cc store_digest.cc urn.cc whois.cc Log:
>> Replaced the single-line wrapper function storeEntryReplaceObject
>> with direct calls to StoreEntry->replaceHttpReply();
>
>
>Seeing this in squid-3-cvs: (may have been caused by the above commit)
>
>g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\"
>-I. -I. -I../include -I. -I. -I../include -I../include
>-I../lib/libTrie/include -I../lib/cppunit-1.10.0/include -I
>../lib/cppunit-1.10.0/include -I/usr/kerberos/include -Werror -Wall
>-Wpointer-arith -Wwrite-strings -Wcomments -D_REENTRANT -g -O2 -c
>-o ftp.o ftp.cc
>ftp.cc:202: error: extra qualification 'FtpStateData::' on member
>'writeCommand'
>make[3]: *** [ftp.o] Error 1
>make[3]: Leaving directory `/usr/src/squid/squid-3.0/src'
>make[2]: *** [all-recursive] Error 1
>
>Can you take a look please? This is with gcc version 4.1.0 20060214
>(Red Hat 4.1.0-0.27).

It should be fixed now.

Into FtpStateData class declaration:

- void FtpStateData::writeCommand(const char *buf);
+ void writeCommand(const char *buf);

I'm wondering why only gcc 4.1 don't like this ... :-(

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@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Mon Feb 20 2006 - 05:49:26 MST

This archive was generated by hypermail pre-2.1.9 : Tue Feb 28 2006 - 12:00:05 MST