From: Mike N. <ta...@al...> - 2003-10-30 17:57:14
|
Fred Polizo Jr. wrote: > So, you're saying MSVC allows multiple/different global delete operators > in one program? Only to the extent the language allows/mandates. The problem is introduced by linking with libraries that also define global operator delete function(s). That means an overloaded operator new function within "the code" [1] could be used within the context of "the code" code, but if such a library was linked before this module, "the code" would pick up the library's operator delete function. Obvious heap function mismatch and - boom. [1] "the code" is here defined to be "your" (e.g. fb client library) code, as opposed to the library linked with. /Mike |