]> 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>
Sat, 29 Oct 2016 14:31:41 +0000 (17:31 +0300)
commitdb7266bde3cecf73fc62c871f27760fbf69bacca
treef8c15a08058e882ae312667b5685063fed1aca3f
parent4a148cc6794ccd7fe7dcbc2b5664815f5fd0a4a7
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