Linking problem if optimization is disabled

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 6 Jul 2003 15:28:37 +0200

If optimization is disabled then Squid does not link proper

comm.o: In function `AcceptFD::AcceptFD(void)':
/home/henrik/SRC/squid/commit/src/comm.cc(.gnu.linkonce.t._._12DeferredRead+0x2e):
undefined reference to `DeferredRead::operator delete(void *)'
collect2: ld returned 1 exit status

There is a delete operation declared in the class, but there does not
seem to be any definition of the same. I guess this is an attempt to
block the delete operation, but in such case why does the compiler
want one?

Regards
Henrik
Received on Sun Jul 06 2003 - 07:28:56 MDT

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