This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/13976] ext/new_allocator.h:81: warning: unused parameter '__h'
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Feb 2004 19:31:02 -0000
- Subject: [Bug libstdc++/13976] ext/new_allocator.h:81: warning: unused parameter '__h'
- References: <20040202103457.13976.wanderer@rsu.ru>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-02 19:30 -------
Subject: Bug 13976
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: paolo@gcc.gnu.org 2004-02-02 19:30:56
Modified files:
libstdc++-v3 : ChangeLog
libstdc++-v3/include/ext: malloc_allocator.h mt_allocator.h
new_allocator.h
Log message:
2004-02-02 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/13976
* include/ext/malloc_allocator.h (malloc_allocator::allocate,
deallocate): Make the second parameter unnamed, to void unused
parameter warnings.
* include/ext/mt_allocator.h (__mt_alloc::allocate): Ditto.
* include/ext/new_allocator.h (new_allocator::allocate,
deallocate): Ditto.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.2224.2.14&r2=1.2224.2.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/ext/malloc_allocator.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3&r2=1.3.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/ext/mt_allocator.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.8&r2=1.8.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/ext/new_allocator.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.2&r2=1.2.4.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13976