1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/lang/gauche/files/patch-gc__include__gc_cpp.h
Tilman Keskinoz 29aa0ff696 Merge patches from devel/boehm-gc to included boehm-gc to fix build on
amd64

PR:		97021
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp>
Approved by:	Erik Greenwald <erik@smluc.org>
2006-05-21 19:13:54 +00:00

21 lines
678 B
C

--- ./gc/include/gc_cpp.h.orig Sat Mar 4 12:55:44 2006
+++ ./gc/include/gc_cpp.h Tue May 9 14:38:56 2006
@@ -281,7 +281,7 @@
else
return GC_MALLOC_UNCOLLECTABLE( size );}
-inline void* gc::operator new( size_t size, void *p ) {
+inline void* gc::operator new( size_t, void *p ) {
return p;}
inline void gc::operator delete( void* obj ) {
@@ -299,7 +299,7 @@
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, void *p ) {
return p;}
inline void gc::operator delete[]( void* obj ) {