This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: /home/wanderer/pkg/gcc/include/g++/new:96: warning: unused parameter `void*ptr'
- From: Phil Edwards <phil at jaj dot com>
- To: Vladimir Merzliakov <wanderer at rsu dot ru>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 26 Jul 2002 15:53:13 -0400
- Subject: Re: /home/wanderer/pkg/gcc/include/g++/new:96: warning: unused parameter `void*ptr'
- References: <000701c233b8$f1e57120$10fcd0c3@npt>
On Thu, Jul 25, 2002 at 12:54:52PM +0400, Vladimir Merzliakov wrote:
> g++ -MD -ansi -Wall -Werror -W -pedantic -Wshadow -Wundef -O -Wuninitiali
[...]
> break with error message:
> /home/wanderer/pkg/gcc/include/g++/new: In function `void operator
> delete(void*, void*)':
> /home/wanderer/pkg/gcc/include/g++/new:96: warning: unused parameter
> `void*ptr'
> gmake: *** [include/WCL/Mud/server/Area.o] Error 1
I'll fix this shortly. In the meantime, you can turn this from an error
back into a warning by removing -Werror from your list of compiler options.
Thanks,
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams