/home/wanderer/pkg/gcc/include/g++/new:96: warning: unused parameter `void*ptr'

Vladimir Merzliakov wanderer@rsu.ru
Thu Jul 25 04:17:00 GMT 2002


Compiling my program using current CVS gcc with flags:

g++ -MD -ansi -Wall -Werror  -W -pedantic  -Wshadow  -Wundef -O -Wuninitiali
zed  -Wredundant-decls  -Woverloaded-virtual  -Winline -fexceptions -minline
-all-stringops  -march=i686 -mcpu=pentium3 -fPIC -DPIC -fno-inline -gdwarf-2
 -g3 -I/home/wanderer/work/cpp/include -Iinclude -DDEBUG -o
include/WCL/Mud/server/Area.o -c include/WCL/Mud/server/Area.cc

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

Vladimir





More information about the Gcc-bugs mailing list