>>>>> John Wilson writes:
> ---------
> my_new.cc
> ---------
> #include <stdio.h>
> #include <stdlib.h>
> #include "my_new.h"
> inline void *operator new(size_t size)
> {
> printf("my new was called with size = %u\n", size);
> return malloc(size);
> }
This is stupid. Inline functions are not compiled. You must move this
code in your .h file.
Jean-Marc
--
Jean-Marc Zucconi -- PGP Key: finger [EMAIL PROTECTED] [KeyID: 400B38E9]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message