]> granicus.if.org Git - gc/commit
Fix 'replacement operator delete cannot be inline' GCC warning (Cygwin)
authorIvan Maidanski <ivmai@mail.ru>
Sat, 29 Oct 2016 14:31:41 +0000 (17:31 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 31 Oct 2016 21:33:49 +0000 (00:33 +0300)
commit057011dd1273d23330ad8b6a56c85467387f0c11
tree1482846e10382ebd700da73b8f3d4777cf269a8b
parent3e54a2810dc2e507970e5cbbfa83da7b5a6505a9
Fix 'replacement operator delete cannot be inline' GCC warning (Cygwin)
(fix commits 83e0a2c3379238)

This commit also eliminates
"operator delete is missing exception specification throw()" compiler
warning.

* gc_cpp.cc (operator delete): Define unconditionally (i.e. for Cygwin
too).
* include/gc_cpp.h [__CYGWIN__]: Do not include "new" header.
* include/gc_cpp.h [__CYGWIN__] (operator delete): Remove (as
replacement function 'operator delete' cannot be declared 'inline').
gc_cpp.cc
include/gc_cpp.h