else
return GC_MALLOC_UNCOLLECTABLE( size );}
-inline void* gc::operator new( size_t size, void *p ) {
+inline void* gc::operator new( size_t /* size */, void *p ) {
return p;}
inline void gc::operator delete( void* obj ) {
#ifdef GC_PLACEMENT_DELETE
inline void gc::operator delete( void*, void* ) {}
- inline void gc::operator delete( void* p, GCPlacement gcp ) {
+ inline void gc::operator delete( void* p, GCPlacement /* gcp */ ) {
GC_FREE(p);
}
#endif
inline void* gc::operator new[]( size_t size, GCPlacement gcp ) {
return gc::operator new( size, gcp );}
- inline void* gc::operator new[]( size_t size, void *p ) {
+ inline void* gc::operator new[]( size_t /* size */, void *p ) {
return p;}
inline void gc::operator delete[]( void* obj ) {
# ifdef GC_PLACEMENT_DELETE
inline void gc::operator delete[]( void*, void* ) {}
- inline void gc::operator delete[]( void* p, GCPlacement gcp ) {
+ inline void gc::operator delete[]( void* p, GCPlacement /* gcp */ ) {
gc::operator delete(p); }
# endif
#endif /* GC_OPERATOR_NEW_ARRAY */
#ifdef GC_PLACEMENT_DELETE
inline void operator delete (
void *p,
- GCPlacement gcp,
- GCCleanUpFunc cleanup,
- void* clientData )
+ GCPlacement /* gcp */,
+ GCCleanUpFunc /* cleanup */,
+ void* /* clientData */ )
{
GC_FREE(p);
}