Eliminate 'unused formal parameter' compiler warnings in C++ code (MS VC)
authorIvan Maidanski <ivmai@mail.ru>
Thu, 20 Apr 2017 08:17:20 +0000 (11:17 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 20 Apr 2017 08:17:20 +0000 (11:17 +0300)
commit442bcbfaf2ab0db8bc2890d44f8829224038ecdd
treeba87bd0a7cb1dbf79f38f33103aff922708bbafc
parentfb801d479887aca11867d6f3c7f29d5a0240df2e
Eliminate 'unused formal parameter' compiler warnings in C++ code (MS VC)

* include/gc_allocator.h (GC_ATTR_UNUSED): Remove.
* tests/test_cpp.cc (ATTR_UNUSED): Likewise.
* include/gc_allocator.h (gc_allocator::deallocate,
gc_allocator_ignore_off_page::deallocate,
traceable_allocator::deallocate): Comment out unused argument name
instead of using GC_ATTR_UNUSED.
* include/gc_cpp.h [_MSC_VER && !GC_DEBUG] (operator new): Comment out
unused argument names.
* tests/test_cpp.cc [(MSWIN32 && !__MINGW32__ || MSWINCE)
&& !NO_WINMAIN_ENTRY] (WinMain): Comment out unused argument names
instead of using ATTR_UNUSED.
include/gc_allocator.h
include/gc_cpp.h
tests/test_cpp.cc