Skip to content

deps: define missing operator delete functions

Checklist
Affected core subsystem(s)

v8

Description of change

Section 3.2 of the C++ standard states that destructor definitions implicitly "use" operator delete functions. Therefore, these operator delete functions must be defined even if they are never called by user code explicitly. http://www.open-std.org/JTC1/SC22/WG21/docs/cwg_defects.html#261

gcc allows them to remain as empty definitions. However, not all compilers allow this.

This pull request creates definitions which if ever called, result in an abort.

Merge request reports

Loading