gcc 3.4.2 and squid3

From: Franky <franky_at_jasna.tarnow.pl>
Date: Sat, 31 Jul 2004 0:21:24 -0000
Hello.
After last upgrade I have this:
Splay.Po";  else rm -f ".deps/Splay.Tpo"; exit 1;  fi
In file included from ../include/Stack.h:37,
from ../include/splay.h:34,
from Splay.cc:20:
../include/Array.h: In static member function `static void*
Vector<E>::operator
new(size_t)':
../include/Array.h:112: error: there are no arguments to `xmalloc' that
depend
on a template par
ameter, so a declaration of `xmalloc' must be available
../include/Array.h:112: error: (if you use `-fpermissive', G++ will accept
your
code, but allowi
ng the use of an undeclared name is deprecated)
../include/Array.h: In static member function `static void
Vector<E>::operator
delete(void*)':
../include/Array.h:119: error: there are no arguments to `xfree' that depend
on
a template param
eter, so a declaration of `xfree' must be available
../include/Array.h: At global scope:
../include/Array.h:216: error: expected `)' before "const"
../include/Array.h:216: error: expected `;' before "const"
../include/Array.h: In member function `VectorIteratorBase<C>&
VectorIteratorBase<C>::operator++
()':
../include/Array.h:322: error: there are no arguments to `fatal' that depend
on
a template param
eter, so a declaration of `fatal' must be available
In file included from ../include/splay.h:34,
from Splay.cc:20:
../include/Stack.h: In member function `typename Vector<E>::value_type
Stack<S>::pop()':
../include/Stack.h:53: error: `count' undeclared (first use this function)
../include/Stack.h:53: error: (Each undeclared identifier is reported only
once
for each functio
n it appears in.)
../include/Stack.h:56: error: `items' undeclared (first use this function)
../include/Stack.h: In member function `typename Vector<E>::value_type
Stack<S>::top() const':
../include/Stack.h:66: error: `count' undeclared (first use this function)
../include/Stack.h:66: error: `items' undeclared (first use this function)
In file included from Splay.cc:20:
../include/splay.h: In member function `const V&
SplayConstIterator<V>::operator*() const':
../include/splay.h:501: error: there are no arguments to `fatal' that depend
on
a template param
eter, so a declaration of `fatal' must be available
*** Error code 1

Stop in /root/squid3/lib.
*** Error code 1

Stop in /root/squid3/lib.
*** Error code 1

Stop in /root/squid3.

Before upgrade squid3 can be compiled.

best regards
Franek



________________________________________________
http://www.is.net.pl
Received on Fri Jul 30 2004 - 20:19:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC